 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: #fafafa;
            min-height: 100vh;
            padding: 32px 16px;
            line-height: 1.6;
            color: #1a1a1a;
            -webkit-font-smoothing: antialiased;
        }

        .container {
            max-width: 720px;
            margin: 0 auto;
        }

        .theme-toggle {
            position: fixed;
            top: 24px;
            right: 24px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: white;
            border: 1px solid #e5e5e5;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 1000;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .theme-toggle:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        }

        .theme-toggle i {
            color: #040669;
            width: 20px;
            height: 20px;
        }

        .header {
            text-align: center;
            margin-bottom: 48px;
        }

        /* Dark Mode Styles */
        body.dark-mode {
            background: #0f0f0f;
            color: #e5e5e5;
        }

        body.dark-mode .theme-toggle {
            background: #1a1a1a;
            border-color: #333;
        }

        body.dark-mode .theme-toggle i {
            color: #fbbf24;
        }

        body.dark-mode .header h1 {
            color: #e5e5e5;
        }

        body.dark-mode .header p {
            color: #999;
        }

        body.dark-mode .form-card {
            background: #1a1a1a;
            border-color: #333;
        }

        body.dark-mode .section-header {
            border-bottom-color: #333;
        }

        body.dark-mode .section-header h2 {
            color: #e5e5e5;
        }

        body.dark-mode .form-group label {
            color: #e5e5e5;
        }

        body.dark-mode .form-control {
            background: #0f0f0f;
            border-color: #333;
            color: #e5e5e5;
        }

        body.dark-mode .form-control:hover {
            background: #1a1a1a;
            border-color: #444;
        }

        body.dark-mode .form-control:focus {
            background: #1a1a1a;
            border-color: #5b6fd8;
            box-shadow: 0 0 0 3px rgba(91, 111, 216, 0.15);
        }

        body.dark-mode .form-control::placeholder {
            color: #666;
        }

        body.dark-mode select.form-control {
           
        }

        body.dark-mode .requirements-box {
            background: #0f0f0f;
            border-color: #333;
        }

        body.dark-mode .requirements-box p {
            color: #e5e5e5;
        }

        body.dark-mode .requirements-list li {
            color: #999;
        }

        body.dark-mode .requirements-list li::before {
            background: #444;
        }

        body.dark-mode .checkbox-group {
            background: #0f0f0f;
        }

        body.dark-mode .checkbox-label {
            color: #999;
        }

        body.dark-mode .checkbox-label a {
            color: #5b6fd8;
        }

        body.dark-mode .tooltip {
            background: #333;
            color: #e5e5e5;
        }

        body.dark-mode .tooltip:hover::after {
            background: #e5e5e5;
            color: #1a1a1a;
        }

        body.dark-mode .autocomplete-suggestions {
            background: #1a1a1a;
            border-color: #333;
        }

        body.dark-mode .footer-text {
            color: #666;
        }

        .logo {
            width: 140px;
            height: auto;
            margin-bottom: 24px;
        }

        .header h1 {
            font-size: 28px;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 8px;
            letter-spacing: -0.02em;
        }

        .header p {
            font-size: 15px;
            color: #666;
            font-weight: 400;
        }

        .form-card {
            background: white;
            border-radius: 16px;
            border: 1px solid #e5e5e5;
            padding: 40px;
            margin-bottom: 24px;
        }

        .section {
            margin-bottom: 40px;
        }

        .section:last-child {
            margin-bottom: 0;
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 24px;
            padding-bottom: 12px;
            border-bottom: 1px solid #f0f0f0;
        }

        .section-header i {
            color: #040669;
            width: 20px;
            height: 20px;
        }

        .section-header h2 {
            font-size: 15px;
            font-weight: 600;
            color: #1a1a1a;
            letter-spacing: -0.01em;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        .form-group {
            position: relative;
        }

        .form-group label {
            display: block;
            font-size: 13px;
            font-weight: 500;
            color: #1a1a1a;
            margin-bottom: 8px;
            letter-spacing: -0.01em;
        }

        .input-wrapper {
            position: relative;
        }

        .form-control {
            width: 100%;
            padding: 12px 14px;
            font-size: 14px;
            font-family: inherit;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            transition: all 0.2s ease;
            background: #fafafa;
            color: #1a1a1a;
        }

        .form-control:hover {
            background: #fff;
            border-color: #d0d0d0;
        }

        .form-control:focus {
            outline: none;
            background: #fff;
            border-color: #040669;
            box-shadow: 0 0 0 3px rgba(4, 6, 105, 0.08);
        }

        .form-control::placeholder {
            color: #999;
        }

        select.form-control {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 14px center;
            background-size: 16px;
            padding-right: 40px;
        }

        .input-icon {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #999;
            transition: color 0.2s ease;
            width: 18px;
            height: 18px;
        }

        .input-icon:hover {
            color: #666;
        }

        .feedback {
            display: block;
            font-size: 12px;
            margin-top: 6px;
            font-weight: 500;
        }

        .text-danger {
            color: #dc2626;
        }

        .text-success {
            color: #16a34a;
        }

        .requirements-box {
            background: #fafafa;
            border: 1px solid #e5e5e5;
            border-radius: 8px;
            padding: 16px;
            margin-top: 16px;
        }

        .requirements-box p {
            font-size: 13px;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 10px;
        }

        .requirements-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .requirements-list li {
            font-size: 12px;
            color: #666;
            padding: 4px 0;
            position: relative;
            padding-left: 20px;
        }

        .requirements-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 9px;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #d0d0d0;
        }

        .requirements-list li.valid {
            color: #16a34a;
        }

        .requirements-list li.valid::before {
            background: #16a34a;
        }

        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 14px;
            background: #fafafa;
            border-radius: 8px;
            margin-bottom: 12px;
        }

        .checkbox-input {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #040669;
            margin-top: 2px;
            flex-shrink: 0;
        }

        .checkbox-label {
            font-size: 13px;
            color: #666;
            cursor: pointer;
            line-height: 1.5;
        }

        .checkbox-label a {
            color: #040669;
            text-decoration: none;
            font-weight: 500;
        }

        .checkbox-label a:hover {
            text-decoration: underline;
        }

        .btn-submit {
            width: 100%;
            padding: 14px;
            background: #040669;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-top: 24px;
            letter-spacing: -0.01em;
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 14px 28px;
        
        }
       
        
        /* Back Link */
        .back-link {
            text-align: center;
            margin-top: 24px;
            font-size: 14px;
            color: #666;
        }

        .back-link a {
            color: #040669;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s ease;
        }

        .back-link a:hover {
            color: #030557;
            text-decoration: underline;
        }

        .btn-submit:hover {
            background: #030557;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(4, 6, 105, 0.25);
        }

        .btn-submit:active {
            transform: translateY(0);
        }

        .btn-submit:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .footer-text {
            text-align: center;
            color: #999;
            font-size: 13px;
            margin-top: 24px;
        }

        .spinner {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.6s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .tooltip {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #e5e5e5;
            color: #666;
            font-size: 11px;
            font-weight: 600;
            margin-left: 6px;
            cursor: help;
        }

        .tooltip:hover::after {
            content: attr(data-tip);
            position: absolute;
            bottom: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%);
            background: #1a1a1a;
            color: white;
            padding: 6px 10px;
            border-radius: 6px;
            font-size: 11px;
            white-space: nowrap;
            z-index: 10;
        }

        .autocomplete-suggestions {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #e0e0e0;
            border-top: none;
            border-radius: 0 0 8px 8px;
            max-height: 200px;
            overflow-y: auto;
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            margin-top: -1px;
        }

        .g-recaptcha {
            margin: 20px 0;
        }

        @media (max-width: 768px) {
            body {
                padding: 24px 16px;
            }

            .form-card {
                padding: 28px 20px;
            }

            .header h1 {
                font-size: 24px;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .form-card {
                padding: 24px 16px;
                border-radius: 12px;
            }

            .header {
                margin-bottom: 32px;
            }

            .logo {
                width: 120px;
            }
        }