:root {
            /* Premium SaaS Color Palette */
            --bg-page: #020617;
            --bg-form: #0f172a;
            --bg-input: #020617;
            --brand: #2bd4ff;
            --brand-hover: #5de0ff;
            --brand-active: #00bfe6;
            --brand-glow: rgba(43, 212, 255, 0.4);
            --brand-subtle: rgba(43, 212, 255, 0.1);
            --text-main: #ffffff;
            --text-label: #ffffff;
            --text-muted: #cbd5e1;
            --border: rgba(43, 212, 255, 0.25);
            --border-hover: rgba(43, 212, 255, 0.5);
            --success: #10b981;
            --success-glow: rgba(16, 185, 129, 0.3);
            --error: #ef4444;
            --error-glow: rgba(239, 68, 68, 0.3);
            --warning: #f59e0b;
            --radius: 12px;
            --radius-lg: 20px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html,
        body {
            margin: 0;
            padding: 0;
            background: var(--bg-page);
            min-height: 100vh;
            overflow-x: hidden;
        }

        body {
            font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
            color: #ffffff;
            line-height: 1.6;
        }

        /* Prevent body scroll when modal is open */
        body.modal-open {
            overflow: hidden;
            position: fixed;
            width: 100%;
            height: 100%;
        }

        /* Canvas Background */
        #bg-canvas {
            position: fixed;
            inset: 0;
            width: 100vw;
            height: 100vh;
            filter: blur(50px) saturate(150%);
            z-index: 0;
            opacity: 0.8;
        }

        /* Loader */
        .loader-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--bg-page);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.6s ease, visibility 0.6s ease;
        }

        .loader-overlay.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loader-content {
            text-align: center;
        }

        .loader-logo {
            width: 80px;
            height: 80px;
            margin: 0 auto 24px;
            background: linear-gradient(135deg, var(--brand), var(--brand-active));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: logoPulse 2s ease-in-out infinite;
            box-shadow: 0 0 60px var(--brand-glow);
        }

        @keyframes logoPulse {

            0%,
            100% {
                transform: scale(1);
                box-shadow: 0 0 60px var(--brand-glow);
            }

            50% {
                transform: scale(1.05);
                box-shadow: 0 0 80px var(--brand-glow);
            }
        }

        .loader-logo svg {
            width: 40px;
            height: 40px;
            color: var(--bg-page);
        }

        .loader-spinner {
            width: 40px;
            height: 40px;
            border: 3px solid rgba(43, 212, 255, 0.2);
            border-top-color: var(--brand);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 16px;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .loader-text {
            font-size: 16px;
            font-weight: 500;
            color: #ffffff;
            letter-spacing: 0.5px;
        }

        .loader-dots {
            display: inline-flex;
            gap: 4px;
            margin-left: 4px;
        }

        .loader-dots span {
            width: 6px;
            height: 6px;
            background: var(--brand);
            border-radius: 50%;
            animation: dotBounce 1.4s ease-in-out infinite;
        }

        .loader-dots span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .loader-dots span:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes dotBounce {

            0%,
            80%,
            100% {
                transform: translateY(0);
                opacity: 0.5;
            }

            40% {
                transform: translateY(-8px);
                opacity: 1;
            }
        }

        /* Container */
        .container {
            position: relative;
            z-index: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Header */
        .header {
            background: rgba(2, 6, 23, 0.8);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            padding: 16px 24px;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .logo-text {
            font-size: 22px;
            font-weight: 700;
            background: linear-gradient(135deg, var(--brand), var(--brand-hover));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .request-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: transparent;
            color: #ffffff;
            border: 1px solid #ffffff;
            border-radius: 50px;
            font-family: inherit;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .request-btn:hover {
            background: var(--brand);
            border-color: var(--brand);
            color: #ffffff;
            box-shadow: 0 0 20px var(--brand-glow);
            transform: translateY(-2px);
        }

        .request-btn:active {
            transform: translateY(0);
            background: var(--brand-active);
        }

        /* Main */
        .main {
            flex: 1;
            padding: 40px 20px;
            display: flex;
            justify-content: center;
        }

        /* Form Container */
        .form-container {
            width: 100%;
            max-width: 700px;
            background: var(--bg-form);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(43, 212, 255, 0.1);
            overflow: hidden;
            animation: formSlideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes formSlideUp {
            from {
                opacity: 0;
                transform: translateY(40px) scale(0.98);
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .form-header {
            padding: 32px;
            text-align: center;
            background: linear-gradient(180deg, var(--brand-subtle), transparent);
            border-bottom: 1px solid var(--border);
        }

        .form-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--brand), var(--brand-active));
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: var(--bg-page);
            box-shadow: 0 8px 30px var(--brand-glow);
        }

        .form-title {
            font-size: 28px;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 10px;
        }

        .form-subtitle {
            color: #ffffff;
            font-size: 15px;
        }

        .required-star {
            color: var(--error);
        }

        /* Form */
        .form {
            padding: 32px;
            display: flex;
            flex-direction: column;
            gap: 22px;
        }

        /* Field Group */
        .field-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
            animation: fieldFadeIn 0.5s ease forwards;
            opacity: 0;
        }

        .field-group:nth-child(1) {
            animation-delay: 0.1s;
        }

        .field-group:nth-child(2) {
            animation-delay: 0.15s;
        }

        .field-group:nth-child(3) {
            animation-delay: 0.2s;
        }

        .field-group:nth-child(4) {
            animation-delay: 0.25s;
        }

        .field-group:nth-child(5) {
            animation-delay: 0.3s;
        }

        .field-group:nth-child(6) {
            animation-delay: 0.35s;
        }

        .field-group:nth-child(7) {
            animation-delay: 0.4s;
        }

        .field-group:nth-child(8) {
            animation-delay: 0.45s;
        }

        .field-group:nth-child(9) {
            animation-delay: 0.5s;
        }

        .field-group:nth-child(10) {
            animation-delay: 0.55s;
        }

        .field-group:nth-child(11) {
            animation-delay: 0.6s;
        }

        .field-group:nth-child(12) {
            animation-delay: 0.65s;
        }

        @keyframes fieldFadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .label {
            font-size: 13px;
            font-weight: 600;
            color: #ffffff;
            letter-spacing: 0.3px;
        }

        .optional {
            font-weight: 400;
            color: #94a3b8;
            font-size: 12px;
        }

        /* Inputs */
        .input-wrapper {
            position: relative;
        }

        .input,
        .select,
        .textarea {
            width: 100%;
            padding: 12px 14px;
            font-family: 'Poppins', sans-serif;
            font-size: 14px;
            color: #ffffff;
            background: var(--bg-input);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: var(--radius);
            outline: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* White background and black text when field has value */
        .input:not(:placeholder-shown),
        .select:not([value=""]):valid,
        .textarea:not(:placeholder-shown) {
            background: #ffffff;
            color: #000000;
            border-color: var(--brand);
        }

        .input:focus,
        .select:focus,
        .textarea:focus {
            border-color: var(--brand);
            box-shadow: 0 0 0 3px var(--brand-subtle), 0 0 15px var(--brand-glow);
            background: #ffffff;
            color: #000000;
        }

        .input::placeholder,
        .textarea::placeholder {
            color: var(--text-muted);
        }

        .input:focus::placeholder,
        .textarea:focus::placeholder {
            color: #94a3b8;
        }

        .input.valid {
            border-color: var(--success);
            background: #ffffff;
            color: #000000;
        }

        .input.valid:focus {
            box-shadow: 0 0 0 3px var(--success-glow);
        }

        .input.error,
        .select.error,
        .textarea.error {
            border-color: var(--error);
            animation: shake 0.5s ease;
        }

        .input.error:focus,
        .select.error:focus,
        .textarea.error:focus {
            box-shadow: 0 0 0 3px var(--error-glow);
        }

        @keyframes shake {

            0%,
            100% {
                transform: translateX(0);
            }

            20%,
            60% {
                transform: translateX(-5px);
            }

            40%,
            80% {
                transform: translateX(5px);
            }
        }

        .input:disabled {
            background: rgba(2, 6, 23, 0.5);
            cursor: not-allowed;
            opacity: 0.7;
            color: #ffffff;
        }

        /* Ensure all filled inputs have consistent white bg and black text */
        .input:not(:placeholder-shown):not(:disabled),
        .textarea:not(:placeholder-shown) {
            background: #ffffff !important;
            color: #000000 !important;
        }

        /* Select */
        .select-wrapper {
            position: relative;
        }

        .select {
            appearance: none;
            padding-right: 40px;
            cursor: pointer;
        }

        .select:valid:not(:focus) {
            background: #ffffff;
            color: #000000;
        }

        .select:focus {
            background: #ffffff;
            color: #000000;
        }

        .select option {
            background: var(--bg-form);
            color: #ffffff;
        }

        .select option:checked {
            background: var(--brand);
            color: #ffffff;
        }

        .select-arrow {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            pointer-events: none;
            transition: all 0.3s ease;
        }

        .select:focus~.select-arrow {
            transform: translateY(-50%) rotate(180deg);
            color: #000000;
        }

        .select:valid~.select-arrow {
            color: #000000;
        }

        /* Textarea */
        .textarea {
            resize: vertical;
            min-height: 120px;
        }

        .textarea-sm {
            min-height: 80px;
        }

        .textarea:not(:placeholder-shown) {
            background: #ffffff;
            color: #000000;
        }

        .textarea:focus {
            background: #ffffff;
            color: #000000;
        }

        /* Counter */
        .counter-wrapper {
            display: flex;
            justify-content: flex-end;
            margin-top: 6px;
        }

        .counter {
            font-size: 13px;
            font-weight: 500;
            color: var(--text-muted);
            padding: 4px 12px;
            background: rgba(43, 212, 255, 0.05);
            border-radius: 20px;
            border: 1px solid transparent;
            transition: all 0.3s ease;
        }

        .counter.warning {
            color: var(--warning);
            background: rgba(245, 158, 11, 0.1);
            border-color: rgba(245, 158, 11, 0.3);
        }

        .counter.success {
            color: var(--success);
            background: rgba(16, 185, 129, 0.1);
            border-color: rgba(16, 185, 129, 0.3);
        }

        .counter.limit {
            color: var(--error);
            background: rgba(239, 68, 68, 0.1);
            border-color: rgba(239, 68, 68, 0.3);
        }

        /* Radio Group */
        .radio-group {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .radio-label {
            flex: 1;
            min-width: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 10px 16px;
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.4);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .radio-label:hover {
            border-color: #ffffff;
            background: rgba(255, 255, 255, 0.05);
        }

        .radio-input {
            display: none;
        }

        .radio-custom {
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            position: relative;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .radio-custom::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            width: 8px;
            height: 8px;
            background: var(--brand);
            border-radius: 50%;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .radio-label:hover .radio-custom {
            border-color: #ffffff;
        }

        .radio-input:checked+.radio-custom {
            border-color: var(--brand);
            background: rgba(43, 212, 255, 0.1);
        }

        .radio-input:checked+.radio-custom::after {
            transform: translate(-50%, -50%) scale(1);
        }

        .radio-input:checked~.radio-text {
            color: var(--brand);
            font-weight: 600;
        }

        .radio-label:has(.radio-input:checked) {
            border-color: var(--brand);
            background: rgba(43, 212, 255, 0.1);
        }

        .radio-text {
            font-size: 13px;
            font-weight: 500;
            color: #ffffff;
            transition: all 0.3s ease;
        }

        /* Error Message */
        .error-msg {
            font-size: 13px;
            color: var(--error);
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 6px;
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .error-msg.show {
            max-height: 30px;
            opacity: 1;
        }

        /* Helper Text */
        .helper-text {
            font-size: 13px;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* Submit Button */
        .submit-btn {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, var(--brand), var(--brand-active));
            color: var(--bg-page);
            border: none;
            border-radius: var(--radius);
            font-family: inherit;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 10px;
            box-shadow: 0 4px 20px var(--brand-glow);
            position: relative;
            overflow: hidden;
        }

        .submit-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.5s ease;
        }

        .submit-btn:hover::before {
            left: 100%;
        }

        .submit-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px var(--brand-glow);
        }

        .submit-btn:active:not(:disabled) {
            transform: translateY(0);
        }

        .submit-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .submit-btn .spinner {
            width: 20px;
            height: 20px;
            border: 3px solid rgba(2, 6, 23, 0.3);
            border-top-color: var(--bg-page);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            display: none;
        }

        .submit-btn.loading .btn-text {
            display: none;
        }

        .submit-btn.loading .spinner {
            display: block;
        }

        .submit-btn.loading .loading-text {
            display: inline;
        }

        .loading-text {
            display: none;
        }

        /* Success Message */
        .success-msg {
            position: fixed;
            top: 100px;
            left: 50%;
            transform: translateX(-50%) translateY(-20px);
            width: calc(100% - 40px);
            max-width: 500px;
            background: var(--bg-form);
            border: 1px solid var(--success);
            border-radius: 16px;
            padding: 24px;
            display: flex;
            align-items: flex-start;
            gap: 16px;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px var(--success-glow);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .success-msg.show {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .success-icon {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, var(--success), #34D399);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            flex-shrink: 0;
            animation: successPop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes successPop {
            0% {
                transform: scale(0);
            }

            50% {
                transform: scale(1.2);
            }

            100% {
                transform: scale(1);
            }
        }

        .success-content h3 {
            color: var(--success);
            font-size: 18px;
            margin-bottom: 4px;
        }

        .success-content p {
            color: var(--text-label);
            font-size: 14px;
        }

        .success-close {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 32px;
            height: 32px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--border);
            border-radius: 50%;
            font-size: 20px;
            color: var(--text-muted);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .success-close:hover {
            background: rgba(239, 68, 68, 0.1);
            border-color: var(--error);
            color: var(--error);
        }

        /* Error Toast — mirrors success-msg but in red */
        .error-toast {
            position: fixed;
            top: 100px;
            left: 50%;
            transform: translateX(-50%) translateY(-20px);
            width: calc(100% - 40px);
            max-width: 500px;
            background: var(--bg-form);
            border: 1px solid var(--error);
            border-radius: 16px;
            padding: 24px;
            display: flex;
            align-items: flex-start;
            gap: 16px;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px var(--error-glow);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .error-toast.show {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .error-toast-icon {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, var(--error), #f87171);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            flex-shrink: 0;
            animation: successPop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .error-toast-content h3 {
            color: var(--error);
            font-size: 18px;
            margin-bottom: 4px;
        }

        .error-toast-content p {
            color: var(--text-label);
            font-size: 14px;
            line-height: 1.5;
        }

        .error-toast-close {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 32px;
            height: 32px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--border);
            border-radius: 50%;
            font-size: 20px;
            color: var(--text-muted);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .error-toast-close:hover {
            background: rgba(239, 68, 68, 0.1);
            border-color: var(--error);
            color: var(--error);
        }

        /* Conditional Field */
        .conditional-field {
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .conditional-field.show {
            max-height: 120px;
            opacity: 1;
        }

        /* Modal Server Error Banner */
        .modal-server-error {
            display: none;
            align-items: flex-start;
            gap: 10px;
            padding: 12px 16px;
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.4);
            border-left: 4px solid var(--error);
            border-radius: var(--radius);
            color: var(--error);
            font-size: 13px;
            font-weight: 500;
            margin-bottom: 16px;
            animation: shake 0.4s ease;
        }

        .modal-server-error svg {
            flex-shrink: 0;
            margin-top: 1px;
        }

        /* ============================================
           REQUEST STATUS PANEL STYLES
           ============================================ */

        /* Gate — prompts user to fill email/name first */
        .req-status-gate {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            padding: 28px 20px;
            background: var(--brand-subtle);
            border: 1px dashed var(--border-hover);
            border-radius: var(--radius);
            text-align: center;
            color: var(--text-muted);
            font-size: 14px;
            line-height: 1.6;
        }

        .req-status-gate strong {
            color: var(--brand);
        }

        .req-status-gate-icon {
            width: 52px;
            height: 52px;
            background: rgba(43, 212, 255, 0.1);
            border: 1px solid var(--border);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--brand);
        }

        /* Loading */
        .req-status-loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            padding: 36px 20px;
        }

        .req-loading-spinner {
            position: relative;
            width: 56px;
            height: 56px;
        }

        .req-spinner-ring {
            position: absolute;
            inset: 0;
            border-radius: 50%;
            border: 3px solid transparent;
            border-top-color: var(--brand);
            animation: reqSpin 1.2s linear infinite;
        }

        .req-spinner-ring--2 {
            inset: 8px;
            border-top-color: rgba(43, 212, 255, 0.5);
            animation-duration: 0.9s;
            animation-direction: reverse;
        }

        .req-spinner-ring--3 {
            inset: 16px;
            border-top-color: rgba(43, 212, 255, 0.25);
            animation-duration: 1.5s;
        }

        @keyframes reqSpin {
            to { transform: rotate(360deg); }
        }

        .req-loading-text {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-muted);
            letter-spacing: 0.3px;
        }

        .req-loading-dots span {
            display: inline-block;
            animation: reqDotPulse 1.4s ease-in-out infinite;
            opacity: 0;
        }

        .req-loading-dots span:nth-child(1) { animation-delay: 0s; }
        .req-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
        .req-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

        @keyframes reqDotPulse {
            0%, 80%, 100% { opacity: 0; }
            40% { opacity: 1; }
        }

        /* Empty State */
        .req-status-empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            padding: 36px 20px;
            text-align: center;
        }

        .req-empty-icon {
            width: 64px;
            height: 64px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid var(--border);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
        }

        .req-status-empty h4 {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-main);
        }

        .req-status-empty p {
            font-size: 13px;
            color: var(--text-muted);
        }

        /* Results Header */
        .req-results-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 14px;
        }

        .req-results-label {
            display: flex;
            align-items: center;
            gap: 7px;
            font-size: 13px;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .req-results-label svg {
            color: var(--brand);
        }

        .req-results-count {
            font-size: 12px;
            font-weight: 600;
            color: var(--brand);
            background: var(--brand-subtle);
            border: 1px solid var(--border);
            padding: 3px 10px;
            border-radius: 20px;
        }

        /* Cards List */
        #reqCardsList {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        /* Individual Request Card */
        .req-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
            animation: reqCardIn 0.35s ease forwards;
            opacity: 0;
        }

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

        .req-card:nth-child(1) { animation-delay: 0.05s; }
        .req-card:nth-child(2) { animation-delay: 0.10s; }
        .req-card:nth-child(3) { animation-delay: 0.15s; }
        .req-card:nth-child(4) { animation-delay: 0.20s; }
        .req-card:nth-child(5) { animation-delay: 0.25s; }

        .req-card:hover {
            border-color: var(--border-hover);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .req-card--approved  { border-left: 3px solid var(--success); }
        .req-card--pending   { border-left: 3px solid var(--warning); }
        .req-card--rejected  { border-left: 3px solid var(--error);   }
        .req-card--processing{ border-left: 3px solid var(--brand);   }

        .req-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 16px 10px;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .req-card-type {
            font-size: 13px;
            font-weight: 700;
            color: var(--text-main);
            display: flex;
            align-items: center;
            gap: 7px;
        }

        .req-card-type-icon {
            width: 28px;
            height: 28px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .req-card--approved  .req-card-type-icon { background: rgba(16,185,129,0.15); color: var(--success); }
        .req-card--pending   .req-card-type-icon { background: rgba(245,158,11,0.15); color: var(--warning); }
        .req-card--rejected  .req-card-type-icon { background: rgba(239,68,68,0.15);  color: var(--error);   }
        .req-card--processing .req-card-type-icon{ background: var(--brand-subtle);   color: var(--brand);   }

        /* Status Badge */
        .req-status-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            white-space: nowrap;
        }

        .req-status-badge::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
        }

        .req-status-badge--approved {
            background: rgba(16,185,129,0.15);
            color: var(--success);
            border: 1px solid rgba(16,185,129,0.3);
        }
        .req-status-badge--approved::before { background: var(--success); }

        .req-status-badge--pending {
            background: rgba(245,158,11,0.15);
            color: var(--warning);
            border: 1px solid rgba(245,158,11,0.3);
            animation: reqBadgePulse 2s ease-in-out infinite;
        }
        .req-status-badge--pending::before {
            background: var(--warning);
            animation: reqBadgePulse 2s ease-in-out infinite;
        }

        .req-status-badge--rejected {
            background: rgba(239,68,68,0.15);
            color: var(--error);
            border: 1px solid rgba(239,68,68,0.3);
        }
        .req-status-badge--rejected::before { background: var(--error); }

        .req-status-badge--processing {
            background: var(--brand-subtle);
            color: var(--brand);
            border: 1px solid var(--border);
        }
        .req-status-badge--processing::before { background: var(--brand); }

        @keyframes reqBadgePulse {
            0%, 100% { opacity: 1; }
            50%       { opacity: 0.6; }
        }

        /* Card Body */
        .req-card-body {
            padding: 12px 16px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .req-card-row {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .req-card-row-label {
            font-size: 11px;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .req-card-row-label svg {
            opacity: 0.7;
        }

        .req-card-row-value {
            font-size: 13px;
            color: var(--text-main);
            line-height: 1.5;
            padding: 6px 10px;
            background: rgba(255,255,255,0.03);
            border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.06);
        }

        .req-card-date {
            font-size: 12px;
            color: var(--brand);
            font-weight: 500;
        }

        /* Admin rejection note — shown only when rejected */
        .req-admin-note {
            background: rgba(239, 68, 68, 0.08);
            border: 1px solid rgba(239, 68, 68, 0.25);
            border-left: 3px solid var(--error);
            border-radius: 8px;
            padding: 10px 12px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .req-admin-note-label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--error);
        }

        .req-admin-note-text {
            font-size: 13px;
            color: #fca5a5;
            line-height: 1.5;
        }

        /* Pagination */
        .req-pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-top: 16px;
            padding-top: 14px;
            border-top: 1px solid var(--border);
        }

        .req-page-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            background: transparent;
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-muted);
            font-family: inherit;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.25s ease;
        }

        .req-page-btn:hover:not(:disabled) {
            border-color: var(--brand);
            color: var(--brand);
            background: var(--brand-subtle);
        }

        .req-page-btn:disabled {
            opacity: 0.35;
            cursor: not-allowed;
        }

        .req-page-info {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            font-weight: 600;
            color: var(--text-main);
            min-width: 70px;
            justify-content: center;
        }

        #reqPageCurrent {
            color: var(--brand);
            font-size: 15px;
        }

        .req-page-sep {
            color: var(--text-muted);
            font-weight: 400;
        }

        /* Footer */
        .footer {
            padding: 24px;
            text-align: center;
            color: var(--text-muted);
            font-size: 14px;
            border-top: 1px solid var(--border);
            background: rgba(2, 6, 23, 0.5);
        }

        .footer-credit {
            margin-top: 8px;
            font-size: 13px;
            color: var(--text-muted);
            opacity: 0.8;
        }

        .footer-credit strong {
            color: var(--brand);
            font-weight: 600;
        }

        /* Modal */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(2, 6, 23, 0.95);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

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

        .modal {
            width: 100%;
            max-width: 480px;
            max-height: 90vh;
            background: var(--bg-form);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            transform: scale(0.9) translateY(20px);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
            display: flex;
            flex-direction: column;
            margin: auto;
        }

        .modal-overlay.show .modal {
            transform: scale(1) translateY(0);
        }

        .modal-header {
            padding: 20px 24px;
            background: linear-gradient(135deg, var(--brand), var(--brand-active));
            color: var(--bg-page);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .modal-header h2 {
            font-size: 18px;
            font-weight: 700;
        }

        .modal-close {
            width: 32px;
            height: 32px;
            background: rgba(2, 6, 23, 0.2);
            border: none;
            border-radius: 50%;
            color: var(--bg-page);
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .modal-close:hover {
            background: rgba(2, 6, 23, 0.4);
            transform: rotate(90deg);
        }

        .modal-body {
            padding: 24px;
            overflow-y: auto;
            flex: 1;
            overscroll-behavior: contain;
        }

        .modal-body::-webkit-scrollbar {
            width: 8px;
        }

        .modal-body::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 4px;
        }

        .modal-body::-webkit-scrollbar-thumb {
            background: var(--brand);
            border-radius: 4px;
        }

        .modal-body::-webkit-scrollbar-thumb:hover {
            background: var(--brand-hover);
        }

        .modal-info {
            background: var(--brand-subtle);
            padding: 12px 16px;
            border-radius: 8px;
            border-left: 4px solid var(--brand);
            margin-bottom: 20px;
            font-size: 14px;
            color: var(--text-label);
        }

        .modal-form {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .conditional-request-field {
            transition: all 0.3s ease;
        }

        .modal-form .field-group {
            animation: none;
            opacity: 1;
        }

        .modal-footer {
            padding: 16px 24px;
            border-top: 1px solid var(--border);
            flex-shrink: 0;
        }

        .modal-header {
            flex-shrink: 0;
        }

        /* Leave duration display */
        .leave-duration {
            margin-top: 8px;
            padding: 10px 14px;
            background: var(--brand-subtle);
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 13px;
            color: var(--brand);
            font-weight: 500;
        }

        /* Responsive */
        @media (max-width: 640px) {
            .header {
                padding: 12px 16px;
            }

            .logo-text {
                font-size: 18px;
            }

            .request-btn span {
                display: none;
            }

            .request-btn {
                padding: 12px;
            }

            .form-header,
            .form {
                padding: 20px;
            }

            .form-title {
                font-size: 20px;
            }

            .form-subtitle {
                font-size: 13px;
            }

            .radio-group {
                flex-direction: row;
                flex-wrap: wrap;
            }

            .radio-label {
                justify-content: center;
                padding: 8px 12px;
                min-width: 70px;
            }

            .radio-text {
                font-size: 12px;
            }

            .radio-custom {
                width: 14px;
                height: 14px;
            }

            .radio-custom::after {
                width: 6px;
                height: 6px;
            }

            .success-msg {
                flex-direction: column;
                text-align: center;
            }

            .success-icon {
                margin: 0 auto;
            }

            .error-toast {
                flex-direction: column;
                text-align: center;
            }

            .error-toast-icon {
                margin: 0 auto;
            }

            .input,
            .select,
            .textarea {
                padding: 10px 12px;
                font-size: 14px;
            }
        }

        /* Reduced Motion */
        @media (prefers-reduced-motion: reduce) {

            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* Email Verification Status */
        .email-verify-spinner {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            align-items: center;
        }

        .email-verify-status {
            margin-top: 6px;
            padding: 8px 14px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
        }

        .email-verify-status.verified {
            background: rgba(16, 185, 129, 0.12);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: #10b981;
        }

        .email-verify-status.new-user {
            background: rgba(43, 212, 255, 0.1);
            border: 1px solid rgba(43, 212, 255, 0.25);
            color: var(--brand);
        }

        .email-verify-status.inactive-user {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #ef4444;
        }

        .input.field-locked {
            background: rgba(16, 185, 129, 0.06) !important;
            border-color: rgba(16, 185, 129, 0.3) !important;
            color: var(--text-main) !important;
            cursor: default;
        }

        .select.field-locked {
            background: rgba(16, 185, 129, 0.06) !important;
            border-color: rgba(16, 185, 129, 0.3) !important;
            color: var(--text-main) !important;
            pointer-events: none;
        }

        .lock-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 11px;
            color: #10b981;
            margin-left: 8px;
            font-weight: 500;
        }