

/* Start:/local/components/trigran/trigran.booking/templates/pool_form/style.css?17798013057354*/
:root {
    --primary-color: #259297;
    --primary-dark: #1c7377;
    --primary-light: #2db0b6;
    --gray-bg: #f8f9fa;
    --border-color: #e9ecef;
}

* {
    font-family: inherit;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f2f5 100%);
}

/* Flat стиль */
.form-card {
    background: white;
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

.form-card .card-header {
	background: #dbeff0;
	border-bottom: 2px solid var(--primary-color);
	padding: 1.25rem 1.5rem;
	font-weight: 600;
	font-size: 1.2rem;
	display: flex;
	justify-content: д;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	  color: var(--primary-color);
}

.form-control, .form-select {
	border: 1px solid var(--border-color);
	border-radius: 0;
	padding: 0.6rem 0.75rem;
	transition: all 0.2s ease;
	background: whitesmoke;
}

.form-card .card-header #currentDateDisplay {
	font-size: 1.2rem;
}

.form-card .card-body {
    padding: 1.5rem;
}

/* Поля ввода */
.form-control, .form-select {
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 0.6rem 0.75rem;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 146, 151, 0.1);
}

.form-control.error {
    border-color: #dc3545;
}

/* Стандартные чекбоксы и радио */
.form-check {
    margin-bottom: 0.5rem;
}

.form-check-input {
    margin-top: 0.2rem;
}

/* Badge для типа дня */
.day-badge-rect {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    background: var(--gray-bg);
    border-left: 3px solid;
    margin-left: 10px;
}

.day-badge-rect.weekday {
	border-left-color: #28a745;
	background: #e8f5e9;
	color: #155724;
	font-size: 1.2rem;
}

.day-badge-rect.weekend {
    border-left-color: #fd7e14;
    background: #fff3e0;
    color: #856404;
}

/* Тариф карточка */
.tariff-card {
    background: var(--gray-bg);
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border-color);
	display: none;
}

.tariff-card-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-color);
}

.tariff-card-time {
    font-size: 0.8rem;
    color: #6c757d;
}

.tariff-card-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.tariff-note {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.important-frame {
    background: #fff3cd;
    border-left: 3px solid #ffc107;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    margin-top: 0.75rem;
}

.info-box-blue {
    background: #e3f2fd;
    border-left: 3px solid var(--primary-color);
    padding: 0.75rem;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.warning-box {
    background: #f8d7da;
    border-left: 3px solid #dc3545;
    padding: 0.75rem;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.error-message {
    color: #dc3545;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.required-star {
    color: #dc3545;
    font-size: 0.9rem;
}

/* Cart стиль */
.cart-container {
    background: var(--gray-bg);
    padding: 1rem;
    margin-top: 1rem;
}

.cart-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.cart-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
}

/* Нижняя панель */
.floating-bottom-bar {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.total-price {
    font-size: 1.2rem;
    font-weight: 600;
}

.total-price span {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Кнопки в flat стиле */
.btn-main {
    background: var(--primary-color);
    border: none;
    border-radius: 0;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    color: white;
    transition: all 0.2s ease;
}

.btn-main:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-main:disabled {
    background: #adb5bd;
    opacity: 0.7;
    cursor: not-allowed;
}

/* Разделители */
hr {
    margin: 1rem 0;
    border-color: var(--border-color);
}

/* SVG иконки */
.icon-svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

.card-header .icon-svg {
    margin-right: 8px;
}

.date-clickable {
    cursor: pointer;
}

.date-clickable input {
    cursor: pointer;
}

/* Стили для календаря */
input[type="date"] {
    position: relative;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    padding: 5px;
}

/* Медиа-запросы */
@media (max-width: 460px) {
.form-card .card-header #currentDateDisplay {
  font-size: 1rem;
}

.day-badge-rect.weekday {
  font-size: 0.9rem;
}

.form-card .card-header {
  padding: 1.1rem 1.2rem;
}

#tariffBlock .icon-svg {
  display: none;
}

}
@media (max-width: 768px) {
    body {
        padding: 1rem 0;
    }
    .floating-bottom-bar {
        flex-direction: column;
    }
    .btn-main {
        width: 100%;
    }
	
	.form-control, .form-select {
	font-size: 12px;
}
}

/* Стили для ошибок и сообщений */
.error-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 15px 20px;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 400px;
    animation: slideIn 0.3s ease;
}

.error-notification .error-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #721c24;
}

.error-notification .error-text {
    color: #721c24;
    font-size: 14px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Индикатор загрузки */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* End */
/* /local/components/trigran/trigran.booking/templates/pool_form/style.css?17798013057354 */
