    :root {
        --primary-color: #2d3748;
        --primary-hover: #1a202c;
        --secondary-color: #718096;
        --accent-color: #4a5568;
        --success-color: #48bb78;
        --danger-color: #f56565;
        --light-bg: #f7fafc;
        --white-bg: #ffffff;
        --dark-text: #1a202c;
        --light-text: #a0aec0;
        --border-color: #e2e8f0;
        --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        --transition: all 0.2s ease;
    }

    * {
        box-sizing: border-box;
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        background-color: var(--light-bg);
        color: var(--dark-text);
        line-height: 1.5;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    /* Modern Container */
    .main-container {
        flex: 1;
        padding: 1.5rem 1rem;
    }

    @media (min-width: 768px) {
        .main-container {
            padding: 2rem 1.5rem;
        }
    }

    /* Hero Section */
    .hero-section {
        text-align: center;
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }

    .logo-container {
        margin-bottom: 0.16rem;
        animation: fadeInDown 0.5s ease-out;
    }

    .logo-container img {
        width: 64px;
        height: 64px;
        object-fit: contain;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    }

    .hero-title {
        font-size: 1.75rem;
        font-weight: 400;
        color: var(--primary-color);
        margin-bottom: 0.25rem;
        animation: fadeInUp 0.5s ease-out 0.1s both;
    }

    .hero-subtitle {
        font-size: 1rem;
        color: var(--secondary-color);
        animation: fadeInUp 0.5s ease-out 0.2s both;
        font-weight: 400;
    }

    /* Form Card */
    .form-card {
        background: var(--white-bg);
        border-radius: 12px;
        box-shadow: var(--shadow-md);
        padding: 1.5rem;
        max-width: 720px;
        margin: 0 auto;
        animation: fadeInUp 0.5s ease-out 0.3s both;
    }

    @media (min-width: 768px) {
        .form-card {
            padding: 2rem;
        }
    }

    .form-section-title {
        font-size: 1.25rem;
        font-weight: 400;
        color: var(--dark-text);
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .form-section-title svg {
        color: var(--accent-color);
        width: 20px;
        height: 20px;
    }

    /* Modern Form Controls */
    .form-group {
        margin-bottom: 1rem;
    }

    .form-label {
        font-weight: 500;
        color: var(--dark-text);
        margin-bottom: 0.375rem;
        font-size: 0.875rem;
        display: block;
    }

    .form-control, .form-select {
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 0.625rem 0.875rem;
        font-size: 0.9375rem;
        transition: var(--transition);
        background-color: var(--white-bg);
        width: 100%;
        color: var(--dark-text);
    }

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(45, 55, 72, 0.1);
        outline: none;
    }

    /* Floating Labels Enhancement */
    .form-floating {
        position: relative;
    }

    .form-floating > .form-control,
    .form-floating > .form-select {
        height: calc(3rem + 2px);
        line-height: 1.25;
        padding-top: 1.625rem;
        padding-bottom: 0.625rem;
    }

    .form-floating > label {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        padding: 1rem 0.875rem;
        pointer-events: none;
        border: 1px solid transparent;
        transform-origin: 0 0;
        transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
        color: var(--secondary-color);
    }

    .form-floating > .form-control:focus ~ label,
    .form-floating > .form-control:not(:placeholder-shown) ~ label,
    .form-floating > .form-select:focus ~ label,
    .form-floating > .form-select:valid ~ label {
        opacity: 0.85;
        transform: scale(0.75) translateY(-0.6rem) translateX(0.15rem);
        color: var(--accent-color);
        font-weight: 500;
    }

    /* Location Selection Tabs */
    .location-tabs {
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 1rem;
    }

    .location-tabs .nav-link {
        color: var(--secondary-color);
        border: none;
        border-bottom: 2px solid transparent;
        border-radius: 0;
        padding: 0.5rem 1rem;
        font-weight: 500;
        font-size: 0.875rem;
        transition: var(--transition);
        background: none;
    }

    .location-tabs .nav-link:hover {
        color: var(--primary-color);
        border-bottom-color: var(--border-color);
    }

    .location-tabs .nav-link.active {
        color: var(--primary-color);
        border-bottom-color: var(--primary-color);
        background: none;
    }

    /* Location Display */
    .location-display {
        background-color: var(--light-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 0.75rem;
        margin-top: 0.75rem;
        font-size: 0.875rem;
    }

    .location-display-label {
        color: var(--secondary-color);
        font-weight: 400;
    }

    .location-display-value {
        color: var(--primary-color);
        font-weight: 600;
        margin-left: 0.375rem;
    }

    /* Loading Animation */
    .loading-spinner {
        display: inline-block;
        width: 14px;
        height: 14px;
        border: 2px solid rgba(45, 55, 72, 0.2);
        border-top-color: var(--primary-color);
        border-radius: 50%;
        animation: spin 0.6s linear infinite;
        margin-left: 0.375rem;
        vertical-align: middle;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    /* Agreement Checkbox */
    .agreement-section {
        background-color: var(--light-bg);
        border-radius: 8px;
        padding: 1rem;
        margin: 1.25rem 0;
    }

    .form-check {
        display: flex;
        align-items: center;
    }

    .form-check-input {
        width: 1.125rem;
        height: 1.125rem;
        border: 1px solid var(--border-color);
        border-radius: 3px;
        transition: var(--transition);
        margin-right: 0.5rem;
        flex-shrink: 0;
    }

    .form-check-input:checked {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }

    .form-check-label {
        font-size: 0.875rem;
        color: var(--dark-text);
    }

    .agreement-link {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 500;
        transition: var(--transition);
    }

    .agreement-link:hover {
        color: var(--primary-hover);
        text-decoration: underline;
    }

    /* Submit Button */
    .submit-button {
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 8px;
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
        font-weight: 600;
        width: 100%;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        text-transform: uppercase;
        letter-spacing: 0.025em;
        cursor: pointer;
    }

    .submit-button:hover {
        background: var(--primary-hover);
        transform: translateY(-1px);
        box-shadow: var(--shadow-lg);
    }

    .submit-button:active {
        transform: translateY(0);
        box-shadow: var(--shadow-sm);
    }

    /* Modal Styling */
    .modal-content {
        border: none;
        border-radius: 12px;
        box-shadow: var(--shadow-lg);
    }

    .modal-header {
        border-bottom: 1px solid var(--border-color);
        padding: 1.25rem;
        background-color: var(--light-bg);
        border-radius: 12px 12px 0 0;
    }

    .modal-title {
        font-weight: 600;
        color: var(--dark-text);
        font-size: 1.125rem;
    }

    .modal-body {
        padding: 1.25rem;
        color: var(--dark-text);
        line-height: 1.6;
    }

    .modal-body p {
        margin-bottom: 0.75rem;
        font-size: 0.9375rem;
    }

    .modal-body p:last-child {
        margin-bottom: 0;
    }

    .modal-footer {
        border-top: 1px solid var(--border-color);
        padding: 1rem 1.25rem;
        background-color: var(--light-bg);
        border-radius: 0 0 12px 12px;
    }

    .btn-secondary {
        background-color: var(--secondary-color);
        border: none;
        padding: 0.5rem 1.25rem;
        border-radius: 6px;
        font-weight: 500;
        transition: var(--transition);
    }

    .btn-secondary:hover {
        background-color: var(--accent-color);
    }

    /* Footer */
    .footer {
        background-color: var(--white-bg);
        border-top: 1px solid var(--border-color);
        padding: 1.5rem 0;
        margin-top: 2rem;
    }

    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .footer-nav {
        list-style: none;
        padding: 0;
        margin: 0 0 1rem 0;
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-nav a {
        color: var(--secondary-color);
        text-decoration: none;
        transition: var(--transition);
        font-weight: 400;
        font-size: 0.875rem;
    }

    .footer-nav a:hover {
        color: var(--primary-color);
    }

    /* Animations */
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-15px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(15px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Responsive Grid */
    @media (min-width: 768px) {
        .form-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        .form-grid-full {
            grid-column: 1 / -1;
        }
    }

    /* Row and Column Adjustments */
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .row > * {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .g-3 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    /* Accessibility */
    .visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border-width: 0;
    }

    /* Focus Visible */
    *:focus-visible {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
	

    /* Utility Classes */
    .text-center { text-align: center; }
    .text-muted { color: var(--secondary-color); }
    .mb-3 { margin-bottom: 1rem; }
    .mt-3 { margin-top: 1rem; }