        @import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');

        /* DESIGN SYSTEM & THEME TOKENS */
        :root {
            --primary: #38b1b1;
            --primary-hover: #2ca0a0;
            --primary-glow: rgba(56, 177, 177, 0.45);
            --primary-light: rgba(56, 177, 177, 0.12);
            --bg-gradient: radial-gradient(circle at 50% 0%, #0c2626 0%, #0c0f1d 65%, #05070e 100%);
            --card-bg: rgba(18, 24, 38, 0.95);
            --form-side-bg: #151d32;
            --form-card-glow: 0 0 45px rgba(56, 177, 177, 0.18);
            --info-side-bg: #090d19;
            --card-border: rgba(255, 255, 255, 0.1);
            --form-border: rgba(56, 177, 177, 0.25);
            --input-bg: rgba(10, 14, 26, 0.85);
            --input-border: rgba(255, 255, 255, 0.16);
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --text-heading: #ffffff;
            --badge-bg: rgba(56, 177, 177, 0.15);
            --badge-border: rgba(56, 177, 177, 0.35);
            --badge-text: #a5f3fc;
            --tab-bg: rgba(10, 14, 26, 0.75);
            --toggle-card-bg: rgba(15, 23, 42, 0.65);
            --toggle-card-border: rgba(255, 255, 255, 0.1);
            --glass-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06);
            --float-shape-1: rgba(56, 177, 177, 0.2);
            --float-shape-2: rgba(168, 85, 247, 0.18);
            --select-bg: #1e293b;
        }

        /* LIGHT MODE TOKENS */
        [data-theme="light"] {
            --primary: #38b1b1;
            --primary-hover: #2ca0a0;
            --primary-glow: rgba(56, 177, 177, 0.35);
            --primary-light: rgba(56, 177, 177, 0.08);
            --bg-gradient: radial-gradient(circle at 50% 0%, #e0f6f6 0%, #f1f5f9 60%, #e2e8f0 100%);
            --card-bg: #ffffff;
            --form-side-bg: #ffffff;
            --form-card-glow: 0 15px 40px rgba(56, 177, 177, 0.12);
            --info-side-bg: #f8fafc;
            --card-border: rgba(203, 213, 225, 0.85);
            --form-border: rgba(56, 177, 177, 0.25);
            --input-bg: #ffffff;
            --input-border: #cbd5e1;
            --text-main: #334155;
            --text-muted: #64748b;
            --text-heading: #0f172a;
            --badge-bg: rgba(56, 177, 177, 0.12);
            --badge-border: rgba(56, 177, 177, 0.3);
            --badge-text: #1f7575;
            --tab-bg: #e2e8f0;
            --toggle-card-bg: #ffffff;
            --toggle-card-border: #cbd5e1;
            --glass-shadow: 0 25px 50px -12px rgba(100, 116, 139, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.8);
            --float-shape-1: rgba(56, 177, 177, 0.12);
            --float-shape-2: rgba(168, 85, 247, 0.1);
            --select-bg: #ffffff;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Sora', sans-serif;
            transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
        }

        body,
        input,
        select,
        textarea,
        button,
        .select2-container {
            font-family: 'Sora', sans-serif;
        }

        *:not(i):not([class*="fa-"]) {
            font-family: 'Sora', sans-serif;
        }

        .fa, .fas, .fa-solid {
            font-family: "Font Awesome 6 Free" !important;
            font-weight: 900 !important;
        }
        .far, .fa-regular {
            font-family: "Font Awesome 6 Free" !important;
            font-weight: 400 !important;
        }
        .fab, .fa-brands {
            font-family: "Font Awesome 6 Brands" !important;
            font-weight: 400 !important;
        }

        body {
            background: var(--bg-gradient);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 30px 16px;
            color: var(--text-main);
            position: relative;
            overflow-x: hidden;
        }

        /* 3D FLOATING BACKGROUND SHAPES */
        .ambient-glow {
            position: absolute;
            width: 550px;
            height: 550px;
            background: radial-gradient(circle, var(--float-shape-1) 0%, rgba(56, 177, 177, 0) 70%);
            top: -100px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 0;
            pointer-events: none;
        }

        .shape-3d-1 {
            position: absolute;
            width: 220px;
            height: 220px;
            border-radius: 40px;
            background: linear-gradient(135deg, var(--float-shape-1), var(--float-shape-2));
            filter: blur(45px);
            top: 10%;
            left: 5%;
            animation: float3D 12s ease-in-out infinite alternate;
            z-index: 0;
            pointer-events: none;
        }

        .shape-3d-2 {
            position: absolute;
            width: 260px;
            height: 260px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--float-shape-2), var(--float-shape-1));
            filter: blur(55px);
            bottom: 8%;
            right: 5%;
            animation: float3D 14s ease-in-out infinite alternate-reverse;
            z-index: 0;
            pointer-events: none;
        }

        @keyframes float3D {
            0% {
                transform: translateY(0px) rotate(0deg);
            }

            50% {
                transform: translateY(-15px) rotate(8deg);
            }

            100% {
                transform: translateY(10px) rotate(-6deg);
            }
        }

        /* THEME TOGGLE BUTTON */
        .theme-toggle-floating {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 99;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            color: var(--text-heading);
            width: 44px;
            height: 44px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            cursor: pointer;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .theme-toggle-floating:hover {
            transform: scale(1.1) rotate(15deg);
            border-color: var(--primary);
            color: var(--primary);
        }

        /* PORTAL WRAPPER */
        .portal-wrapper {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: 1fr 1.08fr;
            width: 100%;
            max-width: 1160px;
            min-height: 720px;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 28px;
            box-shadow: var(--glass-shadow);
            backdrop-filter: blur(28px);
            -webkit-backdrop-filter: blur(28px);
            overflow: hidden;
            margin: auto;
            align-items: stretch;
        }

        /* LEFT COLUMN */
        .info-side {
            background: var(--info-side-bg);
            border-right: 1px solid var(--card-border);
            padding: 40px 36px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
        }

        .info-side::before {
            content: '';
            position: absolute;
            top: -80px;
            left: -80px;
            width: 240px;
            height: 240px;
            border-radius: 50%;
            background: radial-gradient(circle, var(--primary-glow) 0%, rgba(56, 177, 177, 0) 70%);
            pointer-events: none;
        }

        .event-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--badge-bg);
            border: 1px solid var(--badge-border);
            padding: 6px 14px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 700;
            color: var(--badge-text);
            margin-bottom: 20px;
            width: fit-content;
        }

        .event-title {
            font-size: 20px;
            font-weight: 800;
            color: var(--text-heading);
            line-height: 1.3;
            margin-bottom: 12px;
            letter-spacing: -0.5px;
        }

        .event-desc {
            font-size: 13.5px;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 24px;
        }

        .info-cards-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
            margin-bottom: 24px;
        }

        .info-card-box {
            background: var(--toggle-card-bg);
            border: 1px solid var(--toggle-card-border);
            border-radius: 16px;
            padding: 16px;
            transition: all 0.25s;
        }

        .info-card-box:hover {
            transform: translateY(-2px);
            border-color: var(--primary);
            box-shadow: 0 4px 12px var(--primary-glow);
        }

        .info-card-box .icon-box {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: var(--primary-light);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            margin-bottom: 10px;
        }

        .info-card-box h4 {
            font-size: 13.5px;
            font-weight: 700;
            color: var(--text-heading);
            margin-bottom: 4px;
        }

        .info-card-box p {
            font-size: 11.5px;
            color: var(--text-muted);
            line-height: 1.4;
        }

        .timeline-box {
            background: var(--tab-bg);
            border: 1px solid var(--card-border);
            border-radius: 18px;
            padding: 18px 20px;
            margin-bottom: 20px;
        }

        .timeline-box h5 {
            font-size: 13px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .timeline-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .timeline-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            font-size: 12px;
        }

        .timeline-dot {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            font-size: 10px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-top: 1px;
            transition: all 0.25s ease;
        }

        .timeline-item.active .timeline-dot {
            background: #eab308;
            color: #0f172a;
            box-shadow: 0 0 10px rgba(234, 179, 8, 0.55);
            font-weight: 800;
        }

        .timeline-item.active .timeline-content strong {
            color: var(--primary);
            font-weight: 800;
        }

        .timeline-item.completed .timeline-dot {
            background: #10b981;
            color: #ffffff;
        }

        .timeline-content strong {
            color: var(--text-heading);
            display: block;
            font-size: 12.5px;
        }

        .timeline-content span {
            color: var(--text-muted);
        }

        .info-footer {
            font-size: 12px;
            color: var(--text-muted);
            border-top: 1px solid var(--card-border);
            padding-top: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .info-footer strong {
            color: var(--text-heading);
        }

        /* RIGHT COLUMN: FORM */
        .form-side {
            background: var(--form-side-bg);
            padding: 38px 36px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            overflow-y: auto;
            position: relative;
            box-shadow: var(--form-card-glow);
            border-left: 1px solid var(--form-border);
        }

        .form-content-wrap {
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-height: 100%;
        }

        .org-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background: var(--badge-bg);
            border: 1px solid var(--badge-border);
            padding: 8px 18px;
            border-radius: 100px;
            margin: 0 auto 16px auto;
            width: fit-content;
            box-shadow: 0 4px 12px rgba(56, 177, 177, 0.15);
        }

        .org-badge .icon-wrap {
            font-size: 12px;
            background: var(--primary);
            color: white;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 6px var(--primary-glow);
        }

        .org-badge span.text {
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            color: var(--badge-text);
        }

        .header {
            text-align: center;
            margin-bottom: 20px;
        }

        .logo-symbol-3d {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 64px;
            height: 64px;
            background: #fff;
            border-radius: 16px;
            margin-bottom: 10px;
            box-shadow: 0 8px 0 #e2e8f0, 0 12px 20px rgba(15, 61, 46, 0.18);
            padding: 6px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .logo-symbol-3d img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 18%;
            display: block;
        }

        .logo-symbol-3d:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 0 #e2e8f0, 0 16px 25px rgba(15, 61, 46, 0.2);
        }

        .header h1 {
            font-size: 23px;
            font-weight: 800;
            color: var(--text-heading);
            margin-bottom: 4px;
            letter-spacing: -0.5px;
        }

        .header p {
            font-size: 12.5px;
            color: var(--text-muted);
            line-height: 1.5;
        }

        .tabs {
            display: flex;
            background: var(--tab-bg);
            border-radius: 16px;
            padding: 5px;
            margin-bottom: 20px;
            border: 1px solid var(--card-border);
            gap: 5px;
        }

        .tab-btn {
            flex: 1;
            padding: 11px 12px;
            border: none;
            background: transparent;
            color: var(--text-muted);
            font-weight: 600;
            font-size: 13px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.25s;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            white-space: nowrap;
        }

        .tab-btn:hover {
            color: var(--text-heading);
            transform: translateY(-2px);
        }

        .tab-btn:disabled,
        .tab-btn.disabled {
            opacity: 0.6;
            cursor: not-allowed !important;
            transform: none !important;
            box-shadow: none !important;
        }

        .tab-btn:disabled:hover,
        .tab-btn.disabled:hover {
            color: var(--text-muted) !important;
            transform: none !important;
        }

        .tab-closed-badge {
            display: inline-flex;
            align-items: center;
            gap: 3px;
            font-size: 10px;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 99px;
            background: rgba(239, 68, 68, 0.18);
            color: #f87171;
            border: 1px solid rgba(239, 68, 68, 0.35);
            margin-left: 4px;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .tab-btn.active {
            background: var(--primary);
            color: #ffffff;
            box-shadow: 0 4px 0 #1f7575, 0 8px 18px var(--primary-glow);
            font-weight: 700;
            transform: translateY(-1px);
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 13px;
        }

        .col-span-2 {
            grid-column: span 2;
        }

        .form-group {
            margin-bottom: 14px;
            position: relative;
        }

        label {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 8px;
            font-size: 12.5px;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 6px;
            text-align: left;
        }

        label .label-title {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            text-align: left;
        }

        label .label-hint {
            margin-left: auto;
            font-size: 11px;
            color: var(--text-muted);
            font-weight: normal;
        }

        .password-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .password-wrapper input {
            padding-right: 44px !important;
        }

        .toggle-password-btn {
            position: absolute;
            right: 12px;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 6px;
            font-size: 15px;
            transition: all 0.2s;
        }

        .toggle-password-btn:hover {
            color: var(--primary);
            transform: scale(1.1);
        }

        input,
        select,
        textarea {
            width: 100%;
            padding: 11px 14px;
            background: var(--input-bg);
            border: 1px solid var(--input-border);
            border-radius: 12px;
            color: var(--text-heading);
            font-size: 13.5px;
            outline: none;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
            transition: all 0.25s;
        }

        input:focus,
        select:focus,
        textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 4px 15px var(--primary-glow), inset 0 1px 2px rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }

        /* SELECT2 DARK & LIGHT MODE STYLES */
        .select2-container {
            width: 100% !important;
        }

        .select2-container .select2-selection--single {
            height: 44px !important;
            background: var(--input-bg) !important;
            border: 1px solid var(--input-border) !important;
            border-radius: 12px !important;
            display: flex !important;
            align-items: center !important;
            padding: 0 6px !important;
            transition: all 0.25s !important;
        }

        .select2-container--default .select2-selection--single .select2-selection__rendered {
            color: var(--text-heading) !important;
            font-size: 13.5px !important;
            line-height: 42px !important;
            padding-left: 8px !important;
        }

        .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 42px !important;
            right: 8px !important;
        }

        .select2-container--default .select2-selection--single .select2-selection__arrow b {
            border-color: var(--text-muted) transparent transparent transparent !important;
        }

        .select2-container--default.select2-container--open .select2-selection--single {
            border-color: var(--primary) !important;
            box-shadow: 0 4px 15px var(--primary-glow) !important;
        }

        .select2-dropdown {
            background: var(--card-bg) !important;
            border: 1px solid var(--card-border) !important;
            border-radius: 12px !important;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
            backdrop-filter: blur(20px) !important;
            z-index: 9999 !important;
            overflow: hidden !important;
        }

        .select2-search--dropdown {
            padding: 8px !important;
        }

        .select2-search--dropdown .select2-search__field {
            background: var(--input-bg) !important;
            border: 1px solid var(--input-border) !important;
            border-radius: 8px !important;
            color: var(--text-heading) !important;
            padding: 7px 10px !important;
            font-size: 13px !important;
            outline: none !important;
        }

        .select2-results__option {
            padding: 8px 12px !important;
            font-size: 13px !important;
            color: var(--text-heading) !important;
        }

        .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
            background: var(--primary) !important;
            color: #ffffff !important;
        }

        .select2-container--default .select2-results__option--selected {
            background: var(--primary-light) !important;
            color: var(--primary) !important;
            font-weight: 700 !important;
        }

        /* LOCATION TABLE SUMMARY STYLES */
        .location-table-wrap {
            border: 1px solid var(--card-border);
            border-radius: 12px;
            overflow: hidden;
            background: var(--input-bg);
            margin-top: 6px;
        }

        .location-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 12px;
            text-align: left;
        }

        .location-table th {
            background: var(--tab-bg);
            padding: 8px 12px;
            color: var(--text-muted);
            font-weight: 600;
            border-bottom: 1px solid var(--card-border);
            text-transform: uppercase;
            font-size: 10.5px;
            letter-spacing: 0.5px;
        }

        .location-table td {
            padding: 8px 12px;
            color: var(--text-heading);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .location-table tr:last-child td {
            border-bottom: none;
        }

        .badge-code {
            display: inline-block;
            padding: 2px 7px;
            background: var(--badge-bg);
            border: 1px solid var(--badge-border);
            border-radius: 6px;
            color: var(--primary);
            font-family: monospace;
            font-weight: 700;
            font-size: 11px;
        }

        .dapo-lookup-box {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            background: rgba(14, 165, 233, 0.08);
            border: 1px solid rgba(14, 165, 233, 0.25);
            border-radius: 10px;
            padding: 8px 12px;
            margin-top: 6px;
            font-size: 11.5px;
            color: var(--text-muted);
        }

        .dapo-lookup-box a {
            color: #38bdf8;
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .dapo-lookup-box a:hover {
            text-decoration: underline;
        }

        .school-notice-box {
            background: var(--primary-light);
            border: 1px solid var(--badge-border);
            border-radius: 14px;
            padding: 12px 15px;
            margin-bottom: 16px;
            font-size: 12px;
            color: var(--text-main);
            line-height: 1.5;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            text-align: left;
        }

        .school-notice-box .icon {
            font-size: 16px;
            color: var(--primary);
            flex-shrink: 0;
            margin-top: 2px;
        }

        .pwd-strength-bar {
            height: 4px;
            background: rgba(255, 255, 255, 0.12);
            border-radius: 2px;
            overflow: hidden;
            display: flex;
            margin-top: 6px;
        }

        .pwd-strength-fill {
            height: 100%;
            width: 0%;
            transition: all 0.3s ease;
        }

        .pwd-strength-text {
            font-size: 11px;
            color: var(--text-muted);
            margin-top: 4px;
            display: flex;
            justify-content: space-between;
        }

        .btn-submit {
            width: 100%;
            padding: 13px 22px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
            border: none;
            border-radius: 13px;
            color: #fff;
            font-size: 14.5px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.25s;
            box-shadow: 0 6px 20px var(--primary-glow);
            margin-top: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .btn-submit:hover {
            opacity: 0.95;
            transform: translateY(-2px);
            box-shadow: 0 10px 25px var(--primary-glow);
        }

        .btn-submit:disabled {
            background: #64748b;
            cursor: not-allowed;
            box-shadow: none;
            opacity: 0.6;
            transform: none;
        }

        .email-status {
            font-size: 12px;
            margin-top: 6px;
            font-weight: 600;
            line-height: 1.4;
        }

        .email-status.wait {
            color: var(--text-muted);
        }

        .email-status.ok {
            color: #16a34a;
        }

        .email-status.bad {
            color: #dc2626;
        }

        /* MODAL */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(10px);
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.25s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 24px;
            width: 100%;
            max-width: 430px;
            padding: 30px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
            position: relative;
        }

        .modal-card .close-btn {
            position: absolute;
            top: 18px;
            right: 18px;
            background: var(--tab-bg);
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            color: var(--text-heading);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-card .close-btn:hover {
            background: #ef4444;
            color: white;
        }

        /* MODAL INFORMASI BATAS AKHIR PENDAFTARAN */
        .deadline-modal-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 26px;
            width: 100%;
            max-width: 520px;
            padding: 30px 24px 26px 24px;
            box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(56, 177, 177, 0.25);
            position: relative;
            transform: scale(0.95);
            transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal-overlay.active .deadline-modal-card {
            transform: scale(1);
        }

        .deadline-badge {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            background: rgba(245, 158, 11, 0.15);
            border: 1px solid rgba(245, 158, 11, 0.35);
            color: #d97706;
            font-size: 11.5px;
            font-weight: 800;
            padding: 5px 14px;
            border-radius: 999px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            margin-bottom: 12px;
        }

        [data-theme="dark"] .deadline-badge {
            background: rgba(245, 158, 11, 0.2);
            color: #fbbf24;
            border-color: rgba(245, 158, 11, 0.45);
        }

        .deadline-date-box {
            background: linear-gradient(135deg, rgba(56, 177, 177, 0.12) 0%, rgba(245, 158, 11, 0.08) 100%);
            border: 1.5px dashed var(--primary);
            border-radius: 16px;
            padding: 14px 16px;
            margin: 14px 0 16px 0;
            display: flex;
            align-items: center;
            gap: 14px;
            text-align: left;
        }

        .deadline-date-icon {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            background: linear-gradient(135deg, #185a5a 0%, #38b1b1 100%);
            color: white;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 4px 14px var(--primary-glow);
        }

        .deadline-date-icon .day {
            font-size: 20px;
            font-weight: 800;
            line-height: 1;
        }

        .deadline-date-icon .month {
            font-size: 9.5px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .deadline-date-info h4 {
            font-size: 15px;
            font-weight: 800;
            color: var(--text-heading);
            margin-bottom: 3px;
        }

        .deadline-date-info p {
            font-size: 12px;
            color: var(--text-muted);
            margin: 0;
            line-height: 1.4;
        }

        .deadline-message {
            font-size: 13px;
            line-height: 1.6;
            color: var(--text-main);
            margin-bottom: 16px;
            text-align: left;
        }

        .deadline-points {
            background: var(--input-bg);
            border: 1px solid var(--card-border);
            border-radius: 16px;
            padding: 14px 16px;
            margin-bottom: 18px;
            font-size: 12px;
            line-height: 1.5;
            text-align: left;
        }

        .deadline-point-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 10px;
            color: var(--text-main);
        }

        .deadline-point-item:last-child {
            margin-bottom: 0;
        }

        .deadline-point-item .point-icon {
            font-size: 13.5px;
            margin-top: 2px;
            flex-shrink: 0;
        }

        .deadline-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 6px;
        }

        .deadline-actions-row {
            display: flex;
            gap: 10px;
        }

        .btn-modal-outline {
            flex: 1;
            padding: 11px 12px;
            border-radius: 12px;
            border: 1px solid var(--card-border);
            background: var(--tab-bg);
            color: var(--text-heading);
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            text-decoration: none;
        }

        .btn-modal-outline:hover {
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-1px);
        }

        /* BANNER / TRIGGER PILL DI PORTAL */
        .deadline-pill-trigger {
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(56, 177, 177, 0.12) 100%);
            border: 1px solid rgba(245, 158, 11, 0.35);
            border-radius: 14px;
            padding: 10px 14px;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            cursor: pointer;
            transition: all 0.25s;
            color: var(--text-heading);
            font-size: 12px;
            text-align: left;
        }

        .deadline-pill-trigger:hover {
            transform: translateY(-2px);
            border-color: #38b1b1;
            box-shadow: 0 4px 15px rgba(56, 177, 177, 0.2);
        }

        .deadline-pill-trigger .pill-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: #ef4444;
            color: #fff;
            padding: 2px 8px;
            border-radius: 6px;
            font-size: 10.5px;
            font-weight: 800;
            text-transform: uppercase;
            flex-shrink: 0;
        }

        .deadline-pill-trigger .pill-text {
            flex: 1;
            line-height: 1.4;
            color: var(--text-main);
        }

        .deadline-pill-trigger .pill-text strong {
            color: #ef4444;
        }

        [data-theme="dark"] .deadline-pill-trigger .pill-text strong {
            color: #fca5a5;
        }

        /* COUNTDOWN TIMER STYLES */
        .deadline-countdown-wrap {
            background: var(--input-bg);
            border: 1px solid var(--card-border);
            border-radius: 18px;
            padding: 14px 16px;
            margin: 0 0 16px 0;
            text-align: center;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
        }

        .countdown-label {
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.8px;
            text-transform: uppercase;
            color: #ef4444;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        [data-theme="dark"] .countdown-label {
            color: #f87171;
        }

        .countdown-grid {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .countdown-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 12px;
            padding: 8px 10px;
            min-width: 60px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: transform 0.2s, border-color 0.2s;
        }

        .countdown-card.highlight-sec {
            border-color: rgba(56, 177, 177, 0.45);
            background: linear-gradient(180deg, var(--card-bg) 0%, rgba(56, 177, 177, 0.08) 100%);
        }

        .countdown-num {
            font-size: 22px;
            font-weight: 800;
            color: var(--text-heading);
            font-family: 'Sora', monospace;
            line-height: 1.1;
        }

        .countdown-card.highlight-sec .countdown-num {
            color: var(--primary);
        }

        .countdown-unit {
            font-size: 9px;
            font-weight: 700;
            color: var(--text-muted);
            letter-spacing: 0.5px;
            margin-top: 2px;
        }

        .countdown-sep {
            font-size: 18px;
            font-weight: 800;
            color: var(--text-muted);
            margin: 0 1px;
            line-height: 1;
        }

        .pill-cd-live {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            color: #ef4444;
            font-weight: 700;
        }

        [data-theme="dark"] .pill-cd-live {
            color: #fca5a5;
        }

        @media (max-width: 440px) {
            .countdown-card {
                min-width: 48px;
                padding: 6px 4px;
            }
            .countdown-num {
                font-size: 18px;
            }
            .countdown-unit {
                font-size: 8px;
            }
        }

        .footer-credit {
            margin-top: 24px;
            text-align: center;
            font-size: 11.5px;
            color: var(--text-muted);
            border-top: 1px solid var(--card-border);
            padding-top: 16px;
        }

        .hidden {
            display: none !important;
        }

        /* HEADER TOP BADGES CONTAINER */
        .info-top-badges {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .info-top-badges .event-badge {
            margin-bottom: 0;
        }

        /* NETWORK SPEED / INTERNET STRENGTH BADGE */
        .net-checker-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--badge-bg);
            border: 1px solid var(--badge-border);
            padding: 5px 10px 5px 12px;
            border-radius: 100px;
            font-size: 11.5px;
            font-weight: 700;
            color: var(--badge-text);
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            user-select: none;
            position: relative;
        }

        .net-checker-badge:hover {
            transform: translateY(-1.5px);
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
        }

        .net-badge-left {
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }

        .net-pulse-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--primary);
            position: relative;
            display: inline-block;
            transition: all 0.25s ease;
        }

        .net-pulse-dot::after {
            content: '';
            position: absolute;
            inset: -3px;
            border-radius: 50%;
            border: 1.5px solid currentColor;
            opacity: 0.6;
            animation: netPulse 2s infinite ease-out;
        }

        @keyframes netPulse {
            0% { transform: scale(0.9); opacity: 0.8; }
            70% { transform: scale(2.2); opacity: 0; }
            100% { transform: scale(2.4); opacity: 0; }
        }

        /* 3 WARNA PADA BADGE */
        /* 1. HIJAU (Lancar / Sangat Baik < 150ms) */
        .net-checker-badge.status-green {
            background: rgba(34, 197, 94, 0.12);
            border-color: rgba(34, 197, 94, 0.45);
            color: #15803d;
        }
        [data-theme="dark"] .net-checker-badge.status-green {
            background: rgba(34, 197, 94, 0.18);
            border-color: rgba(34, 197, 94, 0.55);
            color: #4ade80;
        }
        .net-checker-badge.status-green .net-pulse-dot {
            background: #22c55e;
            color: #22c55e;
        }

        /* 2. KUNING (Sedang / Cukup 150-350ms) */
        .net-checker-badge.status-yellow {
            background: rgba(245, 158, 11, 0.12);
            border-color: rgba(245, 158, 11, 0.45);
            color: #b45309;
        }
        [data-theme="dark"] .net-checker-badge.status-yellow {
            background: rgba(245, 158, 11, 0.2);
            border-color: rgba(245, 158, 11, 0.55);
            color: #fbbf24;
        }
        .net-checker-badge.status-yellow .net-pulse-dot {
            background: #eab308;
            color: #eab308;
        }

        /* 3. MERAH (Lambat / Buruk > 350ms / Offline) */
        .net-checker-badge.status-red {
            background: rgba(239, 68, 68, 0.12);
            border-color: rgba(239, 68, 68, 0.45);
            color: #b91c1c;
        }
        [data-theme="dark"] .net-checker-badge.status-red {
            background: rgba(239, 68, 68, 0.2);
            border-color: rgba(239, 68, 68, 0.55);
            color: #f87171;
        }
        .net-checker-badge.status-red .net-pulse-dot {
            background: #ef4444;
            color: #ef4444;
        }

        /* 3 BARS INDIKATOR VISUAL PADA BADGE */
        .net-tri-bars {
            display: inline-flex;
            align-items: flex-end;
            gap: 3.5px;
            padding: 3px 6px;
            background: rgba(0, 0, 0, 0.12);
            border-radius: 99px;
            height: 18px;
        }
        [data-theme="dark"] .net-tri-bars {
            background: rgba(0, 0, 0, 0.35);
        }

        .tri-bar {
            width: 4.5px;
            border-radius: 2px;
            transition: all 0.25s ease;
            opacity: 0.25;
        }
        .tri-bar.bar-green {
            height: 8px;
            background: #22c55e;
        }
        .tri-bar.bar-yellow {
            height: 11px;
            background: #eab308;
        }
        .tri-bar.bar-red {
            height: 14px;
            background: #ef4444;
        }

        .tri-bar.active {
            opacity: 1;
            box-shadow: 0 0 8px currentColor;
            transform: scale(1.15);
        }

        /* TOMBOL REFRESH CEPAT DI BADGE */
        .net-quick-refresh {
            background: transparent;
            border: none;
            color: inherit;
            cursor: pointer;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            opacity: 0.8;
            transition: all 0.2s ease;
            padding: 0;
        }
        .net-quick-refresh:hover {
            opacity: 1;
            background: rgba(0, 0, 0, 0.08);
            transform: rotate(45deg);
        }
        [data-theme="dark"] .net-quick-refresh:hover {
            background: rgba(255, 255, 255, 0.12);
        }

        /* REALTIME AUTO-REFRESH LIVE PILL */
        .net-live-pill {
            display: inline-flex;
            align-items: center;
            gap: 3.5px;
            font-size: 8px;
            font-weight: 800;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            padding: 1.5px 5.5px;
            border-radius: 99px;
            background: rgba(0, 0, 0, 0.08);
            line-height: 1.2;
            margin-left: 2px;
            vertical-align: middle;
            color: inherit;
            opacity: 0.9;
        }
        [data-theme="dark"] .net-live-pill {
            background: rgba(255, 255, 255, 0.12);
        }
        .live-dot-blink {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: currentColor;
            display: inline-block;
            animation: liveDotPulse 1.4s infinite ease-in-out;
        }
        @keyframes liveDotPulse {
            0%, 100% { transform: scale(0.9); opacity: 0.45; }
            50% { transform: scale(1.35); opacity: 1; }
        }

        /* MODAL KEKUATAN INTERNET */
        .net-modal-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 26px;
            width: 100%;
            max-width: 530px;
            padding: 28px 24px 24px 24px;
            box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(56, 177, 177, 0.25);
            position: relative;
            transform: scale(0.95);
            transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal-overlay.active .net-modal-card {
            transform: scale(1);
        }

        .net-modal-card .close-btn {
            position: absolute;
            top: 18px;
            right: 18px;
            background: var(--tab-bg);
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            color: var(--text-heading);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }
        .net-modal-card .close-btn:hover {
            background: #ef4444;
            color: #ffffff;
        }

        .net-modal-icon-badge {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 22px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
            box-shadow: 0 4px 14px var(--primary-glow);
        }

        /* GAUGE CARD DALAM MODAL */
        .modal-net-gauge {
            background: var(--tab-bg);
            border: 1px solid var(--card-border);
            border-radius: 18px;
            padding: 16px 18px;
            margin-bottom: 18px;
            transition: all 0.3s ease;
        }

        .gauge-top-row {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 12px;
        }

        .gauge-sub {
            font-size: 11px;
            color: var(--text-muted);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 3px;
        }

        .gauge-val-big {
            font-size: 32px;
            font-weight: 800;
            color: var(--text-heading);
            line-height: 1.1;
        }
        .gauge-val-big .unit {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-muted);
        }

        .modal-status-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 5px 12px;
            border-radius: 100px;
            font-size: 11.5px;
            font-weight: 700;
        }
        .modal-status-badge .badge-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: currentColor;
        }

        .modal-status-badge.badge-green {
            background: rgba(34, 197, 94, 0.15);
            color: #16a34a;
            border: 1px solid rgba(34, 197, 94, 0.35);
        }
        [data-theme="dark"] .modal-status-badge.badge-green {
            color: #4ade80;
        }

        .modal-status-badge.badge-yellow {
            background: rgba(245, 158, 11, 0.15);
            color: #d97706;
            border: 1px solid rgba(245, 158, 11, 0.35);
        }
        [data-theme="dark"] .modal-status-badge.badge-yellow {
            color: #fbbf24;
        }

        .modal-status-badge.badge-red {
            background: rgba(239, 68, 68, 0.15);
            color: #dc2626;
            border: 1px solid rgba(239, 68, 68, 0.35);
        }
        [data-theme="dark"] .modal-status-badge.badge-red {
            color: #f87171;
        }

        .modal-status-badge.badge-checking {
            background: var(--badge-bg);
            color: var(--primary);
            border: 1px solid var(--badge-border);
        }

        /* GAUGE TRACK & 3 COLOR ZONES */
        .gauge-meter-track {
            margin-bottom: 12px;
        }

        .gauge-meter-zones {
            display: flex;
            justify-content: space-between;
            font-size: 9.5px;
            font-weight: 700;
            margin-bottom: 5px;
        }
        .zone-tag.tag-green { color: #16a34a; display: flex; align-items: center; gap: 4px; }
        [data-theme="dark"] .zone-tag.tag-green { color: #4ade80; }
        .zone-tag.tag-yellow { color: #d97706; display: flex; align-items: center; gap: 4px; }
        [data-theme="dark"] .zone-tag.tag-yellow { color: #fbbf24; }
        .zone-tag.tag-red { color: #dc2626; display: flex; align-items: center; gap: 4px; }
        [data-theme="dark"] .zone-tag.tag-red { color: #f87171; }

        .gauge-meter-bar {
            height: 7px;
            background: rgba(0, 0, 0, 0.1);
            border-radius: 99px;
            overflow: hidden;
            position: relative;
        }
        [data-theme="dark"] .gauge-meter-bar {
            background: rgba(255, 255, 255, 0.1);
        }

        .progress-fill {
            height: 100%;
            border-radius: 99px;
            transition: width 0.4s ease, background-color 0.4s ease;
        }
        .progress-fill.fill-green { background: linear-gradient(90deg, #10b981, #22c55e); }
        .progress-fill.fill-yellow { background: linear-gradient(90deg, #f59e0b, #eab308); }
        .progress-fill.fill-red { background: linear-gradient(90deg, #ef4444, #dc2626); }
        .progress-fill.fill-checking { background: var(--primary); }

        .gauge-desc {
            font-size: 12px;
            color: var(--text-muted);
            line-height: 1.45;
            margin-bottom: 12px;
        }

        .gauge-stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            padding-top: 10px;
            border-top: 1px solid var(--card-border);
        }

        .gauge-stat-item {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .gauge-stat-item .lbl {
            font-size: 10px;
            color: var(--text-muted);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .gauge-stat-item .val {
            font-size: 11.5px;
            font-weight: 700;
            color: var(--text-heading);
        }
        .gauge-stat-item .val.text-green { color: #16a34a; }
        [data-theme="dark"] .gauge-stat-item .val.text-green { color: #4ade80; }
        .gauge-stat-item .val.text-yellow { color: #d97706; }
        [data-theme="dark"] .gauge-stat-item .val.text-yellow { color: #fbbf24; }
        .gauge-stat-item .val.text-red { color: #dc2626; }
        [data-theme="dark"] .gauge-stat-item .val.text-red { color: #f87171; }

        /* GUIDELINES BOX 3 WARNA */
        .net-guidelines-box {
            background: var(--toggle-card-bg);
            border: 1px solid var(--toggle-card-border);
            border-radius: 18px;
            padding: 16px;
            margin-bottom: 16px;
        }

        .guideline-header {
            font-size: 12px;
            font-weight: 700;
            color: var(--text-heading);
            display: flex;
            align-items: center;
            gap: 7px;
            margin-bottom: 12px;
        }

        .guideline-list {
            display: flex;
            flex-direction: column;
            gap: 9px;
        }

        .guideline-card {
            border-radius: 12px;
            padding: 10px 12px;
            display: flex;
            flex-direction: column;
            gap: 4px;
            border-left: 4px solid transparent;
            background: rgba(0, 0, 0, 0.04);
            border-top: 1px solid transparent;
            border-right: 1px solid transparent;
            border-bottom: 1px solid transparent;
        }
        [data-theme="dark"] .guideline-card {
            background: rgba(255, 255, 255, 0.03);
        }

        .guideline-card .card-indicator {
            display: flex;
            align-items: center;
            gap: 7px;
            font-size: 11.5px;
        }

        .guideline-card .color-dot {
            width: 9px;
            height: 9px;
            border-radius: 50%;
        }
        .guideline-card .ping-range {
            font-size: 10px;
            padding: 1px 7px;
            border-radius: 100px;
            font-weight: 700;
            margin-left: auto;
        }

        .guideline-card .card-body h5 {
            font-size: 12px;
            font-weight: 700;
            color: var(--text-heading);
            margin-bottom: 2px;
        }

        .guideline-card .card-body p {
            font-size: 11px;
            color: var(--text-muted);
            line-height: 1.45;
            margin: 0;
        }

        /* CARD 1: GREEN */
        .guideline-card.card-green {
            border-left-color: #22c55e;
            border-color: rgba(34, 197, 94, 0.25);
        }
        .guideline-card.card-green .color-dot { background: #22c55e; box-shadow: 0 0 6px rgba(34, 197, 94, 0.5); }
        .guideline-card.card-green strong { color: #16a34a; }
        [data-theme="dark"] .guideline-card.card-green strong { color: #4ade80; }
        .guideline-card.card-green .ping-range {
            background: rgba(34, 197, 94, 0.15);
            color: #16a34a;
        }
        [data-theme="dark"] .guideline-card.card-green .ping-range { color: #4ade80; }

        /* CARD 2: YELLOW */
        .guideline-card.card-yellow {
            border-left-color: #eab308;
            border-color: rgba(245, 158, 11, 0.25);
        }
        .guideline-card.card-yellow .color-dot { background: #eab308; box-shadow: 0 0 6px rgba(245, 158, 11, 0.5); }
        .guideline-card.card-yellow strong { color: #d97706; }
        [data-theme="dark"] .guideline-card.card-yellow strong { color: #fbbf24; }
        .guideline-card.card-yellow .ping-range {
            background: rgba(245, 158, 11, 0.15);
            color: #d97706;
        }
        [data-theme="dark"] .guideline-card.card-yellow .ping-range { color: #fbbf24; }

        /* CARD 3: RED */
        .guideline-card.card-red {
            border-left-color: #ef4444;
            border-color: rgba(239, 68, 68, 0.25);
        }
        .guideline-card.card-red .color-dot { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.5); }
        .guideline-card.card-red strong { color: #dc2626; }
        [data-theme="dark"] .guideline-card.card-red strong { color: #f87171; }
        .guideline-card.card-red .ping-range {
            background: rgba(239, 68, 68, 0.15);
            color: #dc2626;
        }
        [data-theme="dark"] .guideline-card.card-red .ping-range { color: #f87171; }

        /* BUTTONS MODAL */
        .btn-uji-ulang {
            background: linear-gradient(135deg, var(--primary) 0%, #167a7a 100%);
            color: #ffffff;
            border: none;
            padding: 9px 18px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 4px 12px var(--primary-glow);
        }
        .btn-uji-ulang:hover {
            transform: translateY(-1.5px);
            box-shadow: 0 6px 18px var(--primary-glow);
        }
        .btn-uji-ulang:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .btn-modal-close {
            background: var(--tab-bg);
            border: 1px solid var(--card-border);
            color: var(--text-heading);
            padding: 9px 16px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .btn-modal-close:hover {
            background: var(--card-border);
        }

        @media (max-width: 960px) {
            .portal-wrapper {
                display: flex;
                flex-direction: column;
                max-width: 680px;
            }

            .form-side {
                order: 1;
                padding: 34px 26px;
                max-height: none;
                border-bottom: 2px solid var(--card-border);
            }

            .info-side {
                order: 2;
                border-right: none;
                padding: 34px 26px;
            }
        }

        @media (max-width: 640px) {
            body {
                padding: 16px 12px;
                align-items: flex-start;
            }

            .portal-wrapper {
                border-radius: 22px;
            }

            .info-side,
            .form-side {
                padding: 24px 18px;
            }

            .info-cards-grid,
            .form-grid {
                grid-template-columns: 1fr;
            }

            .col-span-2 {
                grid-column: span 1;
            }
        }
