/* Section */

        /* Header CSS */
        #supervisor-teachers-page .header {
            display: flex !important;
            align-items: center !important;
            justify-content: flex-start !important;
            gap: 12px !important;
            margin: 0 !important;
            padding: 0 !important;
            width: auto !important;
            text-align: right !important;
            position: static !important;
            color: inherit !important;
            flex-direction: row !important;
        }

        #supervisor-teachers-page .header h1 {
            font-size: 1.1rem !important;
            margin: 0 !important;
            letter-spacing: 0 !important;
            text-shadow: none !important;
            font-weight: 700 !important;
            white-space: nowrap !important;
            position: static !important;
            color: inherit !important;
        }

        #supervisor-teachers-page .header h1 i {
            font-size: 1.1rem !important;
            margin-left: 6px !important;
        }

        #supervisor-teachers-page .header::before,
        #supervisor-teachers-page .header h1::after {
            display: none !important;
            content: none !important;
        }

        /* Section */
        #supervisor-teachers-page > .supervisor-header-bar,
        #supervisor-teachers-page > .supervisor-filters-toggle-row,
        #supervisor-teachers-page > #supervisor-filters-wrapper,
        #supervisor-teachers-page > #teachers-data-container {
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Section */
        .supervisor-header-bar {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 12px;
            margin-bottom: 8px;
            padding-top: 4px;
        }
        .supervisor-header-bar .header {
            margin: 0 !important;
            padding: 0 !important;
        }
        .supervisor-header-bar .supervisor-back-btn {
            position: relative !important;
            top: auto !important;
            right: auto !important;
            left: auto !important;
            margin: 0 !important;
        }

        /* Section */
        .filters-card {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 6px;
            padding: 4px;
            margin: 0;
        }

        .filters-row {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            align-items: flex-end;
            justify-content: center;
        }

        .filter-item {
            min-width: 180px;
            flex: 0 0 auto;
        }

        .filter-label {
            display: flex;
            align-items: center;
            gap: 3px;
            color: #ffffff;
            font-weight: 600;
            margin-bottom: 1px;
            font-size: 0.7rem;
            text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
            line-height: 1;
        }

        .filter-label i {
            font-size: 0.75rem !important;
        }

        .input-shell {
            position: relative;
        }

        .input-shell .left-icon {
            position: absolute;
            right: 6px;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
            pointer-events: none;
            font-size: 0.7rem;
        }

        /* Section */
        .compact-filter-select {
            width: 100%;
            height: 28px;
            padding: 0 24px 0 6px;
            border-radius: 5px;
            border: 1px solid rgba(209, 213, 219, 1);
            background: #ffffff;
            color: #111827;
            font-size: 0.75rem;
            transition: box-shadow .2s, border-color .2s, transform .12s;
            appearance: none;
            position: relative;
            line-height: 1.2;
        }

        .compact-filter-select:hover {
            border-color: #7c3aed;
            box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.1);
        }

        .compact-filter-select:focus {
            outline: none;
            border-color: #7c3aed;
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15), 0 2px 8px rgba(124, 58, 237, 0.2);
            transform: translateY(-1px);
        }

        /* Section */
        #date-filter-container {
            min-width: 180px;
        }

        #date-filter-container .compact-filter-select {
            font-size: 0.75rem;
            height: 28px;
            padding: 0 24px 0 6px;
        }

        /* Section */
        .input-shell::after {
            content: "";
            position: absolute;
            inset: -1px;
            border-radius: 9px;
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(59, 130, 246, 0.3));
            z-index: -1;
            opacity: 0;
            transition: opacity .2s;
        }

        .input-shell:has(.compact-filter-select:hover)::after,
        .input-shell:has(.compact-filter-select:focus)::after {
            opacity: 1;
        }

        /* Section */
        #supervisor-teachers-page .compact-gender-buttons {
            display: flex;
            gap: 3px;
        }

        #supervisor-teachers-page .compact-gender-btn {
            flex: 1;
            padding: 3px 6px;
            font-size: 0.7rem;
            border-radius: 4px;
            min-height: 24px;
            line-height: 1.1;
        }

        /* label input */
        #gender-filter-container .filter-label {
            margin-bottom: 1px;
        }

        /* label input */
        .filter-item .input-shell {
            margin-top: 0;
        }

        /* Section */
        #teachers-table-container {
            max-height: none;
            overflow: visible;
            margin-top: 4px;
        }

        /* overflow visible sticky */
        #teachers-table-container .table-responsive {
            background: #ffffff;
            border-radius: 8px;
            overflow: visible !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            width: 85% !important;
            margin: 0 auto !important;
        }

        #teachers-table-container table {
            font-size: 0.8rem !important;
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
        }

        /* Section */
        @media (max-width: 1024px) {
            #supervisor-teachers-page #teachers-data-container {
                max-width: 100%;
                width: 100%;
                overflow: visible;
            }

            /* Section */
            #supervisor-teachers-page #teachers-table-container {
                max-width: 100%;
                width: 100%;
                overflow: visible;
                margin-top: 4px;
            }

            #supervisor-teachers-page #teachers-table-container .table-responsive {
                overflow-x: auto !important;
                overflow-y: visible !important;
                width: 100% !important;
                max-width: 100%;
                margin: 0 !important;
                -webkit-overflow-scrolling: touch;
                touch-action: pan-x pan-y;
            }

            #supervisor-teachers-page #teachers-table-container table.teachers-table,
            #supervisor-teachers-page #teachers-table-container table {
                width: max-content !important;
                min-width: 720px;
                max-width: none !important;
            }

            /* overflow-x sticky Scr */
            #supervisor-teachers-page #teachers-table-container thead,
            #supervisor-teachers-page #teachers-table-container thead th {
                position: static !important;
                top: auto !important;
                box-shadow: none;
            }

            #supervisor-teachers-page #teachers-table-container thead th {
                background: #1e3a8a !important;
                z-index: auto;
            }
        }

        /* Header px */
        #teachers-table-container thead {
            position: sticky;
            top: 60px;
            z-index: 100;
        }

        #teachers-table-container thead th {
            padding: 10px 12px !important;
            font-size: 0.85rem !important;
            font-weight: 600;
            white-space: nowrap;
            position: sticky;
            top: 60px;
            z-index: 100;
            background: #1e3a8a !important;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
            text-align: center !important;
        }

        #teachers-table-container tbody td {
            padding: 8px 10px !important;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 180px;
            font-size: 0.8rem !important;
            text-align: center !important;
        }

        /* Section */
        #teachers-table-container .date-cell {
            font-size: 0.75rem !important;
            padding: 6px 8px !important;
            white-space: nowrap !important;
            max-width: 120px !important;
            text-align: center !important;
        }

        /* Section */
        #teachers-table-container tbody tr {
            height: auto;
        }

        #teachers-table-container tbody tr:hover {
            background-color: #f1f5f9 !important;
        }

        /* Section */
        #teachers-table-container select {
            height: 32px !important;
            padding: 4px 8px !important;
            font-size: 0.8rem !important;
        }

        /* IndexHead */

        /* Section */
        .sound-toggle-btn {
            width: 28px;
            height: 28px;
            border-radius: 5px;
            border: 1px solid rgba(209, 213, 219, 1);
            background: #ffffff;
            color: #1e3a8a;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            font-size: 0.85rem;
        }

        .sound-toggle-btn:hover {
            border-color: #1e3a8a;
            background: #f8fafc;
            box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.1);
            transform: translateY(-1px);
        }

        .sound-toggle-btn.muted {
            color: #9ca3af;
            opacity: 0.6;
        }

        /* Section */
        #supervisor-teachers-page .filter-item.supervisor-date-in-row {
            min-width: 280px;
            flex: 1 1 auto;
            margin-inline-end: auto;
            overflow: visible;
        }

        /* Section */
        #supervisor-filters-wrapper {
            display: none;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        #supervisor-filters-wrapper.visible {
            display: block;
            animation: fadeInDown 0.3s ease;
        }

        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        #supervisor-advanced-toggle-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            background: linear-gradient(135deg, #4f46e5, #7c3aed);
            color: #ffffff;
            border: none;
            border-radius: 8px;
            padding: 8px 16px;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
        }

        #supervisor-advanced-toggle-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
        }

        #supervisor-advanced-toggle-btn.active {
            background: linear-gradient(135deg, #10b981, #059669);
            box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
        }

        #supervisor-advanced-toggle-btn.active:hover {
            box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
        }

        #supervisor-advanced-toggle-btn i {
            transition: transform 0.3s ease;
        }

        #supervisor-advanced-toggle-btn.active i {
            transform: rotate(180deg);
        }

        .supervisor-filters-toggle-row {
            display: flex;
            justify-content: center;
            margin-bottom: 8px;
        }

        #supervisor-teachers-page .supervisor-date-filter-controls {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            margin-top: 4px;
            overflow: visible;
            visibility: visible;
        }

        #supervisor-teachers-page .supervisor-quick-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            visibility: visible;
            opacity: 1;
        }

        #supervisor-teachers-page .supervisor-quick-filter-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 4px 10px;
            min-height: 26px;
            background: #1e40af;
            border: 1px solid rgba(255, 255, 255, 0.4);
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 600;
            color: #ffffff;
            cursor: pointer;
            transition: all 0.2s;
            visibility: visible;
            opacity: 1;
        }

        #supervisor-teachers-page .supervisor-quick-filter-btn:hover {
            background: #1e3a8a;
            border-color: rgba(255, 255, 255, 0.6);
        }

        #supervisor-teachers-page .supervisor-date-inputs {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        #supervisor-teachers-page .supervisor-date-input-group {
            display: flex;
            align-items: center;
            gap: 3px;
        }

        #supervisor-teachers-page .supervisor-date-input-group label {
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.9);
            white-space: nowrap;
        }

        #supervisor-teachers-page .supervisor-date-input {
            padding: 4px 8px;
            height: 32px;
            border: 1px solid rgba(209, 213, 219, 1);
            border-radius: 6px;
            font-size: 0.8rem;
            background: #ffffff;
            color: #111827;
            width: 125px;
            box-sizing: border-box;
        }

        #supervisor-teachers-page .supervisor-date-filter-actions {
            display: flex;
            gap: 3px;
        }

        #supervisor-teachers-page .supervisor-btn-apply-filter,
        #supervisor-teachers-page .supervisor-btn-reset-filter {
            padding: 4px 10px;
            height: 32px;
            border: none;
            border-radius: 6px;
            font-size: 0.8rem;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            box-sizing: border-box;
        }

        #supervisor-teachers-page .supervisor-btn-apply-filter {
            background: #10b981;
            color: white;
        }

        #supervisor-teachers-page .supervisor-btn-reset-filter {
            background: #f59e0b;
            color: white;
        }

        #supervisor-teachers-page .supervisor-filter-status {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.9);
            margin-top: 2px;
        }

        /* Section */
        .supervisor-search-filter-item {
            min-width: 260px;
            flex: 1 1 auto;
            max-width: 320px;
        }

        .supervisor-search-wrapper {
            position: relative;
            width: 100%;
        }

        .supervisor-search-wrapper input {
            width: 100%;
            padding: 6px 36px 6px 12px;
            border-radius: 6px;
            border: 1px solid rgba(209, 213, 219, 1);
            background: #ffffff;
            color: #374151;
            font-size: 0.8rem;
            transition: all 0.2s;
            text-align: left;
            unicode-bidi: plaintext;
            height: 32px;
            box-sizing: border-box;
        }

        .supervisor-search-wrapper input:focus {
            border-color: #1e3a8a;
            box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
            outline: none;
        }

        .supervisor-search-wrapper i {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
            pointer-events: none;
            font-size: 0.8rem;
        }

        /* Checkbox */
        .supervisor-row-checkbox {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #1e3a8a;
        }

        .supervisor-select-all-checkbox {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #1e3a8a;
        }

        /* Spinner */
        .btn-spinner {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top-color: #ffffff;
            border-radius: 50%;
            animation: btn-spin 0.6s linear infinite;
            margin-right: 6px;
            vertical-align: middle;
        }
        @keyframes btn-spin {
            to { transform: rotate(360deg); }
        }
        .btn-loading {
            pointer-events: none !important;
            opacity: 0.85 !important;
        }
        .btn-loading .btn-text {
            display: inline-block !important;
            color: #fff;
        }
        .btn-loading .btn-spinner {
            display: inline-block !important;
        }
        .btn-spinner-hidden {
            display: none;
        }

        /* Ripple */
        .btn-ripple {
            position: relative;
            overflow: hidden;
        }
        .btn-ripple::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 5px;
            height: 5px;
            background: rgba(255, 255, 255, 0.5);
            opacity: 0;
            border-radius: 100%;
            transform: scale(1) translate(-50%, -50%);
            transform-origin: 50% 50%;
            pointer-events: none;
        }
        .btn-ripple.btn-pressed::after {
            animation: ripple-effect 0.4s ease-out;
        }
        @keyframes ripple-effect {
            0% { transform: scale(0) translate(-50%, -50%); opacity: 0.6; }
            100% { transform: scale(40) translate(-50%, -50%); opacity: 0; }
        }

        /* override btn */
        #supervisor-teachers-page #distribute-btn.btn,
        #supervisor-toolbar #distribute-btn.btn,
        #distribute-btn.btn {
            display: inline-flex !important;
            align-items: center;
            gap: 6px;
            background: linear-gradient(135deg, #6f42c1, #5a32a3) !important;
            color: #ffffff !important;
            border: none !important;
            border-radius: 8px !important;
            padding: 6px 14px !important;
            font-size: 0.8rem !important;
            font-weight: 600 !important;
            cursor: pointer !important;
            box-shadow: 0 2px 8px rgba(111, 66, 193, 0.35) !important;
            transition: transform 0.1s ease, box-shadow 0.15s ease !important;
            user-select: none;
            position: relative;
            overflow: hidden;
            transform: scale(1);
            text-decoration: none !important;
            line-height: 1.2;
            min-height: auto;
        }

        #supervisor-teachers-page #distribute-btn.btn:hover,
        #supervisor-toolbar #distribute-btn.btn:hover,
        #distribute-btn.btn:hover {
            transform: translateY(-2px) scale(1.02) !important;
            box-shadow: 0 6px 16px rgba(111, 66, 193, 0.45) !important;
            background: linear-gradient(135deg, #7d4cdb, #6b3fb8) !important;
        }

        #supervisor-teachers-page #distribute-btn.btn.btn-pressed,
        #supervisor-toolbar #distribute-btn.btn.btn-pressed,
        #distribute-btn.btn.btn-pressed,
        #supervisor-teachers-page #distribute-btn.btn:active,
        #supervisor-toolbar #distribute-btn.btn:active,
        #distribute-btn.btn:active {
            transform: translateY(2px) scale(0.92) !important;
            box-shadow: 0 2px 8px rgba(111, 66, 193, 0.25) !important;
            background: linear-gradient(135deg, #4a2880, #3a1d6a) !important;
            transition: none !important;
        }

        #supervisor-teachers-page #distribute-btn.btn[disabled],
        #supervisor-toolbar #distribute-btn.btn[disabled],
        #distribute-btn.btn[disabled],
        #supervisor-teachers-page #distribute-btn.btn[style*="pointer-events: none"],
        #supervisor-toolbar #distribute-btn.btn[style*="pointer-events: none"],
        #distribute-btn.btn[style*="pointer-events: none"] {
            opacity: 0.5 !important;
            cursor: not-allowed !important;
            transform: none !important;
            box-shadow: none !important;
        }

        #supervisor-teachers-page #distribute-btn.btn[disabled]:hover,
        #supervisor-toolbar #distribute-btn.btn[disabled]:hover,
        #distribute-btn.btn[disabled]:hover {
            opacity: 0.6 !important;
        }

        #distribute-btn #distribute-count {
            background: rgba(255, 255, 255, 0.95);
            color: #6f42c1;
            border-radius: 999px;
            padding: 1px 7px;
            font-weight: 700;
            font-size: 0.75rem;
            min-width: 18px;
            text-align: center;
            display: inline-block;
        }

        /* Section */
        #group-distribution-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.25);
            z-index: 20000;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        #group-distribution-modal-overlay.active {
            display: flex;
        }

        .group-distribution-modal {
            background: #ffffff;
            width: 520px;
            max-width: 100%;
            max-height: 90vh;
            border-radius: 10px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            animation: modalSlideIn 0.25s ease;
        }

        @keyframes modalSlideIn {
            from { opacity: 0; transform: translateY(-20px) scale(0.97); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        .group-modal-header {
            padding: 16px 20px;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #fafafa;
        }

        .group-modal-header h3 {
            margin: 0;
            font-size: 16px;
            color: #444;
            font-weight: 600;
        }

        .group-modal-close {
            cursor: pointer;
            color: #999;
            font-size: 22px;
            line-height: 1;
            padding: 4px;
            border-radius: 4px;
            transition: all 0.2s;
        }

        .group-modal-close:hover {
            color: #e74c3c;
            background: rgba(231, 76, 60, 0.1);
        }

        .group-modal-body {
            padding: 20px;
            overflow-y: auto;
            flex: 1;
        }

        .group-modal-table-container {
            border: 1px solid #e8e8e8;
            border-radius: 6px;
            overflow: hidden;
            margin-bottom: 16px;
        }

        .group-modal-table {
            width: 100%;
            border-collapse: collapse;
            text-align: center;
            font-size: 13px;
        }

        .group-modal-table thead {
            background: #f8f9fa;
        }

        .group-modal-table th {
            padding: 10px 8px;
            border-bottom: 1px solid #e8e8e8;
            color: #666;
            font-weight: 600;
            font-size: 12px;
            white-space: nowrap;
        }

        .group-modal-table td {
            padding: 10px 8px;
            border-bottom: 1px solid #f0f0f0;
            color: #444;
        }

        .group-modal-table tbody tr:last-child td {
            border-bottom: none;
        }

        .group-modal-table tbody tr:hover {
            background: #f8f9ff;
        }

        .group-modal-arrow {
            text-align: center;
            color: #4a90e2;
            font-size: 28px;
            margin: 12px 0;
        }

        .group-modal-selection-box {
            border: 2px dashed #c2b2e9;
            padding: 16px;
            border-radius: 8px;
            background: #fdfdff;
        }

        .group-modal-form-group {
            margin-bottom: 14px;
        }

        .group-modal-form-group label {
            display: block;
            font-size: 13px;
            margin-bottom: 6px;
            color: #555;
            font-weight: 500;
        }

        .group-modal-form-group select {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 6px;
            background: #fff;
            outline: none;
            font-size: 13px;
            color: #444;
            cursor: pointer;
            transition: border-color 0.2s;
        }

        .group-modal-form-group select:focus {
            border-color: #6f42c1;
            box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.1);
        }

        .group-modal-new-group-btn {
            color: #17a2b8;
            background: none;
            border: 1px solid #17a2b8;
            padding: 5px 12px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 12px;
            transition: all 0.2s;
        }

        .group-modal-new-group-btn:hover {
            background: #17a2b8;
            color: #fff;
        }

        .group-modal-footer {
            padding: 14px 20px;
            border-top: 1px solid #eee;
            text-align: left;
            background: #fafafa;
        }

        .group-modal-save-btn {
            background: linear-gradient(135deg, #6f42c1, #5a32a3);
            color: white;
            border: none;
            padding: 9px 28px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
            user-select: none;
            transform: scale(1);
        }

        .group-modal-save-btn:hover:not(:disabled) {
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 6px 16px rgba(111, 66, 193, 0.4);
            background: linear-gradient(135deg, #7d4cdb, #6b3fb8);
        }

        .group-modal-save-btn.btn-pressed,
        .group-modal-save-btn:active:not(:disabled) {
            transform: translateY(2px) scale(0.92) !important;
            box-shadow: 0 2px 8px rgba(111, 66, 193, 0.25) !important;
            background: linear-gradient(135deg, #4a2880, #3a1d6a) !important;
        }

        .group-modal-save-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
            transform: none !important;
            box-shadow: none !important;
            background: linear-gradient(135deg, #6f42c1, #5a32a3) !important;
        }

        .group-modal-save-btn:disabled:hover {
            opacity: 0.5;
        }

        .group-modal-empty-state {
            text-align: center;
            padding: 30px;
            color: #999;
            font-size: 14px;
        }

        /* Section */
        .group-batch-indicator {
            background: linear-gradient(135deg, #6f42c1, #5a32a3);
            color: #fff;
            padding: 10px 16px;
            border-radius: 8px;
            margin-bottom: 12px;
            font-size: 13px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }

        .group-batch-indicator .batch-lang {
            font-weight: 700;
            font-size: 14px;
        }

        .group-batch-indicator .batch-count {
            background: rgba(255,255,255,0.2);
            padding: 2px 10px;
            border-radius: 12px;
            font-size: 12px;
        }

        .group-batch-warning {
            background: #fff3cd;
            border: 1px solid #ffc107;
            color: #856404;
            padding: 10px 14px;
            border-radius: 6px;
            margin-bottom: 12px;
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .group-batch-warning i {
            font-size: 16px;
            color: #ffc107;
        }

        /* Section */
        #new-group-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(15, 23, 42, 0.55);
            backdrop-filter: blur(3px);
            z-index: 21000;
            justify-content: center;
            align-items: center;
            padding: 20px;
            animation: overlayFadeIn 0.2s ease;
        }
        @keyframes overlayFadeIn { from { opacity: 0; } to { opacity: 1; } }

        #new-group-modal-overlay.active {
            display: flex;
            opacity: 1;
        }

        .new-group-modal {
            opacity: 1;
            background: #ffffff;
            width: 540px;
            max-width: 100%;
            border-radius: 14px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        @keyframes modalSlideIn {
            from { transform: translateY(-30px) scale(0.95); opacity: 0; }
            to { transform: translateY(0) scale(1); opacity: 1; }
        }

        .new-group-modal-header {
            padding: 20px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
            color: #fff;
            position: relative;
            overflow: hidden;
        }
        .new-group-modal-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
            pointer-events: none;
        }

        .new-group-modal-header h3 {
            margin: 0;
            font-size: 17px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
            position: relative;
            z-index: 1;
        }
        .new-group-modal-header h3 i {
            font-size: 20px;
            background: rgba(255,255,255,0.2);
            padding: 8px;
            border-radius: 10px;
        }

        .new-group-modal-close {
            cursor: pointer;
            color: #fff;
            font-size: 24px;
            line-height: 1;
            padding: 4px 8px;
            border-radius: 6px;
            transition: all 0.2s;
            background: rgba(255,255,255,0.1);
            position: relative;
            z-index: 1;
        }

        .new-group-modal-close:hover {
            background: rgba(255,255,255,0.25);
            transform: rotate(90deg);
        }

        .new-group-modal-body {
            padding: 24px;
            background: #fafbfc;
        }

        .new-group-form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
            margin-bottom: 14px;
        }
        .new-group-form-row.full {
            grid-template-columns: 1fr;
        }

        .new-group-form-group {
            margin-bottom: 14px;
        }

        .new-group-form-group label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            margin-bottom: 8px;
            color: #334155;
            font-weight: 600;
        }
        .new-group-form-group label i {
            color: #17a2b8;
            font-size: 13px;
        }

        .new-group-form-group label .required {
            color: #ef4444;
            margin-right: 2px;
            font-size: 14px;
        }

        .new-group-form-group label .optional {
            color: #94a3b8;
            font-size: 11px;
            font-weight: 400;
            margin-right: auto;
        }

        .new-group-form-group select,
        .new-group-form-group input[type="text"],
        .new-group-form-group input[type="number"],
        .new-group-form-group input[type="url"] {
            width: 100%;
            padding: 11px 14px;
            border: 1.5px solid #e2e8f0;
            border-radius: 8px;
            background: #fff;
            outline: none;
            font-size: 14.5px;
            color: #1e293b;
            cursor: pointer;
            transition: all 0.2s;
            box-sizing: border-box;
            min-height: 44px;
            line-height: 1.5;
            font-family: inherit;
        }

        .new-group-form-group select:hover,
        .new-group-form-group input:hover:not(:disabled) {
            border-color: #94a3b8;
        }

        .new-group-form-group select:focus,
        .new-group-form-group input:focus {
            border-color: #17a2b8;
            box-shadow: 0 0 0 4px rgba(23, 162, 184, 0.12);
            background: #fff;
        }

        .new-group-form-group input:disabled {
            background: #f1f5f9;
            color: #94a3b8;
            cursor: not-allowed;
            border-color: #e2e8f0;
        }

        .new-group-name-preview {
            background: linear-gradient(135deg, #e0f2fe 0%, #cffafe 100%);
            border: 2px dashed #0891b2;
            padding: 14px;
            border-radius: 10px;
            text-align: center;
            font-size: 20px;
            font-weight: 700;
            color: #0e7490;
            margin-top: 10px;
            letter-spacing: 1.5px;
            font-family: 'Courier New', monospace;
            animation: previewPulse 0.4s ease;
        }
        @keyframes previewPulse {
            from { transform: scale(0.95); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        .new-group-modal-footer {
            padding: 16px 24px;
            background: #fff;
            display: flex;
            gap: 10px;
            justify-content: flex-end;
            border-top: 1px solid #e2e8f0;
        }

        .new-group-btn-cancel {
            background: #f1f5f9;
            color: #475569;
            border: 1.5px solid #e2e8f0;
            padding: 10px 22px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .new-group-btn-cancel:hover {
            background: #e2e8f0;
            color: #1e293b;
        }

        .new-group-btn-create {
            background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
            color: white;
            border: none;
            padding: 10px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
            user-select: none;
            transform: scale(1);
            box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
            min-width: 140px;
            justify-content: center;
        }

        .new-group-btn-create:hover:not(:disabled) {
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 6px 16px rgba(23, 162, 184, 0.4);
            background: linear-gradient(135deg, #1ab5cc, #1594a8);
        }

        .new-group-btn-create.btn-pressed,
        .new-group-btn-create:active:not(:disabled) {
            transform: translateY(2px) scale(0.92) !important;
            box-shadow: 0 2px 8px rgba(23, 162, 184, 0.25) !important;
            background: linear-gradient(135deg, #0f6e7d, #0a535f) !important;
        }

        .new-group-btn-create:disabled {
            opacity: 0.4;
            cursor: not-allowed;
            transform: none !important;
            box-shadow: none !important;
            background: linear-gradient(135deg, #17a2b8, #138496) !important;
        }

        .new-group-btn-create:disabled:hover {
            opacity: 0.5;
        }

        /* Smart Assistant */
        .smart-assistant-btn {
            background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
            color: white;
            border: none;
            padding: 5px 12px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 12px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(58, 123, 213, 0.3);
            display: inline-flex;
            align-items: center;
        }
        .smart-assistant-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(58, 123, 213, 0.4);
        }
        #smart-assistant-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(10, 15, 30, 0.85);
            backdrop-filter: blur(8px);
            z-index: 25000;
            justify-content: center;
            align-items: center;
        }
        #smart-assistant-overlay.active { display: flex; }
        .sa-modal {
            background: rgba(20, 25, 45, 0.95);
            border: 1px solid rgba(100, 150, 255, 0.2);
            border-radius: 16px;
            width: 600px;
            max-width: 95%;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            box-shadow: 0 0 30px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(255,255,255,0.02);
            animation: saPopup 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            color: #fff;
        }
        @keyframes saPopup {
            0% { transform: scale(0.8); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }
        .sa-header {
            padding: 20px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(90deg, rgba(58,123,213,0.2) 0%, rgba(0,0,0,0) 100%);
        }
        .sa-header h3 { margin: 0; font-size: 1.2rem; color: #00d2ff; text-shadow: 0 0 10px rgba(0,210,255,0.5); display: flex; align-items: center; gap: 10px; }
        .sa-close { cursor: pointer; color: #888; font-size: 24px; transition: color 0.3s; }
        .sa-close:hover { color: #fff; }
        .sa-body { padding: 20px; flex: 1; overflow-y: auto; position: relative; min-height: 300px; }
        
        /* Section */
        .sa-scanner-container {
            position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            display: flex; flex-direction: column; justify-content: center; align-items: center;
            background: rgba(10, 15, 30, 0.9);
            z-index: 10;
        }
        .sa-radar {
            width: 150px; height: 150px;
            border-radius: 50%;
            border: 2px solid rgba(0, 210, 255, 0.3);
            position: relative;
            overflow: hidden;
            box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
            margin-bottom: 20px;
        }
        .sa-radar::before {
            content: ''; position: absolute; top: 50%; left: 50%;
            width: 100%; height: 100%;
            background: conic-gradient(from 0deg, rgba(0, 210, 255, 0) 70%, rgba(0, 210, 255, 0.8) 100%);
            transform-origin: 0 0;
            animation: saRadarSpin 2s linear infinite;
        }
        .sa-radar::after {
            content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            background: radial-gradient(circle, rgba(0,210,255,0.1) 0%, transparent 60%);
            border-radius: 50%;
        }
        .sa-radar-grid {
            position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            background-image: 
                linear-gradient(rgba(0, 210, 255, 0.2) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 210, 255, 0.2) 1px, transparent 1px);
            background-size: 15px 15px;
            border-radius: 50%;
            opacity: 0.5;
        }
        @keyframes saRadarSpin { 100% { transform: rotate(360deg); } }
        .sa-scan-text { font-family: monospace; color: #00d2ff; font-size: 14px; letter-spacing: 2px; }
        .sa-scan-dots::after { content: ''; animation: saDots 1.5s infinite steps(4); }
        @keyframes saDots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }

        /* Section */
        .sa-results { display: none; flex-direction: column; gap: 12px; }
        .sa-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s;
        }
        .sa-card:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.01);
            border-color: rgba(0, 210, 255, 0.4);
        }
        .sa-card-info { flex: 1; }
        .sa-card-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
        .sa-card-subtitle { font-size: 0.85rem; color: #aaa; margin-bottom: 8px; }
        .sa-card-stats { display: flex; gap: 15px; font-size: 0.8rem; }
        .sa-stat { background: rgba(0,0,0,0.3); padding: 4px 8px; border-radius: 4px; display: flex; gap: 5px; align-items: center; }
        
        .sa-status-badge {
            padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
            display: inline-block; text-align: center; margin-left: 15px; min-width: 80px;
        }
        .status-excellent { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
        .status-medium { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
        .status-busy { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

    

/* ---- page-range extract: supervisor-teachers (1 blocks) ---- */
/* block 1 */

        /* Section */
        .filters-panel-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 16px 20px;
            margin: 12px 0;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        .filters-grid-row {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 12px;
            margin-bottom: 12px;
        }
        .filters-grid-row:last-of-type {
            margin-bottom: 0;
        }
        .filter-grid-cell {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .filter-grid-label {
            font-size: 0.75rem;
            font-weight: 600;
            color: #64748b;
            text-align: center;
            white-space: nowrap;
        }
        .filter-grid-input,
        .filter-grid-select {
            width: 100%;
            height: 34px;
            padding: 0 10px;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            background: #ffffff;
            color: #374151;
            font-size: 0.8rem;
            transition: border-color 0.15s, box-shadow 0.15s;
            outline: none;
        }
        .filter-grid-input:focus,
        .filter-grid-select:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
        }
        .filter-grid-input::placeholder {
            color: #9ca3af;
            font-size: 0.75rem;
        }
        .filter-grid-select {
            appearance: auto;
            cursor: pointer;
        }
        .filters-actions-row {
            display: flex;
            justify-content: flex-end;
            gap: 8px;
            margin-top: 12px;
            padding-top: 10px;
            border-top: 1px solid #f1f5f9;
        }
        .filter-action-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 16px;
            border: none;
            border-radius: 6px;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.15s ease;
        }
        .filter-action-btn.btn-search {
            background: #10b981;
            color: #ffffff;
        }
        .filter-action-btn.btn-search:hover {
            background: #059669;
        }
        .filter-action-btn.btn-reset {
            background: #f59e0b;
            color: #ffffff;
        }
        .filter-action-btn.btn-reset:hover {
            background: #d97706;
        }
        /* Supervision advanced filters: premium card */
        .supervisor-filters-card {
            border: 1px solid #e0e7ff;
            border-top: 4px solid #4f46e5;
            border-radius: 14px;
            box-shadow: 0 8px 24px rgba(79, 70, 229, 0.10);
            padding: 14px 20px 12px;
        }
        .filters-panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            flex-wrap: wrap;
            padding-bottom: 8px;
            margin-bottom: 10px;
            border-bottom: 1px solid #eef2ff;
        }
        .filters-panel-title {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.95rem;
            font-weight: 800;
            color: #312e81;
        }
        .filters-panel-title i {
            color: #4f46e5;
        }
        .filters-panel-actions {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .supervisor-filters-card .filters-grid-row {
            grid-template-columns: repeat(6, 1fr);
            gap: 10px;
            margin-bottom: 10px;
        }
        .supervisor-filters-card .filter-span-2 {
            grid-column: span 2;
        }
        .supervisor-filters-card .filter-grid-label {
            color: #4338ca;
            font-size: 0.78rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }
        .supervisor-filters-card .filter-grid-label i {
            color: #7c3aed;
            font-size: 0.72rem;
        }
        .supervisor-filters-card .filter-grid-input,
        .supervisor-filters-card .filter-grid-select {
            height: 35px;
            border-radius: 9px;
            border: 1px solid #c7d2fe;
            background: #fbfbff;
            font-size: 0.82rem;
        }
        .supervisor-filters-card .filter-grid-input:focus,
        .supervisor-filters-card .filter-grid-select:focus {
            border-color: #4f46e5;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
        }
        .supervisor-filters-card .filters-actions-row {
            border-top: 1px solid #eef2ff;
            margin-top: 14px;
            padding-top: 12px;
        }
        .supervisor-filters-card .filter-action-btn {
            padding: 8px 22px;
            border-radius: 9px;
            font-size: 0.85rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
        }
        .supervisor-filters-card .filter-action-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        .supervisor-filters-card .filter-action-btn.btn-search {
            background: linear-gradient(135deg, #4f46e5, #7c3aed);
        }
        /* Date range (from-to) inside one filter cell */
        .filter-date-range {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .filter-date-range.inline {
            flex-direction: row;
            gap: 8px;
        }
        .filter-date-range.inline .filter-date-field {
            flex: 1;
            min-width: 0;
        }
        .filter-date-field {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .filter-date-field .date-cap {
            min-width: 26px;
            font-size: 0.72rem;
            font-weight: 700;
            color: #7c3aed;
            text-align: center;
            background: #f5f3ff;
            border: 1px solid #e0e7ff;
            border-radius: 6px;
            padding: 2px 4px;
        }
        .filter-date-input {
            flex: 1;
            min-width: 0;
            direction: ltr;
        }
        @media (max-width: 1024px) {
            .filters-grid-row {
                grid-template-columns: repeat(3, 1fr);
            }
            .supervisor-filters-card .filters-grid-row {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        @media (max-width: 640px) {
            .filters-grid-row {
                grid-template-columns: repeat(2, 1fr);
            }
            .supervisor-filters-card .filters-grid-row {
                grid-template-columns: repeat(2, 1fr);
            }
            .supervisor-filters-card .filter-span-2 {
                grid-column: span 2;
            }
        }
        @media (max-width: 480px) {
            .filters-grid-row {
                grid-template-columns: 1fr;
            }
            .supervisor-filters-card .filters-grid-row {
                grid-template-columns: 1fr;
            }
            .supervisor-filters-card .filter-span-2 {
                grid-column: span 1;
            }
            .filter-input, .filter-select {
                min-width: auto;
                width: 100%;
            }
        }

        /* ================= Supervisor main tabs (queue vs Wassel) ================= */
        .supervisor-tab-bar {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 18px 0 4px;
            flex-wrap: wrap;
        }
        .supervisor-tab {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 26px;
            border-radius: 12px;
            border: 1.5px solid #e2e8f0;
            background: #fff;
            color: #475569;
            font-size: 0.9rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            font-family: inherit;
        }
        .supervisor-tab:hover {
            border-color: #4f46e5;
            color: #4f46e5;
        }
        .supervisor-tab.active {
            background: linear-gradient(135deg, #4f46e5, #7c3aed);
            border-color: transparent;
            color: #fff;
            box-shadow: 0 3px 14px rgba(79, 70, 229, 0.35);
        }
        .supervisor-tab i { font-size: 0.95rem; }

        /* TEMP: hide the Wassel group button. Remove to restore. */
        #wassel-open-btn { display: none !important; }

        /* TEMP: hide the Wassel platform tab. Remove to restore. */
        #supervisor-tab-wassel { display: none !important; }

        /* ================= Wassel WhatsApp group modal ================= */
        #wassel-group-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(15, 23, 42, 0.55);
            backdrop-filter: blur(3px);
            z-index: 21000;
            justify-content: center;
            align-items: center;
            padding: 20px;
            animation: overlayFadeIn 0.2s ease;
        }
        #wassel-group-modal-overlay.active {
            display: flex;
            opacity: 1;
        }

        .wassel-modal {
            background: #ffffff;
            width: 600px;
            max-width: 100%;
            max-height: 92vh;
            border-radius: 14px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .wassel-modal-header {
            padding: 20px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
            color: #fff;
            position: relative;
            overflow: hidden;
        }
        .wassel-modal-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
            pointer-events: none;
        }
        .wassel-modal-header h3 {
            margin: 0;
            font-size: 17px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
            position: relative;
            z-index: 1;
        }
        .wassel-modal-header h3 i {
            font-size: 20px;
            background: rgba(255,255,255,0.2);
            padding: 8px;
            border-radius: 10px;
        }
        .wassel-modal-close {
            cursor: pointer;
            color: #fff;
            font-size: 24px;
            line-height: 1;
            padding: 4px 8px;
            border-radius: 6px;
            transition: all 0.2s;
            background: rgba(255,255,255,0.1);
            position: relative;
            z-index: 1;
        }
        .wassel-modal-close:hover {
            background: rgba(255,255,255,0.25);
            transform: rotate(90deg);
        }

        .wassel-modal-body {
            padding: 24px;
            background: #fafbfc;
            overflow-y: auto;
        }

        .wassel-selected-summary {
            display: flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(18, 140, 126, 0.08));
            border: 1px solid rgba(37, 211, 102, 0.35);
            color: #0f766e;
            border-radius: 10px;
            padding: 10px 14px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 16px;
        }
        .wassel-selected-summary i {
            color: #128C7E;
            font-size: 15px;
        }

        .wassel-form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
            margin-bottom: 4px;
        }
        @media (max-width: 560px) {
            .wassel-form-row { grid-template-columns: 1fr; }
        }

        .wassel-form-group {
            margin-bottom: 14px;
        }
        .wassel-form-group label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            margin-bottom: 8px;
            color: #334155;
            font-weight: 600;
        }
        .wassel-form-group label i {
            color: #128C7E;
            font-size: 13px;
        }
        .wassel-form-group label .required {
            color: #ef4444;
        }
        .wassel-form-group label .optional {
            color: #94a3b8;
            font-size: 11px;
            font-weight: 500;
        }
        .wassel-form-group select,
        .wassel-form-group input[type="text"],
        .wassel-form-group input[type="number"] {
            width: 100%;
            padding: 10px 12px;
            border: 1.5px solid #e2e8f0;
            border-radius: 9px;
            font-size: 13.5px;
            color: #1e293b;
            background: #fff;
            transition: all 0.2s;
            box-sizing: border-box;
            font-family: inherit;
        }
        .wassel-form-group input[type="file"] {
            width: 100%;
            font-size: 12px;
            color: #475569;
            padding: 7px;
            border: 1.5px dashed #cbd5e1;
            border-radius: 9px;
            background: #fff;
            cursor: pointer;
            box-sizing: border-box;
        }
        .wassel-form-group select:hover,
        .wassel-form-group input:hover {
            border-color: #25D366;
        }
        .wassel-form-group select:focus,
        .wassel-form-group input:focus {
            outline: none;
            border-color: #128C7E;
            box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
        }

        .wassel-phone-hint {
            margin-top: 6px;
            font-size: 12px;
            color: #0f766e;
            background: rgba(37, 211, 102, 0.1);
            border-radius: 6px;
            padding: 4px 10px;
            display: inline-block;
            direction: ltr;
        }

        .wassel-image-preview {
            position: relative;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 8px;
        }
        .wassel-image-preview img {
            width: 64px;
            height: 64px;
            object-fit: cover;
            border-radius: 10px;
            border: 2px solid #e2e8f0;
        }
        .wassel-image-remove {
            position: absolute;
            top: -6px;
            right: -6px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            border: none;
            background: #ef4444;
            color: #fff;
            font-size: 14px;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
        }

        .wassel-alert {
            border-radius: 10px;
            padding: 10px 14px;
            font-size: 12.5px;
            font-weight: 600;
            margin-bottom: 14px;
            line-height: 1.6;
        }
        .wassel-alert-error {
            background: #fef2f2;
            color: #b91c1c;
            border: 1px solid #fecaca;
        }
        .wassel-alert-warn {
            background: #fffbeb;
            color: #b45309;
            border: 1px solid #fde68a;
        }

        .wassel-modal-footer {
            padding: 16px 24px;
            background: #fff;
            border-top: 1px solid #eef2f7;
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }
        .wassel-btn-cancel {
            padding: 10px 20px;
            border-radius: 9px;
            border: 1.5px solid #e2e8f0;
            background: #fff;
            color: #475569;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-family: inherit;
        }
        .wassel-btn-cancel:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
        }
        .wassel-btn-send {
            padding: 10px 24px;
            border-radius: 9px;
            border: none;
            background: linear-gradient(135deg, #25D366, #128C7E);
            color: #fff;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
            font-family: inherit;
        }
        .wassel-btn-send:hover:not(:disabled) {
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
        }
        .wassel-btn-send:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            box-shadow: none;
        }

    