    /* ======================= */
    /* ОСНОВНЫЕ СТИЛИ (как были) */
    /* ======================= */
    .doctor-popup * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Arial, sans-serif;
    }

    .doctor-popup {
        background: white;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        max-width: 900px;
        width: 100%;
        overflow: hidden;
        animation: fadeInPopup 0.3s ease-out;
        display: flex;
        flex-direction: column;
        margin: 20px auto;
    }

    @keyframes fadeInPopup {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .popup-header {
        background: linear-gradient(135deg, #9869ae 0%, #623e73 100%);
        color: white;
        padding: 25px 30px;
        position: relative;
    }

    .popup-close-btn {
        position: absolute;
        top: 20px;
        right: 25px;
        background: rgba(255,255,255,0.2);
        border: none;
        color: white;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.2s;
    }

    .popup-close-btn:hover {
        background: rgba(255,255,255,0.3);
    }

    .doctor-main {
        display: flex;
        gap: 30px;
        align-items: flex-start;
    }

    .photo-left {
        flex-shrink: 0;
        width: 200px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .photo-container {
        width: 180px;
        height: 240px;
        border-radius: 12px;
        overflow: hidden;
        border: 5px solid rgba(255,255,255,0.3);
        background: #e9f2fa;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .doctor-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .photo-label {
        font-size: 14px;
        color: rgba(255,255,255,0.9);
        font-style: italic;
        text-align: center;
        margin-top: 5px;
    }

    .doctor-info {
        flex-grow: 1;
        padding-top: 10px;
    }

    .doctor-fio {
        font-size: 30px;
        font-weight: 600;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .doctor-position {
        font-size: 19px;
        opacity: 0.95;
        line-height: 1.5;
        padding-right: 20px;
        margin-bottom: 25px;
    }

    .popup-content {
        padding: 30px;
        display: flex;
        flex-direction: column;
    }

    .popup-content-wrapper {
        display: flex;
        gap: 40px;
    }

    .education-column {
        flex: 1;
        min-width: 0;
    }

    .popup-section-title {
        font-size: 22px;
        color: #1a6fc4;
        margin-bottom: 25px;
        padding-bottom: 12px;
        border-bottom: 2px solid #eaeaea;
        font-weight: 600;
    }

    .education-list {
        list-style: none;
    }

    .education-item {
        margin-bottom: 22px;
        padding-left: 26px;
        position: relative;
        line-height: 1.5;
        border-left: 3px solid #eaeaea;
        padding-left: 20px;
        margin-left: 3px;
    }

    .education-item::before {
        content: "";
        position: absolute;
        left: -8px;
        top: 8px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #1a6fc4;
        border: 3px solid white;
        box-shadow: 0 0 0 2px #1a6fc4;
    }

    .education-type {
        font-weight: 700;
        color: #222;
        display: block;
        margin-bottom: 6px;
        font-size: 16px;
    }

    .education-details {
        color: #444;
        font-size: 15px;
        display: block;
        margin-bottom: 4px;
        line-height: 1.4;
    }

    /* ======================= */
    /* СТИЛИ КНОПОК ПОД ДОЛЖНОСТЬЮ */
    /* ======================= */
    .position-buttons {
        display: flex;
        gap: 15px;
        margin-top: 25px;
        flex-wrap: wrap;
    }
    
    .pos-btn {
        padding: 14px 28px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        border: none;
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-width: 220px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    /* Кнопка "Записаться на прием" - яркий акцентный цвет */
    .pos-btn-appointment {
        background: linear-gradient(135deg, #75ae69 0%, #75ae69 100%);
        color: white;
    }
    
    .pos-btn-appointment:hover {
        background: linear-gradient(135deg, #a269ae 0%, #a269ae 100%);
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(238, 90, 82, 0.3);
    }
    
    /* Кнопка "Отзывы" - дополнительный цвет, сочетающийся с фоном */
    .pos-btn-reviews {
        background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
        color: white;
    }
    
    .pos-btn-reviews:hover {
        background: linear-gradient(135deg, #44a08d 0%, #3a8c7a 100%);
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(68, 160, 141, 0.3);
    }
    
    /* ======================= */
    /* АДАПТИВНОСТЬ */
    /* ======================= */
    @media (max-width: 992px) {
        .popup-content-wrapper {
            flex-direction: column;
            gap: 30px;
        }
        
        .photo-left {
            width: 100%;
            flex-direction: row;
            gap: 25px;
            align-items: center;
        }
        
        .photo-container {
            width: 150px;
            height: 200px;
            margin-bottom: 0;
        }
        
        .doctor-info {
            padding-top: 0;
        }
        
        .doctor-fio {
            font-size: 26px;
        }
        
        .doctor-position {
            font-size: 17px;
            margin-bottom: 20px;
        }
        
        .pos-btn {
            min-width: 200px;
            padding: 13px 24px;
        }
    }

    @media (max-width: 768px) {
        .doctor-main {
            flex-direction: column;
            gap: 25px;
        }
        
        .photo-left {
            flex-direction: column;
            text-align: center;
            width: 100%;
        }
        
        .photo-container {
            width: 160px;
            height: 210px;
            align-self: center;
        }
        
        .popup-content {
            padding: 20px;
        }
        
        .position-buttons {
            flex-direction: column;
            gap: 12px;
        }
        
        .pos-btn {
            min-width: 100%;
            padding: 15px 25px;
        }
        
        .doctor-fio {
            font-size: 24px;
            text-align: center;
        }
        
        .doctor-position {
            text-align: center;
            padding-right: 0;
        }
    }

    @media (max-width: 480px) {
        .photo-container {
            width: 140px;
            height: 185px;
        }
        
        .doctor-fio {
            font-size: 22px;
        }
        
        .doctor-position {
            font-size: 16px;
        }
        
        .pos-btn {
            font-size: 15px;
        }
    }
