
    :root {
        --bg-dark: #0f0f23;
        --bg-darker: #09091a;
        --bg-card: #1a1a2e;
        --purple: #8b5cf6;
        --purple-light: #a78bfa;
        --text-muted: #9ca3af;
        --border-color: #2d2d44;
        --success: #10b981;
        --success-bg: rgba(16, 185, 129, 0.1);
    }

    body {
        background-color: var(--bg-dark);
        color: #fff;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Login Container (default) */
    .login-container {
        width: 100%;
        max-width: 450px;
        padding: 2rem;
    }

    /* Register Container (override) */
    .register-container {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
        padding: 2rem;
    }

    .logo-section {
        text-align: center;
        margin-bottom: 2rem;
    }

    .logo {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, #8b5cf6, #6366f1);
        border-radius: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .logo-text h2 {
        margin: 0;
        font-weight: 700;
        font-size: 2rem;
    }

    .logo-text p {
        margin: 0;
        color: var(--text-muted);
        font-size: 0.95rem;
    }

    /* Cards */
    .login-card, .register-card {
        background-color: var(--bg-card);
        border-radius: 20px;
        padding: 2.5rem;
        border: 1px solid var(--border-color);
    }

    .login-title, .register-title {
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .login-subtitle, .register-subtitle {
        color: var(--text-muted);
        text-align: center;
        margin-bottom: 2rem;
    }

    /* Form Elements */
    .form-label {
        color: #fff;
        font-weight: 600;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }

    .form-control, .form-select {
        background-color: rgba(139, 92, 246, 0.05);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 0.75rem 1rem;
        color: #fff;
        font-size: 0.95rem;
        transition: all 0.3s;
    }

    .form-control:focus, .form-select:focus {
        background-color: rgba(139, 92, 246, 0.1);
        border-color: var(--purple);
        box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
        color: #fff;
    }

    .form-control::placeholder {
        color: var(--text-muted);
    }

    .input-group {
        position: relative;
    }

    .input-group > .form-control,
    .input-group > .form-select {
        border-radius: 12px !important;
    }

    .input-group-icon {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        z-index: 10;
    }

    .form-control.with-icon {
        padding-left: 2.75rem;
    }

    .form-control.has-password-toggle {
        padding-right: 4.25rem;
    }

    .form-control.has-password-toggle.is-invalid,
    .form-control.has-password-toggle.is-valid {
        padding-right: 4.75rem;
        background-position: right 2.75rem center;
    }

    /* Buttons */
    .btn-primary {
        background: linear-gradient(135deg, #8b5cf6, #6366f1);
        border: none;
        padding: 0.875rem;
        border-radius: 12px;
        color: #fff;
        font-weight: 700;
        font-size: 1rem;
        width: 100%;
        transition: all 0.3s;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
    }

    .btn-primary:disabled {
        opacity: 0.9;
        cursor: wait;
        transform: none;
        box-shadow: none;
    }

    .login-submit-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.65rem;
    }

    .auth-submit-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.65rem;
    }

    .login-submit-loading {
        display: none;
        align-items: center;
        gap: 0.65rem;
    }

    .auth-submit-loading {
        display: none;
        align-items: center;
        gap: 0.65rem;
    }

    .login-submit-btn.is-loading .login-submit-label {
        display: none;
    }

    .auth-submit-btn.is-loading .auth-submit-label {
        display: none;
    }

    .login-submit-btn.is-loading .login-submit-loading {
        display: inline-flex;
    }

    .auth-submit-btn.is-loading .auth-submit-loading {
        display: inline-flex;
    }

    .btn-spinner {
        width: 1rem;
        height: 1rem;
        border: 2px solid rgba(255, 255, 255, 0.28);
        border-top-color: #fff;
        border-radius: 50%;
        animation: auth-btn-spin 0.7s linear infinite;
    }

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

    .btn-secondary {
        background-color: transparent;
        border: 1px solid var(--border-color);
        padding: 0.875rem 2rem;
        border-radius: 12px;
        color: var(--text-muted);
        font-weight: 700;
        font-size: 1rem;
        transition: all 0.3s;
    }

    .btn-secondary:hover {
        background-color: rgba(139, 92, 246, 0.1);
        border-color: var(--purple);
        color: #fff;
    }

    /* Links */
    .forgot-password {
        text-align: right;
        /* margin-top: 0.5rem; */
    }

    .forgot-password a, .signup-link a, .signin-link a {
        color: var(--purple);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s;
    }

    .forgot-password a:hover, .signup-link a:hover, .signin-link a:hover {
        color: var(--purple-light);
    }

    .password-toggle {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        cursor: pointer;
        z-index: 10;
        transition: color 0.2s;
    }

    .password-toggle:hover {
        color: #fff;
    }

    .form-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .checkbox-container-login {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0; /* Remove the existing margin-top */
    }

    /* Divider */
    .divider {
        text-align: center;
        margin: 1.5rem 0;
        position: relative;
    }

    .divider::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        background-color: var(--border-color);
    }

    .divider span {
        background-color: var(--bg-card);
        padding: 0 1rem;
        position: relative;
        color: var(--text-muted);
        font-size: 0.85rem;
    }

    /* Social Login */
    .social-login {
        display: flex;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn-social {
        flex: 1;
        background-color: rgba(139, 92, 246, 0.1);
        border: 1px solid var(--border-color);
        padding: 0.75rem;
        border-radius: 12px;
        color: #fff;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        transition: all 0.3s;
    }

    .btn-social:hover {
        background-color: rgba(139, 92, 246, 0.2);
        border-color: var(--purple);
    }

    .signup-link {
        text-align: center;
        margin-top: 1.5rem;
        color: var(--text-muted);
    }

    .signup-link a {
        color: var(--purple);
        text-decoration: none;
        font-weight: 700;
        transition: color 0.2s;
    }

    .signup-link a:hover {
        color: var(--purple-light);
    }

    /* Checkbox */
    .checkbox-container {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .form-check-input {
        background-color: rgba(139, 92, 246, 0.1);
        border: 1px solid var(--border-color);
        width: 1.25rem;
        height: 1.25rem;
        cursor: pointer;
    }

    .form-check-input:checked {
        background-color: var(--purple);
        border-color: var(--purple);
    }

    .form-check-label {
        color: var(--text-muted);
        font-size: 0.9rem;
        cursor: pointer;
    }

    .checkbox-container .form-check-input.is-invalid ~ .form-check-label {
        color: var(--text-muted) !important;
    }

    /* Modal */
    .modal-content {
        background-color: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 20px;
    }

    .modal-header {
        border-bottom: 1px solid var(--border-color);
    }

    .modal-title {
        color: #fff;
        font-weight: 700;
    }

    .btn-close {
        filter: invert(1);
    }

    .modal-body {
        padding: 2rem;
    }

    /* Registration specific styles */
    .step-indicator {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .step {
        width: 40px;
        height: 4px;
        background-color: rgba(139, 92, 246, 0.2);
        border-radius: 2px;
        transition: all 0.3s;
    }

    .step.active {
        background: linear-gradient(135deg, #8b5cf6, #6366f1);
    }

    .account-type-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .account-type-card {
        background-color: rgba(139, 92, 246, 0.05);
        border: 2px solid var(--border-color);
        border-radius: 16px;
        padding: 1.5rem;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s;
    }

    .account-type-card:hover {
        background-color: rgba(139, 92, 246, 0.1);
        border-color: var(--purple);
    }

    .account-type-card.selected {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(99, 102, 241, 0.2));
        border-color: var(--purple);
    }

    .category-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .category-checkbox {
        display: none;
    }

    .category-label {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(139, 92, 246, 0.05);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 0.75rem;
        cursor: pointer;
        transition: all 0.3s;
        text-align: center;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .category-checkbox:checked + .category-label {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(99, 102, 241, 0.2));
        border-color: var(--purple);
        color: var(--purple);
    }

    .button-group {
        display: flex;
        gap: 1rem;
        margin-top: 2rem;
    }

    .button-group button {
        flex: 1;
    }

    /* .business-field {
        display: none;
    }

    .business-field.show {
        display: block;
    } */

    .success-message {
        background-color: rgba(16, 185, 129, 0.1);
        border: 1px solid rgba(16, 185, 129, 0.3);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 1rem;
        color: #10b981;
        text-align: center;
    }

    .form-section {
        display: none;
    }

    .form-section.active {
        display: block;
    }
