/* ============================================
   SINGLE СТРАНИЦА ВРАЧА - ДЕЛОВОЙ СТИЛЬ
   ============================================ */
.doctor-single-1277 {
    padding: 40px 0 60px;
    background: #fff;
}

.container_123 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Основная информация врача */
.doctor-main-info-1277 {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

/* Левая колонка - фото и имя */
.doctor-photo-section-1277 {
    position: sticky;
    top: 100px;
}

.doctor-photo-card-1277 {
    border: 1px solid #eaeaea;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.doctor-photo-wrapper-1277 {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #f8f9fa;
}

.doctor-main-photo-1277 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.doctor-photo-wrapper-1277:hover .doctor-main-photo-1277 {
    transform: scale(1.02);
}

.doctor-name-card-1277 {
    padding: 25px;
    text-align: center;
    border-top: 1px solid #eaeaea;
}

.doctor-title-1277 {
    font-size: 24px;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    font-weight: 700;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.doctor-specialty-1277 {
    font-size: 15px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 25px;
    font-style: italic;
}

.doctor-appointment-sidebar-btn-1277 {
    display: inline-block !important;
    padding: 12px 30px;
    background: #0073aa;
    color: white;
    border: 1px solid #0073aa;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.3px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    width: 100%;
}

.doctor-appointment-sidebar-btn-1277:hover {
    background: #005a82;
    border-color: #005a82;
    /*transform: translateY(-1px);*/
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.2);
}

/* Правая колонка - контент */
.doctor-content-section-1277 {
    flex: 1;
}

.doctor-main-content-1277 {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.doctor-main-content-1277 p {
    margin-bottom: 20px;
}

.doctor-main-content-1277 p:last-child {
    margin-bottom: 0;
}

.doctor-main-content-1277 h2 {
    font-size: 22px;
    color: #1a1a1a;
    margin: 35px 0 20px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
}

.doctor-main-content-1277 h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin: 25px 0 15px;
    font-weight: 600;
}

.doctor-main-content-1277 ul,
.doctor-main-content-1277 ol {
    margin: 20px 0;
    padding-left: 20px;
}

.doctor-main-content-1277 li {
    margin-bottom: 10px;
    position: relative;
}

.doctor-main-content-1277 ul li:before {
    content: "•";
    color: #0073aa;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

/* Табы */
.doctor-tabs-1277 {
    margin-bottom: 60px;
}

/* Навигация табов */
.doctor-tab-nav-1277 {
    margin-bottom: 40px;
}

.tab-nav-list-1277 {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #eaeaea;
}

.tab-nav-item-1277 {
    margin: 0;
}

.tab-nav-item-1277 .tab-nav-text-1277 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    color: #666;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.tab-nav-item-1277 .tab-nav-icon-1277 {
    font-size: 18px;
}

.tab-nav-item-1277 .tab-nav-label-1277 {
    font-weight: 500;
}

.tab-nav-item-1277.active .tab-nav-text-1277 {
    color: #0073aa;
    border-bottom-color: #0073aa;
    background: #f8fafc;
}

.tab-nav-item-1277 .tab-nav-text-1277:hover {
    color: #0073aa;
    background: #f8f9fa;
}

/* Контент табов */
.doctor-tabs-content-1277 {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 0 0 4px 4px;
}

.doctor-tab-content-1277 {
    display: none;
    padding: 40px;
    animation: fadeIn 0.4s ease;
}

.doctor-tab-content-1277.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content-inner-1277 {
    min-height: 200px;
}

.no-content-message-1277 {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.no-content-message-1277 svg {
    margin-bottom: 20px;
    opacity: 0.6;
}

.no-content-message-1277 h3 {
    font-size: 18px;
    color: #555;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.no-content-message-1277 p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

/* Общие стили для контента табов */
.tab-content-inner-1277 {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.tab-content-inner-1277 p {
    margin-bottom: 20px;
}

.tab-content-inner-1277 p:last-child {
    margin-bottom: 0;
}

.tab-content-inner-1277 h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin: 30px 0 20px;
    font-weight: 600;
}

.tab-content-inner-1277 h4 {
    font-size: 18px;
    color: #1a1a1a;
    margin: 25px 0 15px;
    font-weight: 600;
}

.tab-content-inner-1277 ul,
.tab-content-inner-1277 ol {
    margin: 20px 0;
    padding-left: 20px;
}

.tab-content-inner-1277 li {
    margin-bottom: 10px;
}

/* Кнопка назад */
.doctor-back-1277 {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #eaeaea;
}

.back-to-doctors-1277 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0073aa;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 12px 25px;
    border: 1px solid #eaeaea;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.back-to-doctors-1277:hover {
    background: #f8f9fa;
    border-color: #0073aa;
    gap: 12px;
}

.back-to-doctors-1277 svg {
    transition: transform 0.3s ease;
}

.back-to-doctors-1277:hover svg {
    transform: translateX(-3px);
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 992px) {
    .doctor-main-info-1277 {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }
    
    .doctor-photo-wrapper-1277 {
        height: 350px;
    }
    
    .tab-nav-item-1277 .tab-nav-text-1277 {
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .doctor-tab-content-1277 {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .doctor-single-1277 {
        padding: 30px 0 50px;
    }
    
    .doctor-main-info-1277 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .doctor-photo-section-1277 {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .doctor-photo-wrapper-1277 {
        height: 400px;
    }
    
    .doctor-title-1277 {
        font-size: 22px;
    }
    
    .doctor-main-content-1277 h2 {
        font-size: 20px;
    }
    
    .doctor-main-content-1277 h3 {
        font-size: 17px;
    }
    
    .tab-nav-list-1277 {
        flex-direction: column;
        border-bottom: none;
    }
    
    .tab-nav-item-1277 {
        margin-bottom: 5px;
    }
    
    .tab-nav-item-1277 .tab-nav-text-1277 {
        border: 1px solid #eaeaea;
        border-radius: 4px;
        margin-bottom: 0;
    }
    
    .tab-nav-item-1277.active .tab-nav-text-1277 {
        border-color: #0073aa;
        border-bottom: 1px solid #0073aa;
    }
    
    .doctor-tabs-content-1277 {
        border: none;
    }
    
    .doctor-tab-content-1277 {
        padding: 30px 20px;
        border: 1px solid #eaeaea;
        border-radius: 4px;
    }
    
    .doctor-back-1277 {
        padding-top: 30px;
    }
    
    .back-to-doctors-1277 {
        width: 100%;
        justify-content: center;
    }
}