/* Основные стили */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #fafafa;
    min-height: 100vh;
    color: #333;
}

/* Шапка */
.header {
    position: static; /* скроллится вместе со страницей */
    background: rgb(248, 249, 254);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    padding: 8px 0; /* компактная высота */
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.25rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

/* Размер логотипа фиксированный по высоте, пропорции сохраняются */
.logo img,
.logo-img {
    height: 56px;
    max-height: 56px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.city-select {
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    background: white;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-select:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.city-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.nav a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #333;
}

/* Основной контент */
.main-content {
    margin-top: 0; /* хедер не перекрывает следующий блок */
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Героическая секция */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #667eea;
    position: relative;
    overflow: hidden;
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.hero-button {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.hero-button-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    color: #5a6fd8;
}

.hero-button-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-button-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Секции контента */
.content-section {
    background: white;
    margin: 2rem 0;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .content-section {
        padding: 1rem;
        margin: 1rem 0;
        border-radius: 12px;
    }
}

/* Секция клиник использует общие стили content-section */

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Загрузка */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Модальное окно подтверждения города */
#city-confirmation-modal {
    z-index: 10000;
}

#city-confirmation-modal .uk-modal-dialog {
    margin: 50px auto;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#city-confirmation-modal .uk-modal-body {
    padding: 40px 30px;
}

#city-confirmation-modal #city-modal-no {
    border: 2px solid #ddd !important;
    background: white !important;
    color: #333 !important;
    font-weight: 500 !important;
    transition: all 0.3s ease;
}

#city-confirmation-modal #city-modal-no:hover {
    border-color: #999 !important;
    background: #f5f5f5 !important;
}

#city-confirmation-modal #city-modal-yes {
    background: #667eea !important;
    color: white !important;
    font-weight: 500 !important;
    border: none !important;
    transition: all 0.3s ease;
}

#city-confirmation-modal #city-modal-yes:hover {
    background: #5568d3 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    #city-confirmation-modal .uk-modal-dialog {
        margin: 20px auto;
        max-width: 90%;
        padding: 20px;
    }
    
    #city-confirmation-modal .uk-modal-body {
        padding: 30px 20px;
    }
    
    #city-confirmation-modal #city-modal-no,
    #city-confirmation-modal #city-modal-yes {
        min-width: 100px !important;
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}

/* Empty State - заглушки для пустых состояний */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
}

.empty-state-icon {
    font-size: 80px;
    margin-bottom: 1.5rem;
    opacity: 0.6;
    display: block;
    animation: fadeInScale 0.5s ease-out;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.empty-state-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 0.6;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .empty-state {
        padding: 3rem 1.5rem;
    }
    
    .empty-state-icon {
        font-size: 60px;
    }
    
    .empty-state-title {
        font-size: 1.25rem;
    }
    
    .empty-state-description {
        font-size: 0.9rem;
    }
}

/* Стили для растянутых карточек врачей */
.doctors-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .doctors-cards {
        gap: 15px;
        width: 100%;
    }
}

.doctor-card-extended {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    margin: 0 20px;
}

.doctor-card-extended:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.doctor-photo-section {
    position: relative;
    padding: 20px;
}

.doctor-photo-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.doctor-photo-placeholder-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-photo-placeholder-large .uk-icon {
    font-size: 50px;
    color: #999;
}


.rating-section-photo {
    text-align: center;
    margin-top: 15px;
}

.rating-section-photo .stars-large {
    margin-bottom: 5px;
}

.rating-section-photo .rating-text {
    color: #666;
    font-size: 12px;
}

.doctor-details-section {
    padding: 20px;
}

.speciality-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 10px;
}

.doctor-name-large {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
}

.experience-info {
    color: #666;
    font-size: 16px;
    margin-bottom: 15px;
}

.price-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}


.price-main {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.price-original {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-top: 4px;
}

.discount-badge {
    background: #9c27b0;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 8px;
    display: inline-block;
}


.booking-section {
    padding: 20px;
    background: #f8f9fa;
    border-left: 1px solid #e9ecef;
}

.clinic-name-large {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.clinic-address-large {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.metro-info {
    margin-bottom: 20px;
}

.metro-item-large {
    color: #666;
    font-size: 14px;
}

.booking-button {
    width: 100%;
    background: white;
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 12px 24px;
    color: #667eea;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.booking-button:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.load-more-section {
    text-align: center;
    margin-top: 30px;
    display: block;
}

.load-more-button {
    background: white;
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 16px;
    color: #667eea;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.load-more-button:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.load-more-button:active {
    transform: translateY(0);
}

.load-more-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    border-color: #e9ecef;
    color: #6c757d;
    background: white;
    box-shadow: none;
}

.stars {
    margin-bottom: 5px;
}

.star {
    color: #ddd;
    font-size: 14px;
    margin-right: 2px;
}

.star.filled {
    color: #ff6b6b;
}

.star.half {
    color: #ff6b6b;
    position: relative;
}

.star.half::after {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #ddd;
}

/* Подвал */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    /* Хедер: лого сверху, навигация под ним, всё по центру */
    .header-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
    .nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .city-select {
        width: 100%;
        max-width: 100%;
        margin: 0.5rem 0 0 0;
        font-size: 14px;
    }

    .logo img,
    .logo-img {
        height: 42px;
        max-height: 42px;
    }

    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        width: 100%;
        padding: 0;
    }
    
    .hero-button {
        width: 100%;
        max-width: none;
        justify-content: center;
        box-sizing: border-box;
    }
    
    .hero-stats {
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .doctor-card-extended {
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .logo img,
    .logo-img {
        height: 36px;
        max-height: 36px;
    }

    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .rating-section-photo .rating-text {
        font-size: 11px;
    }
    
    .doctor-photo-large,
    .doctor-photo-placeholder-large {
        width: 80px;
        height: 80px;
    }
    
    .doctor-photo-placeholder-large .uk-icon {
        font-size: 30px;
    }
    
    .doctor-name-large {
        font-size: 20px;
    }
    
    .doctor-details-section {
        padding: 15px;
    }
    
    .booking-section {
        padding: 15px;
        border-left: none;
        border-top: 1px solid #e9ecef;
    }
    
    .uk-width-1-3\@m {
        width: 100% !important;
    }
    
    .price-main {
        font-size: 18px;
    }
    
    .booking-button {
        font-size: 14px;
        padding: 12px 20px;
    }
}

/* Мобильная перестройка карточек врача: всё в столбик */
@media (max-width: 768px) {
    .doctor-card-extended { 
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .doctor-card-extended .uk-grid > [class^="uk-width"],
    .doctor-card-extended .uk-grid > [class*=" uk-width"],
    .doctor-card-extended .uk-grid > [class*="@m"] {
        width: 100% !important;
        padding-left: 0;
    }
    .doctor-photo-section { text-align: center; }
    .doctor-photo-large, .doctor-photo-placeholder-large { margin: 0 auto; display: block; }
    .doctor-details-section { padding: 15px; text-align: left; }
    .price-section { margin-top: 12px; }
    .booking-section { border-left: none; border-top: 1px solid #e9ecef; padding: 15px; }
    .clinic-name-large, .clinic-address-large, .metro-info { text-align: left; }
    .booking-button {
        width: 100%;
        font-size: 14px;
        padding: 12px 20px;
        border-width: 2px;
        background: #fff;
        color: #667eea;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        text-transform: none;
    }
}

/* Стили для модального окна записи */
.booking-modal-content {
    padding: 0;
}

.booking-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 30px 0;
    text-align: center;
}

.booking-doctor-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.booking-doctor-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.booking-doctor-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-doctor-photo .uk-icon {
    font-size: 24px;
    color: #999;
}

.booking-doctor-details h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.booking-doctor-speciality {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 5px;
}

.booking-doctor-clinic {
    color: #666;
    font-size: 14px;
}

.booking-section {
    margin-bottom: 30px;
}

.booking-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
}

.booking-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0 0 15px 0;
}

/* Выбор клиник */
.booking-clinics {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-clinic-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.booking-clinic-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

.booking-clinic-card.selected {
    border-color: #667eea;
    background: #f8f9ff;
}

.booking-clinic-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.booking-clinic-address {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}


/* Выбор дат */
.booking-dates {
    margin-bottom: 20px;
}

.booking-dates-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.booking-dates-scroll::-webkit-scrollbar {
    display: none;
}

.booking-date-item {
    min-width: 120px;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    white-space: nowrap;
}

.booking-date-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.booking-date-item.selected {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.booking-date-day {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.booking-date-weekday {
    font-size: 14px;
    opacity: 0.8;
}

/* Выбор времени */
.booking-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.booking-time-slot {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-weight: 500;
}

.booking-time-slot:hover {
    border-color: #667eea;
    transform: translateY(-1px);
}

.booking-time-slot.selected {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.booking-time-slot.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
}

/* Форма */
.booking-form {
    max-width: none;
}

.booking-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.booking-form-group {
    display: flex;
    flex-direction: column;
}

.booking-form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.booking-form-group input,
.booking-form-group select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.booking-form-group input:focus,
.booking-form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.booking-form-group input:invalid {
    border-color: #dc3545;
}

/* Чекбокс */
.booking-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

.booking-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

/* Кнопки действий */
.booking-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

/* Стили для кнопок на странице записи (внутри .booking-actions) */
.booking-actions .booking-button {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    flex: 1;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

.booking-actions .booking-button-primary {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.booking-actions .booking-button-primary:hover {
    background: #5a6fd8;
    border-color: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.booking-actions .booking-button-secondary {
    background: white;
    border-color: #e9ecef;
    color: #666;
}

.booking-actions .booking-button-secondary:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.booking-actions .booking-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .booking-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .booking-actions .booking-button {
        width: 100%;
    }
    
    .booking-dates-scroll {
        gap: 8px;
    }
    
    .booking-date-item {
        min-width: 100px;
        padding: 12px 16px;
    }
    
    .booking-time-slots {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
    }
    
    .booking-time-slot {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Стили для полноэкранной страницы записи */
.booking-header {
    background: white !important;
    border-bottom: 1px solid #e9ecef;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.booking-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.booking-back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-back-button:hover {
    background: #f8f9ff;
    color: #5a6fd8;
    transform: translateY(-2px);
}

.booking-page-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.booking-header-spacer {
    width: 120px; /* Для центрирования заголовка */
}

.booking-main {
    min-height: calc(100vh - 80px);
    background: #f8f9fa;
    padding: 30px 0;
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.booking-doctor-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.booking-doctor-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.booking-doctor-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.booking-doctor-photo .uk-icon {
    font-size: 32px;
    color: #999;
}

.booking-doctor-details h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.booking-doctor-speciality {
    color: #667eea;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 12px;
}

.booking-doctor-info-row {
    display: flex;
    gap: 20px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.booking-doctor-rating,
.booking-doctor-experience,
.booking-doctor-price {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.booking-doctor-clinic {
    color: #666;
    font-size: 16px;
}

.booking-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.booking-loading p {
    margin-top: 15px;
    font-size: 16px;
}

.booking-error {
    text-align: center;
    padding: 40px;
    color: #dc3545;
}

.booking-error h3 {
    margin: 15px 0 10px 0;
    color: #dc3545;
}

.booking-error p {
    margin-bottom: 20px;
    color: #666;
}

.booking-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.booking-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 25px 0;
}

.booking-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
}

/* Адаптивность для полноэкранной страницы */
@media (max-width: 768px) {
    .booking-header-content {
        padding: 0 15px;
    }
    
    .booking-page-title {
        font-size: 20px;
    }
    
    .booking-container {
        padding: 0 15px;
    }
    
    .booking-doctor-section,
    .booking-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .booking-doctor-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .booking-doctor-details h2 {
        font-size: 24px;
    }
    
    .booking-doctor-speciality {
        font-size: 16px;
    }
    
    .booking-doctor-info-row {
        justify-content: center;
        gap: 15px;
    }
    
    .booking-section-title {
        font-size: 20px;
    }
    
    .booking-header-spacer {
        width: 80px;
    }
}

.booking-no-slots {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.booking-no-slots .uk-icon {
    color: #ccc;
    margin-bottom: 20px;
}

.booking-no-slots h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.5em;
    font-weight: 600;
}

.booking-no-slots p {
    margin: 15px 0;
    line-height: 1.6;
    font-size: 1.1em;
}

.booking-no-slots ul {
    text-align: left;
    display: inline-block;
    margin: 15px 0;
    padding-left: 20px;
}

.booking-no-slots li {
    margin: 8px 0;
    line-height: 1.5;
}

.booking-no-slots .booking-button {
    margin: 10px;
    display: inline-block;
}

/* Стили для ссылки на политику конфиденциальности */
.privacy-link {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Стили для модального окна с политикой конфиденциальности */
.privacy-content {
    max-height: 60vh;
    overflow-y: auto;
    padding: 20px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.privacy-content h3 {
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.privacy-content h3:first-child {
    margin-top: 0;
}

.privacy-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.privacy-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.privacy-content li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #555;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.privacy-content strong {
    color: #333;
    font-weight: 600;
}

/* Адаптивность для модального окна политики конфиденциальности */
@media (max-width: 768px) {
    /* Стили для модального окна с политикой конфиденциальности */
    /* Применяем к модальным окнам, содержащим .privacy-content */
    .uk-modal-dialog .privacy-content {
        max-height: calc(100vh - 150px);
        padding: 15px 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Стили для самого модального окна на мобильных */
    .uk-modal-dialog {
        margin: 10px !important;
        max-width: calc(100vw - 20px) !important;
        width: calc(100vw - 20px) !important;
        box-sizing: border-box !important;
    }
    
    .uk-modal-body {
        padding: 15px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .privacy-content {
        max-height: calc(100vh - 150px);
        padding: 15px 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .privacy-content h2,
    .uk-modal-title {
        font-size: 1.3rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .privacy-content h3 {
        font-size: 1.1rem !important;
        margin-top: 20px;
        margin-bottom: 12px;
    }
    
    .privacy-content p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .privacy-content ul,
    .privacy-content ol {
        padding-left: 18px;
        margin-bottom: 12px;
    }
    
    .privacy-content li {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .privacy-content a {
        word-break: break-all;
    }
}

/* Стили для уведомления о cookies */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-consent-text {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
}

.cookie-consent-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-consent-message {
    flex: 1;
}

.cookie-consent-message p {
    margin: 0;
    color: #555;
    line-height: 1.5;
    font-size: 14px;
}

.cookie-policy-link {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cookie-policy-link:hover {
    color: #0056b3;
    text-decoration: none;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-button {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 120px;
}

.cookie-button-accept {
    background: #667eea;
    color: white;
}

.cookie-button-accept:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* Стили для модального окна с политикой cookies */
.cookie-policy-content {
    max-height: 60vh;
    overflow-y: auto;
    padding: 20px 0;
}

.cookie-policy-content h3 {
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
}

.cookie-policy-content h3:first-child {
    margin-top: 0;
}

.cookie-policy-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.cookie-policy-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.cookie-policy-content li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #555;
}

.cookie-policy-content strong {
    color: #333;
    font-weight: 600;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .cookie-consent-text {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-consent-actions {
        justify-content: center;
    }
    
    .cookie-button {
        flex: 1;
        min-width: auto;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Стили для карточек клиник */
.clinic-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.clinic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.clinic-card .uk-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.clinic-card .clinic-features {
    margin-top: auto;
}

.clinic-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.rating-stars {
    font-size: 14px;
    line-height: 1;
}

.star {
    color: #ffc107;
    margin-right: 1px;
}

.star-empty {
    color: #e0e0e0;
}

.star-half {
    color: #ffc107;
    opacity: 0.7;
}

.rating-value {
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.clinic-address,
.clinic-metro,
.clinic-schedule {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.clinic-address span[uk-icon],
.clinic-metro span[uk-icon],
.clinic-schedule span[uk-icon] {
    color: #007bff;
    width: 16px;
    height: 16px;
}

.clinic-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    min-height: 32px;
}

.clinic-features .uk-badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
}

.clinic-features .uk-badge-success {
    background: #28a745;
    color: white;
}

.clinic-features .uk-badge-warning {
    background: #ffc107;
    color: #212529;
}

/* Фиксированная высота для карточек клиник */
.uk-grid .clinic-card {
    min-height: 320px;
}

/* Стили для кнопки "Подробнее" */
.clinic-details-button {
    width: 100%;
    padding: 12px 24px;
    background: white;
    border: 2px solid #667eea;
    border-radius: 12px;
    color: #667eea;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.clinic-details-button:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

.clinic-details-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.clinic-details-button span[uk-icon] {
    width: 16px;
    height: 16px;
}

/* Адаптивность для карточек клиник */
@media (max-width: 768px) {
    .clinic-card {
        width: 100%;
        box-sizing: border-box;
    }
    
    .clinic-card .uk-card-header {
        padding: 15px;
    }
    
    .clinic-card .uk-card-body {
        padding: 15px;
    }
    
    .clinic-card .uk-card-footer {
        padding: 15px;
    }
    
    .clinic-rating {
        gap: 6px;
    }
    
    .rating-stars {
        font-size: 12px;
    }
    
    .rating-value {
        font-size: 11px;
    }
    
    .clinic-details-button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Уменьшаем высоту карточек на мобильных */
    .uk-grid .clinic-card {
        min-height: 280px;
    }
    
    /* Отступы для grid контейнера клиник на мобильных */
    /* Убираем отрицательные margin UIkit grid и используем обычные отступы */
    #clinics-content .uk-grid {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Отступы для grid элементов клиник на мобильных */
    /* Убираем padding элементов, так как отступы обеспечивает padding .content-section */
    #clinics-content .uk-grid > * {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 20px;
    }
    
    /* Убеждаемся, что карточки клиник не выходят за пределы контейнера */
    #clinics-content .clinic-card {
        width: 100%;
        max-width: 100%;
    }
}

/* ===== СТИЛИ ДЛЯ МОДАЛЬНОГО ОКНА КЛИНИКИ ===== */

.clinic-details-modal {
    max-height: 90vh;
    overflow-y: auto;
}

.clinic-details-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    margin: -20px -20px 20px -20px;
    border-radius: 8px 8px 0 0;
}

.clinic-details-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.clinic-details-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.clinic-details-section {
    margin-bottom: 30px;
}

.clinic-details-section h3 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.clinic-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.clinic-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.clinic-info-icon {
    color: #667eea;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.clinic-info-content {
    flex: 1;
}

.clinic-info-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.clinic-info-value {
    color: #666;
    line-height: 1.4;
}

.clinic-schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.clinic-schedule-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.clinic-schedule-day {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.clinic-schedule-time {
    color: #667eea;
    font-size: 14px;
}

.clinic-metro-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.clinic-metro-item {
    background: #667eea;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.clinic-specialities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
}

.clinic-speciality-item {
    background: #e3f2fd;
    color: #1976d2;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
}

.clinic-description {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    line-height: 1.6;
    color: #555;
}

.clinic-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.clinic-action-button {
    flex: 1;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.clinic-action-primary {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.clinic-action-primary:hover {
    background: #5a6fd8;
    border-color: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

.clinic-action-secondary {
    background: white;
    border-color: #667eea;
    color: #667eea;
}

.clinic-action-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .clinic-details-header {
        padding: 20px;
        margin: -15px -15px 15px -15px;
    }
    
    .clinic-details-title {
        font-size: 24px;
    }
    
    .clinic-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .clinic-schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .clinic-specialities-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .clinic-actions {
        flex-direction: column;
    }
    
    .clinic-action-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ КЛИНИКИ ===== */

/* Hero секция для клиники */
.clinic-hero {
    text-align: center;
    padding: 40px 0;
}

.clinic-hero-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.clinic-logo-container {
    flex-shrink: 0;
}

.clinic-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.clinic-details {
    text-align: left;
    flex: 1;
    min-width: 300px;
}

.clinic-rating-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.clinic-badges {
    display: flex;
    gap: 10px;
}

/* Секции информации */
.section-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.section-title {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
}

/* Элементы информации */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin-bottom: 15px;
}

.info-icon {
    color: #667eea;
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.info-value {
    color: #666;
    line-height: 1.4;
    font-size: 15px;
}

/* Список метро */
.metro-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.metro-item {
    background: #667eea;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Сетка расписания */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.schedule-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.schedule-day {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.schedule-time {
    color: #667eea;
    font-size: 15px;
    font-weight: 500;
}

/* Список специальностей */
.specialities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.speciality-item {
    background: #e3f2fd;
    color: #1976d2;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
}

/* Описание */
.description-text {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    line-height: 1.6;
    color: #555;
    font-size: 15px;
}

/* Карточка записи */
.booking-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    position: sticky;
    top: 20px;
}

.booking-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    text-align: center;
}

.booking-title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-body {
    padding: 30px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    color: white;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input,
.form-select,
.form-textarea {
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.form-checkbox {
    color: white;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 2px;
}

/* Адаптивность для страницы клиники */
@media (max-width: 768px) {
    .clinic-hero-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .clinic-details {
        text-align: center;
        min-width: auto;
    }
    
    .clinic-logo {
        width: 100px;
        height: 100px;
    }
    
    .section-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .info-item {
        padding: 15px;
        margin-bottom: 10px;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .specialities-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .booking-card {
        position: static;
        margin-top: 20px;
    }
    
    .booking-body {
        padding: 20px;
    }
}

/* ===== СТИЛИ ДЛЯ НОВОЙ СТРАНИЦЫ КЛИНИКИ ===== */

/* Информация о клинике в обычной карточке */
.clinic-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Одинаковые отступы между блоками */
.booking-main .uk-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.booking-main .uk-section:first-child {
    padding-top: 30px;
}

.booking-main .uk-section:last-child {
    padding-bottom: 30px;
}

.clinic-info-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100px;
}

.clinic-info-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.clinic-info-item .info-icon {
    color: #667eea;
    font-size: 20px;
    margin-right: 10px;
}

.clinic-info-item .info-label {
    color: #495057;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.clinic-info-item .info-value {
    color: #212529;
    font-size: 15px;
    line-height: 1.6;
    word-wrap: break-word;
    white-space: pre-line;
    flex-grow: 1;
}

/* Сетка врачей */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.doctor-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.doctor-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.doctor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

/* Кнопка "Записаться на прием" на всю ширину карточки врача */
.doctor-card .hero-button {
    width: 100%;
    justify-content: center;
}

.doctor-info h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.doctor-speciality {
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
}

.doctor-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.doctor-experience {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
}

.doctor-price {
    color: #28a745;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.doctor-booking-btn {
    width: 100%;
    padding: 12px 24px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
}

.doctor-booking-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* Переопределение UIkit кнопок для единого стиля */
.uk-button-primary:not(.hero-button):not(.booking-button):not(.load-more-button) {
    background: #667eea !important;
    border-color: #667eea !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2) !important;
}

.uk-button-primary:not(.hero-button):not(.booking-button):not(.load-more-button):hover {
    background: #5a6fd8 !important;
    border-color: #5a6fd8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3) !important;
}

.uk-button-default:not(.hero-button):not(.booking-button):not(.load-more-button) {
    background: white !important;
    border-color: #667eea !important;
    color: #667eea !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.uk-button-default:not(.hero-button):not(.booking-button):not(.load-more-button):hover {
    background: #667eea !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3) !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        position: static;
        margin-top: 20px;
    }
    
    .doctor-header {
        flex-direction: column;
        text-align: center;
    }
    
    .doctor-avatar {
        width: 80px;
        height: 80px;
    }
    
    .uk-button-primary:not(.hero-button):not(.booking-button):not(.load-more-button),
    .uk-button-default:not(.hero-button):not(.booking-button):not(.load-more-button) {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
}
