    /* --- General Profile & Grid Layout --- */
    body.modal-open { overflow-x: hidden; }
    .teacher-profile-wrapper { max-width: 1180px; margin: 20px auto; padding: 0 20px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; width: 100%; box-sizing: border-box; }
    .single-teacher-vue-island { display: none; }
    .teacher-profile-grid { display: grid; grid-template-columns: minmax(350px, 370px) minmax(0, 1fr); gap: 28px; align-items: start; }
    
    /* --- Left Sidebar Card --- */
    .teacher-sidebar { position: relative; height: 100%; }
    .teacher-sidebar-card { 
        width: 100%; background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; 
        box-shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.06); 
        padding: 24px; text-align: left; transition: top 0.1s ease-out;
    }
    .sidebar-is-fixed { position: fixed; }
    .sidebar-is-at-bottom { position: absolute; bottom: 0; top: auto !important; }

    /* Flex Header Layout */
    .sidebar-header-layout { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 15px; }
    .sidebar-avatar-col { flex-shrink: 0; width: 100px; position: relative; }
    .teacher-avatar img { width: 100px; height: 100px; border-radius: 8px; object-fit: cover; }
    .sidebar-info-col { flex-grow: 1; display: flex; flex-direction: column; gap: 4px; }
    .teacher-name { font-size: 20px; font-weight: 700; margin: 0; line-height: 1.2; color: #111827; }
    
    /* Teacher Type Badge */
    .teacher-type-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; margin-top: 2px; align-self: flex-start; line-height: 1.1; }
    .teacher-type-badge .badge-icon { width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .teacher-type-badge .badge-icon svg { width: 14px; height: 14px; fill: currentColor; }
    .badge-community { background-color: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
    .badge-professional { background-color: #fffbeb; color: #b45309; border: 1px solid #fcd34d; }
    
    /* Header Stats */
    .sidebar-rating-row { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #374151; font-weight: 600; }
    .star-icon { color: #FBBF24; font-size: 18px; line-height: 1; }
    .review-count-label { color: #6B7280; font-weight: 400; font-size: 13px; }
    .sidebar-demographics { font-size: 14px; color: #374151; font-weight: 500; }
    .member-since-label { font-size: 12px; color: #9CA3AF; margin-top: 2px; }

    /* Info List */
    .completed-lessons-row { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #F3F4F6; }
    .teacher-metrics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; column-gap: 12px; }
    .teacher-metric-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #4B5563; min-width: 0; }
    .teacher-metric-item:nth-child(3) { grid-column: 1 / -1; }
    .metric-icon { width: 26px; height: 26px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .metric-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
    .teacher-metric-item.metric-lessons .metric-icon { background: #EEF2FF; color: #4F46E5; }
    .teacher-metric-item.metric-students .metric-icon { background: #ECFEFF; color: #0F766E; }
    .teacher-metric-item.metric-events .metric-icon { background: #FFF7ED; color: #C2410C; }
    .completed-number { font-weight: 700; color: #111827; font-size: 17px; line-height: 1; }
    .metric-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .profile-info-list { list-style: none; padding: 0; margin: 0; text-align: left; }
    .profile-info-list .info-item { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 8px 0; border-bottom: 1px solid #F3F4F6; }
    .profile-info-list .info-item:last-child { border-bottom: none; }
    .profile-info-list .info-label { color: #6B7280; }
    .profile-info-list .info-value { color: #111827; font-weight: 500; }
    .info-label-with-icon { display: inline-flex; align-items: center; gap: 6px; }
    .info-inline-icon { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; color: #8C52FF; flex-shrink: 0; }
    .info-inline-icon svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
    .country-flag-badge { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 6px; border: 1px solid #d7dbe2; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.08); margin-right: 4px; vertical-align: middle; flex-shrink: 0; }
    .country-flag-inline { width: 100%; height: 100%; display: block; object-fit: cover; transform: scale(1.04); transform-origin: center; image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; }
    .location-split-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #F3F4F6; }
    .location-col { display: flex; align-items: center; font-size: 13px; color: #374151; font-weight: 600; min-width: 0; }
    .location-col .info-label { color: #6B7280; font-weight: 400; margin-right: 4px; }
    .location-col .info-label-with-icon { white-space: nowrap; }

    /* --- SIDEBAR ACTIONS --- */
    .sidebar-action-row { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #F3F4F6; }
    .btn-message-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid #D1D5DB; border-radius: 8px; background: #fff; color: #374151; cursor: pointer; transition: all 0.2s; flex-shrink: 0; }
    .btn-message-icon:hover { background-color: #F9FAFB; border-color: #9CA3AF; color: #111827; }
    .btn-message-icon svg { width: 20px; height: 20px; }
    .btn-message-icon .spinner { display: none; width: 14px; height: 14px; border: 2px solid rgba(0,0,0,0.2); border-top-color: #333; border-radius: 50%; animation: spin 1s linear infinite; }
    
    .btn-book-sidebar { flex-grow: 1; background-color: #8C52FF; color: #fff !important; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 700; font-size: 15px; text-decoration: none; border: none; transition: all 0.2s; cursor: pointer; box-shadow: 0 4px 6px -1px rgba(140, 82, 255, 0.2); }
    .btn-book-sidebar:hover { background-color: #7A46E0; transform: translateY(-1px); box-shadow: 0 6px 8px -1px rgba(140, 82, 255, 0.3); }

    /* Presence Indicator */
    .presence-indicator { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; margin-top: 6px; color: #6B7280; }
    .presence-indicator .dot { width: 8px; height: 8px; border-radius: 50%; background-color: #28a745; margin-right: 4px; }
    .presence-indicator.online .dot { background-color: #28a745; animation: pulse 2s infinite; }
    .presence-indicator.offline { display: flex; color: #9CA3AF; }
    .presence-indicator.offline .dot { background-color: #D1D5DB; animation: none; }
    .presence-indicator:not(.online):not(.offline) { display: none; }
    @keyframes pulse { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(40, 167, 69, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); } }

    /* --- Main Content --- */
    .teacher-main-content { min-width: 0; }
    .teacher-main-content .profile-content-card { margin-bottom: 30px; border: 1px solid #E5E7EB; border-radius: 12px; padding: 24px; background: #fff; box-shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.06); }
    .teacher-main-content h2, .teacher-main-content h3 { font-size: 22px; margin: 0 0 16px 0; border-bottom: 1px solid #eee; padding-bottom: 12px; color: #111827; }
    .teacher-tags-card { flex-grow: 1; display: flex; flex-direction: column; }
    .tags-card-empty-state { flex-grow: 1; display: flex; align-items: center; justify-content: center; }
    .tags-card-empty-state p { font-size: 14px; color: #6B7280; text-align: center; margin: 0; }
    
    /* Tags */
    .tag-list { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
    .tag-item { display: flex; align-items: center; gap: 8px; background-color: #F3F4F6; border: 1px solid #E5E7EB; border-radius: 20px; padding: 6px 14px; font-size: 14px; transition: all 0.2s ease; }
    .tag-item:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.05); }
    .tag-name { font-weight: 500; color: #374151; }
    .tag-count { background-color: #8C52FF; color: #fff; font-size: 12px; font-weight: 700; border-radius: 50%; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
    
    /* Reviews */
    .reviews-list { display: grid; gap: 24px; }
    .review-card { display: flex; gap: 16px; border-bottom: 1px solid #F3F4F6; padding-bottom: 24px; }
    .review-card:last-child { border-bottom: none; padding-bottom: 0; }
    .review-avatar { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background-color: #EDE9FE; color: #5B21B6; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; }
    .review-content { flex-grow: 1; }
    .review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
    .student-name { font-weight: 600; color: #1F2937; }
    .review-date { font-size: 13px; color: #9CA3AF; }
    .star-rating { color: #FBBF24; font-size: 18px; letter-spacing: 2px; }
    .star-rating .empty-star { color: #E5E7EB; }
    .review-comment { font-size: 15px; line-height: 1.6; color: #4B5563; }
    .show-more-reviews-wrapper { text-align: center; margin-top: 30px; }
    #show-more-reviews-btn { background-color: #fff; color: #4F46E5; border: 1px solid #C7D2FE; padding: 10px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; }
    #show-more-reviews-btn:hover { background-color: #F5F3FF; border-color: #A5B4FC; }
    #show-more-reviews-btn:disabled { opacity: 0.6; cursor: not-allowed; }
    
    /* Video */
    .video-container { width: 100%; max-width: 760px; margin: 0 0 24px; aspect-ratio: 16 / 9; background-color: #000; border-radius: 12px; position: relative; cursor: pointer; overflow: hidden; border: 4px solid #8C52FF; box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
    .video-poster { display: block; width: 100%; height: 100%; }
    .video-container img, .video-container iframe { width: 100%; height: 100%; object-fit: cover; }
    .video-container img { display: block; }
    .video-container .play-button { position: absolute; left: 14px; bottom: 14px; width: 46px; height: 46px; background-color: #8c52ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 10px 18px rgba(140, 82, 255, 0.35); }
    .video-container .play-button::after { content: ''; width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid #fff; margin-left: 3px; }
    .video-container:hover .play-button { transform: translateY(-1px) scale(1.04); box-shadow: 0 12px 22px rgba(140, 82, 255, 0.42); }
    @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
    
    /* Languages Horizontal */
    .languages-horizontal-container { display: flex; flex-direction: column; gap: 12px; }
    .language-horizontal-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
    .language-label-bold { font-size: 16px; font-weight: 700; color: #111827; margin-right: 4px; line-height: 1.5; }
    .language-inline-item { display: inline-flex; align-items: center; gap: 4px; }
    .language-name-text { font-size: 15px; color: #374151; line-height: 1.5; }
    .lang-pill { padding: 4px 12px; border-radius: 12px; font-size: 11px; font-weight: 600; white-space: nowrap; line-height: 1.4; }
    .lang-pill.level-native { background-color: #d1fae5; color: #065f46; }
    .lang-pill.level-advanced { background-color: #dbeafe; color: #1e40af; }
    .lang-pill.level-intermediate { background-color: #ede9fe; color: #5b21b6; }
    .lang-pill.level-beginner { background-color: #fffbeb; color: #b45309; }
    
    /* About & Materials */
    .about-me-content p { font-size: 16px; line-height: 1.7; color: #374151; margin: 0; text-align: justify; text-justify: inter-word; }
    .materials-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; }
    .materials-list li { display: flex; align-items: center; gap: 10px; background-color: #f8f9fa; padding: 10px; border-radius: 8px; border: 1px solid #e9ecef; }
    .materials-list li svg { width: 20px; height: 20px; flex-shrink: 0; color: #8c52ff; }
    .materials-list li span { font-size: 15px; color: #374151; }

    /* Resume */
    .resume-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .resume-column h4 { margin: 0 0 14px 0; font-size: 18px; color: #1f2937; }
    .resume-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
    .resume-item { background: #f8f9fc; border: 1px solid #e9ecef; border-radius: 10px; padding: 14px; }
    .resume-period { display: inline-block; background: #ede9fe; color: #5b21b6; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 10px; }
    .resume-title { margin-top: 8px; font-size: 15px; font-weight: 700; color: #111827; }
    .resume-description { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: #4b5563; white-space: pre-line; }
    
    /* Scroll Margin */
    #section-availability, #section-lessons, #section-teaching-material, #section-about-me, #section-teaching-style, #section-resume, #section-reviews { scroll-margin-top: 100px; }

    /* --- Combined Lessons & Packages Styles --- */
    #section-lessons h3 { font-size: 20px; margin: 0 0 12px 0; border-bottom: 1px solid #eee; padding-bottom: 8px; }
    .lessons-section-header { margin-bottom: 24px; }
    .lessons-packages-tabs { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
    .lessons-packages-nav ul { display: flex; list-style: none; margin: 0; padding: 0; border-bottom: 2px solid #e9ecef; }
    .lessons-packages-nav a { display: block; padding: 10px 20px; text-decoration: none; color: #8C52FF; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s ease; cursor: pointer; }
    .lessons-packages-nav li.active a, .lessons-packages-nav a:hover { color: #7000E2; border-bottom-color: #7000E2; }
    .lessons-packages-pane { display: none; margin-top: 24px; }
    .lessons-packages-pane.active { display: block; }
    
    .language-filter-pills ul.language-filter-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; list-style: none; margin: 0; padding: 4px; gap: 5px; background-color: #f1f3f5; border-radius: 50px; }
    .language-filter-pills ul.language-filter-nav a { display: block; padding: 6px 16px; text-decoration: none; color: #8C52FF; font-size: 0.9em; font-weight: 600; border-radius: 50px; transition: all 0.2s ease; border-bottom: none !important; margin-bottom: 0 !important; white-space: nowrap; cursor: pointer; }
    .language-filter-pills ul.language-filter-nav > li.active > a { background-color: #8C52FF; color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
    .language-filter-pills ul.language-filter-nav a:hover { color: #7000E2; }
    #more-languages-btn a { font-weight: 800; letter-spacing: 1px; }
    .language-dropdown { position: absolute; top: calc(100% + 5px); right: 0; background-color: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); z-index: 100; padding: 8px; border: 1px solid #e9ecef; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.25s ease; list-style: none; }
    .language-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .language-dropdown a { display: block; padding: 8px 16px; text-decoration: none; color: #495057; font-size: 0.9em; font-weight: 600; border-radius: 8px; transition: all 0.2s ease; border-bottom: none !important; margin-bottom: 0 !important; }
    .language-dropdown a:hover { background-color: #f1f3f5; color: #495057; }
    .language-dropdown li.active a { background-color: #e9ecef; color: #212529; }
    
    /* Lesson Card */
    .lesson-card-futuristic { background: #ffffff; border: 1px solid #e9ecef; border-radius: 16px; padding: 24px; margin-bottom: 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.04); transition: all 0.25s ease-in-out; }
    .lesson-card-futuristic:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.08); border-color: #dee2e6; }
    .lesson-card-left { display: flex; gap: 20px; flex-grow: 1; }
    .lesson-icon { flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background-color: #f1f3f5; border-radius: 12px; color: #7000E2; }
    .lesson-icon svg { width: 28px; height: 28px; }
    .lesson-details { display: flex; flex-direction: column; width: 100%; }
    .lesson-title-wrapper { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
    .lesson-title { font-size: 1.25em; font-weight: 600; color: #212529; margin: 0; }
    .lesson-description { font-size: 0.95em; color: #6c757d; line-height: 1.6; margin: 0; }
    .lesson-description .show-more-link { color: #8C52FF; font-weight: 600; text-decoration: none; cursor: pointer; }
    .lesson-description .show-more-link:hover { text-decoration: underline; }
    .lesson-details-info { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 15px; padding-top: 15px; border-top: 1px solid #f1f3f5; }
    .group-class-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; color: #495057; font-size: 0.9em; }
    .group-class-meta span { display: inline-flex; align-items: center; gap: 4px; }
    .detail-item { display: flex; align-items: center; gap: 8px; font-size: 0.9em; color: #495057; }
    .detail-item svg { width: 18px; height: 18px; color: #868e96; flex-shrink: 0; }
    .lesson-card-right { flex-shrink: 0; }
    .lesson-booking { text-align: right; min-width: 140px; }
    .lesson-price { font-size: 1.2em; font-weight: 700; color: #212529; }
    .lesson-book-button { display: inline-block; padding: 10px 24px; text-decoration: none; border-radius: 8px; font-weight: 600; font-size: 0.9em; background-color: #8C52FF; color: #fff !important; box-shadow: 0 4px 12px rgba(140, 82, 255, 0.25); transition: all 0.2s ease; border: none; cursor: pointer; }
    .lesson-book-button:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(140, 82, 255, 0.35); }
    .package-language-tag { background-color: #e9ecef; color: #495057; padding: 3px 10px; border-radius: 12px; font-size: 0.8em; font-weight: 600; white-space: nowrap; }
    .discount-pill { background-color: #ffe3e6; color: #dc3545; padding: 3px 10px; border-radius: 12px; font-size: 0.8em; font-weight: 700; white-space: nowrap; }
    .price-container { display: flex; flex-direction: column; align-items: flex-end; margin-bottom: 12px; }
    .original-price { font-size: 0.9em; color: #6c757d; text-decoration: line-through; }
    .discounted-price { font-size: 1.2em; font-weight: 700; color: #198754; }
    .no-offerings-message { text-align: center; color: #7f8c9a; padding: 20px; background-color: #f4f7fc; border-radius: 8px; }
    .tooltip-instant { position: relative; }
    .tooltip-instant::after { content: attr(data-tooltip); position: absolute; bottom: 115%; left: 50%; transform: translateX(-50%); background-color: #2c3e50; color: #fff; padding: 6px 12px; border-radius: 6px; font-size: .8rem; white-space: nowrap; z-index: 10; visibility: hidden; opacity: 0; transition: opacity 0.2s; }
    .tooltip-instant:hover::after { visibility: visible; opacity: 1; }
    .lesson-book-button.disabled-for-teacher,
    .lesson-book-button.disabled-for-teacher:hover,
    .btn-book-sidebar.disabled-for-teacher,
    .btn-book-sidebar.disabled-for-teacher:hover { background-color: #e9ecef; color: #6c757d !important; border-color: #ced4da; cursor: not-allowed; transform: none; box-shadow: none; }
    #tab-group-classes[data-ls-viewer-teacher="1"] .amelia-v2-booking #amelia-container .am-ec__actions-btn .am-button.ls-disabled-for-teacher-booking,
    #tab-group-classes[data-ls-viewer-teacher="1"] .amelia-v2-booking #amelia-container .am-ec__actions .am-button.ls-disabled-for-teacher-booking {
        background-color: #e9ecef !important;
        border-color: #ced4da !important;
        color: #6c757d !important;
        box-shadow: none !important;
        transform: none !important;
        cursor: not-allowed !important;
        position: relative;
    }
    #tab-group-classes[data-ls-viewer-teacher="1"] .amelia-v2-booking #amelia-container .am-ec__actions-btn .am-button.ls-disabled-for-teacher-booking:hover,
    #tab-group-classes[data-ls-viewer-teacher="1"] .amelia-v2-booking #amelia-container .am-ec__actions .am-button.ls-disabled-for-teacher-booking:hover {
        background-color: #e9ecef !important;
        box-shadow: none !important;
        transform: none !important;
    }
    #tab-group-classes[data-ls-viewer-teacher="1"] .amelia-v2-booking #amelia-container .am-ec__actions-btn .am-button.ls-disabled-for-teacher-booking::after,
    #tab-group-classes[data-ls-viewer-teacher="1"] .amelia-v2-booking #amelia-container .am-ec__actions .am-button.ls-disabled-for-teacher-booking::after {
        content: attr(data-ls-disabled-tooltip);
        position: absolute;
        bottom: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%);
        background: #2c3e50;
        color: #fff;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 0.8rem;
        white-space: nowrap;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.2s ease;
        z-index: 12;
        pointer-events: none;
    }
    #tab-group-classes[data-ls-viewer-teacher="1"] .amelia-v2-booking #amelia-container .am-ec__actions-btn .am-button.ls-disabled-for-teacher-booking:hover::after,
    #tab-group-classes[data-ls-viewer-teacher="1"] .amelia-v2-booking #amelia-container .am-ec__actions .am-button.ls-disabled-for-teacher-booking:hover::after,
    #tab-group-classes[data-ls-viewer-teacher="1"] .amelia-v2-booking #amelia-container .am-ec__actions-btn .am-button.ls-disabled-for-teacher-booking:focus-visible::after,
    #tab-group-classes[data-ls-viewer-teacher="1"] .amelia-v2-booking #amelia-container .am-ec__actions .am-button.ls-disabled-for-teacher-booking:focus-visible::after {
        visibility: visible;
        opacity: 1;
    }
    
    /* Calendar */
    .calendar-loader, .calendar-error{text-align:center;padding:40px;font-size:16px;color:#868e96}.calendar-top-header{flex-shrink:0;display:flex;justify-content:space-between;align-items:center;margin-bottom:5px;padding:0 10px}.calendar-nav-btn{background-color:#fff;border:1px solid #dee2e6;border-radius:50%;width:36px;height:36px;font-size:0;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.calendar-nav-btn:hover{background-color:#f8f9fa;border-color:#ced4da}.calendar-nav-btn:after{content:'';display:block;width:6px;height:6px;border-top:2px solid #495057;border-right:2px solid #495057}.calendar-nav-btn.prev:after{transform:translateX(2px) rotate(-135deg)}.calendar-nav-btn.next:after{transform:translateX(-2px) rotate(45deg)}.range-label{font-size:18px;font-weight:600;color:#212529}.calendar-sub-header{text-align:center;font-size:12px;color:#868e96;margin-bottom:15px}.calendar-grid-wrapper{overflow-y:auto;border-top:1px solid #e9ecef;min-height:0;max-height:50vh}.today-marker-row{display:grid;grid-template-columns:80px repeat(7,1fr);padding-top:8px}.today-marker-cell{padding:0 4px}.today-marker-label{display:block;background-color:#e7f5ff;color:#1c7ed6;font-size:11px;font-weight:700;padding:3px 0;text-align:center;border-radius:6px}.calendar-grid{display:grid;grid-template-columns:80px repeat(7,1fr)}.time-column{grid-column:1/2}.day-column{grid-column:auto;display:flex;flex-direction:column}.day-header{text-align:center;padding:4px 0;border-left:1px solid #f1f3f5;border-top:1px solid #f1f3f5;height:50px;display:flex;flex-direction:column;justify-content:center;font-size:12px;color:#868e96;position:sticky;top:0;background:#fff;z-index:10}.day-header.is-today span:last-child{font-weight:700;color:#1c7ed6}.time-column .day-header{border-left:none}.timezone-header{font-size:11px;font-weight:500;color:#adb5bd;border-right:1px solid #f1f3f5}.time-label{height:30px;font-size:12px;color:#495057;display:flex;align-items:center;justify-content:center}.time-slot{height:30px;border-top:1px solid #f8f9fa;border-left:1px solid #f1f3f5;transition:all .15s ease-out;box-sizing:border-box}.time-column .time-slot{border-left:none;border-right:1px solid #f1f3f5}.time-slot.available{background-color:#d1fae5;cursor:pointer;position:relative}.time-slot.available:hover{background-color:#a7f3d0;transform:scale(1.05);z-index:5;box-shadow:0 2px 8px rgba(0,0,0,.1);border-radius:4px}.time-slot.selected{background-color:#10b981;color:#fff;border-color:#059669}.time-slot.booked{background-color:#f3e8ff;cursor:not-allowed;background-image:repeating-linear-gradient(-45deg,transparent,transparent 4px,rgba(167,139,250,.1) 4px,rgba(167,139,250,.1) 8px)}.time-slot.not-working{background-color:#fff;cursor:not-allowed}.calendar-footer{flex-shrink:0;display:flex;justify-content:space-between;align-items:center;padding-top:15px;border-top:1px solid #e9ecef;margin-top:15px}.calendar-legend{display:flex;flex-wrap:wrap;gap:15px}.legend-item{display:flex;align-items:center;gap:6px;font-size:12px;color:#495057}.swatch{width:12px;height:12px;border-radius:3px}.swatch.available{background-color:#d1fae5;border:1px solid #a7f3d0}.swatch.booked{background-color:#f3e8ff;border:1px solid #e9d5ff}.swatch.not-working{background-color:#fff;border:1px solid #dee2e6}#book-trial-modal-btn.am-button-gray{background-color:#f3f4f6;border:1px solid #e5e7eb;padding:10px 24px;border-radius:8px;font-weight:600;cursor:pointer;font-size:14px;color:#6b7280;transition:all .2s ease}#book-trial-modal-btn.am-button-gray:not(:disabled):hover{background-color:#4f46e5;border-color:#4338ca;color:#fff}#book-trial-modal-btn.am-button-gray:disabled{background-color:#f3f4f6;color:#adb5bd;cursor:not-allowed;opacity:.7}#book-trial-modal-btn.am-button-gray:not(:disabled){background-color:#6366f1;border-color:#4f46e5;color:#fff}
    
    /* Modal */
    .description-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(33, 37, 41, 0.6); display: none; align-items: center; justify-content: center; z-index: 99999; } .description-modal-overlay.is-visible { display: flex; } .description-modal-content { background-color: #ffffff; border-radius: 16px; box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2); width: 90%; max-width: 600px; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; } .description-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid #e9ecef; } #modal-title { margin: 0; font-size: 1.5em; font-weight: 700; color: #212529; } .modal-close-btn { background: none; border: none; font-size: 2em; font-weight: 300; line-height: 1; color: #6c757d; cursor: pointer; padding: 0; transition: color 0.2s ease; } .modal-close-btn:hover { color: #212529; } .description-modal-body { padding: 24px; line-height: 1.7; color: #495057; overflow-y: auto; } .description-modal-body .lesson-details-info { margin-bottom: 24px; padding-bottom: 24px; border-top: none; border-bottom: 1px solid #e9ecef; } .description-modal-body .lesson-details-info .detail-item { font-size: 1em; } .description-modal-body p { margin-bottom: 1em; } .description-modal-footer { padding: 20px 24px; border-top: 1px solid #e9ecef; text-align: right; background-color: #f8f9fa; }
    #profile-message-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 100000; display: none; align-items: center; justify-content: center; }
    #profile-message-modal-overlay.visible { display: flex; }
    .profile-message-modal-content { background: #fff; border-radius: 12px; width: 90%; max-width: 500px; box-shadow: 0 5px 20px rgba(0,0,0,0.2); }
    .profile-message-modal-header { display: flex; align-items: center; gap: 15px; padding: 15px 20px; border-bottom: 1px solid #eee; }
    .profile-message-avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
    .profile-message-recipient-info h3 { margin: 0; font-size: 16px; }
    .profile-message-recipient-info p { margin: 2px 0 0; font-size: 13px; color: #888; }
    .profile-message-modal-body { padding: 20px; }
    #profile-modal-message-content { width: 100%; min-height: 120px; resize: vertical; padding: 10px; border: 1px solid #ccc; border-radius: 6px; }
    #profile-modal-error-message { color: #dc3545; font-size: 13px; margin-top: 10px; display: none; }
    .profile-message-modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 15px 20px; border-top: 1px solid #eee; background-color: #f8f9fa; }
    .profile-modal-btn { padding: 8px 18px; border-radius: 6px; border: 1px solid transparent; font-weight: 500; cursor: pointer; }
    .profile-modal-btn.cancel { background-color: #f0f0f0; border-color: #ccc; }
    .profile-modal-btn.send { background-color: #8c52ff; color: #fff; }
    .profile-modal-btn.send:disabled { background-color: #ccc; cursor: not-allowed; }
    .profile-modal-btn .spinner { display: none; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 1s linear infinite; margin-left: 8px; }
    .ls-message-toast-container { position: fixed; top: 24px; right: 24px; z-index: 120000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
    .ls-message-toast { min-width: 260px; max-width: 360px; background: #fff; border-radius: 10px; border-left: 4px solid #10b981; box-shadow: 0 10px 30px rgba(0,0,0,0.15); padding: 12px 14px; font-size: 14px; color: #111827; opacity: 0; transform: translateY(-8px); transition: opacity 0.2s ease, transform 0.2s ease; }
    .ls-message-toast.is-visible { opacity: 1; transform: translateY(0); }
    .ls-message-toast.error { border-left-color: #ef4444; }
    
    @media (max-width: 991px) {
        .teacher-profile-grid { grid-template-columns: 1fr; }
        .teacher-sidebar { order: -1; margin-bottom: 30px; }
        .teacher-sidebar-card { position: static !important; }
    }
    @media (max-width: 767px) {
        .teacher-profile-wrapper { padding: 0 15px; margin-top: 20px; }
        .teacher-main-content .profile-content-card, .teacher-sidebar-card { padding: 15px; }
        .teacher-sidebar-card .teacher-name { font-size: 22px; }
        .teacher-metrics-grid { grid-template-columns: 1fr; }
        .teacher-metric-item:nth-child(3) { grid-column: auto; }
        .resume-grid { grid-template-columns: 1fr; gap: 16px; }
        .lessons-packages-tabs { flex-direction: column; align-items: stretch; }
        .lessons-packages-nav ul { width: 100%; justify-content: space-around; }
        .language-filter-pills { width: 100%; }
        .language-filter-pills ul.language-filter-nav { justify-content: center; padding: 2px; }
    }
