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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.5;
            color: #1f2937;
        }

        /* Color Variables */
        :root {
            --hero-bg-start: #722AE6;
            --hero-bg-end: #E4B5CB;
            --on-hero: #ffffff;
            --card-bg: #ffffff;
            --input-border: #d1d5db;
            --input-focus: #722AE6;
            --primary: #722AE6;
            --primary-hover: #5e22b8;
            --muted-text: #6b7280;
        }

        /* Background Gradient */
        .bg-hero-gradient {
            background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
        }

        /* Fixed Background Container */
        .background-container {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
        }

        /* Pattern Overlay */
        .pattern-overlay {
            position: absolute;
            inset: 0;
            opacity: 0.2;
            background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSI+PHBhdGggZD0iTTM2IDM0YzAtMi4yMS0xLjc5LTQtNC00cy00IDEuNzktNCA0IDEuNzkgNCA0IDQgNC0xLjc5IDQtNHptMC0xMGMwLTIuMjEtMS43OS00LTQtNHMtNCAxLjc5LTQgNCAxLjc5IDQgNCA0IDQtMS43OSA0LTR6bTAtMTBjMC0yLjIxLTEuNzktNC00LTRzLTQgMS43OS00IDQgMS43OSA0IDQgNCA0LTEuNzkgNC00eiIvPjwvZz48L2c+PC9zdmc+');
        }

        /* Floating Icons */
        .floating-icon {
            position: absolute;
            opacity: 0.2;
            color: var(--on-hero);
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            33% {
                transform: translateY(-20px) rotate(5deg);
            }
            66% {
                transform: translateY(10px) rotate(-5deg);
            }
        }

        /* Fade In Animation */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fade-in {
            animation: fadeIn 0.6s ease-out forwards;
            opacity: 0;
        }

        /* Pulse Animation */
        @keyframes pulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.5;
            }
        }

        .animate-pulse {
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        /* Main Container */
        .main-container {
            position: relative;
            z-index: 10;
            min-height: 100vh;
            display: grid;
        }

        @media (min-width: 1024px) {
            .main-container {
                grid-template-columns: 1fr 1fr;
            }
        }

        /* Welcome Section */
        .welcome-section {
            padding: 3rem 2rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: var(--on-hero);
            position: relative;
            overflow: hidden;
        }

        @media (min-width: 1024px) {
            .welcome-section {
                height: 100vh;
                padding: 3rem;
                position: sticky;
                top: 0;
            }
        }

        .welcome-content {
            z-index: 10;
            max-width: 32rem;
            text-align: center;
        }

        .logo-container {
            background: white;
            padding: 1.5rem;
            border-radius: 0.75rem;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            display: inline-block;
            margin-bottom: 2rem;
        }

        .logo-container img {
            height: 4rem;
            width: auto;
        }

        @media (min-width: 1024px) {
            .logo-container img {
                height: 4rem;
            }
        }

        .welcome-title {
            font-size: 1.875rem;
            font-weight: bold;
            line-height: 1.2;
            margin-bottom: 1rem;
        }

        @media (min-width: 1024px) {
            .welcome-title {
                font-size: 2.25rem;
            }
        }

        .welcome-description {
            font-size: 1rem;
            opacity: 0.9;
            line-height: 1.625;
            margin-bottom: 2rem;
        }

        @media (min-width: 1024px) {
            .welcome-description {
                font-size: 1.125rem;
                padding: 0;
            }
        }

        .pulse-dots {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding-top: 1rem;
        }

        .pulse-dot {
            height: 0.5rem;
            width: 0.5rem;
            border-radius: 9999px;
            background: white;
        }

        /* Auth Section */
        .auth-section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
        }

        @media (min-width: 1024px) {
            .auth-section {
                padding: 2rem;
            }
        }

        .auth-container {
            width: 100%;
            max-width: 28rem;
        }

        .auth-header {
            text-align: center;
            margin-bottom: 1.5rem;
        }

        .auth-title {
            font-size: 1.875rem;
            font-weight: bold;
            color: var(--on-hero);
            margin-bottom: 0.5rem;
        }

        .auth-subtitle {
            color: var(--on-hero);
            opacity: 0.8;
        }

        /* Tabs */
        .tabs-container {
            width: 100%;
        }

        .tabs-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.25rem;
            background: rgba(255, 255, 255, 0.1);
            padding: 0.25rem;
            border-radius: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .tab-button {
            padding: 0.5rem 1rem;
            border: none;
            background: transparent;
            color: var(--on-hero);
            font-size: 0.875rem;
            font-weight: 500;
            border-radius: 0.375rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .tab-button:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .tab-button.active {
            background: white;
            color: #1f2937;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /* Card */
        .card {
            background: var(--card-bg);
            border-radius: 0.5rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

        .card-header {
            padding: 1.5rem 1.5rem 0;
        }

        .card-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .card-description {
            color: var(--muted-text);
            font-size: 0.875rem;
        }

        .card-content {
            padding: 1.5rem;
        }

        /* Form Elements */
        .form-group {
            margin-bottom: 1rem;
        }

        .form-label {
            display: block;
            font-size: 0.875rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .form-input {
            width: 100%;
            padding: 0.5rem 0.75rem;
            border: 1px solid var(--input-border);
            border-radius: 0.375rem;
            font-size: 0.875rem;
            transition: all 0.2s;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--input-focus);
            box-shadow: 0 0 0 3px rgba(114, 42, 230, 0.1);
        }

        .form-input:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
        }

        .checkbox {
            width: 1rem;
            height: 1rem;
            border-radius: 0.25rem;
            border: 1px solid var(--input-border);
            cursor: pointer;
        }

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

        .link {
            color: var(--primary);
            text-decoration: none;
            font-size: 0.875rem;
        }

        .link:hover {
            text-decoration: underline;
        }

        /* Button */
        .btn {
            width: 100%;
            padding: 0.5rem 1rem;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 0.375rem;
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.2s;
        }

        .btn:hover {
            background: var(--primary-hover);
        }

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

        .footer-text {
            text-align: center;
            font-size: 0.875rem;
            color: var(--on-hero);
            opacity: 0.7;
            margin-top: 1.5rem;
        }

        /* Social Media Footer */
        .social-footer {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1.5rem;
            margin-top: 2rem;
            margin-bottom: 1rem;
        }

        .social-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            color: var(--on-hero);
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .social-link:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-3px);
        }

        .social-link .icon {
            width: 20px;
            height: 20px;
        }

        /* SVG Icons */
        .icon {
            width: 24px;
            height: 24px;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            fill: none;
        }

        /* Modal Styles */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            backdrop-filter: blur(4px);
        }

        .modal-overlay.show {
            display: flex;
        }

        .modal-content {
            background: white;
            border-radius: 0.75rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            max-width: 28rem;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            animation: modalSlideIn 0.3s ease-out;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal-header {
            padding: 1.5rem;
            border-bottom: 1px solid #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .modal-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #1f2937;
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #6b7280;
            width: 2rem;
            height: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.375rem;
            transition: all 0.2s;
        }

        .modal-close:hover {
            background: #f3f4f6;
            color: #1f2937;
        }

        .modal-body {
            padding: 1.5rem;
        }

        .modal-description {
            color: var(--muted-text);
            font-size: 0.875rem;
            margin-bottom: 1.5rem;
        }

        .success-icon {
            width: 4rem;
            height: 4rem;
            margin: 0 auto 1rem;
            background: #10b981;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        .success-icon svg {
            width: 2.5rem;
            height: 2.5rem;
        }

        .success-message {
            text-align: center;
            margin-bottom: 1.5rem;
        }

        .success-message h3 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 0.5rem;
        }

        .success-message p {
            color: var(--muted-text);
        }

        /* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-input {
    padding-right: 45px;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #64748b;
    display: flex;
    align-items: center;
    z-index: 10;
    transition: color 0.2s;
}

.password-toggle-btn:hover {
    color: #334155;
}

.password-toggle-btn svg {
    width: 20px;
    height: 20px;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0.5rem;
}

.modal-body {
    padding: 1rem;
}

.modal-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-10%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* Success Modal specific styles */
#success-modal .modal-content {
    max-width: 400px;
}

#success-modal .modal-body {
    padding: 2rem;
}

#success-modal .btn {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s;
}

#success-modal .btn:hover {
    background-color: #059669;
}

/* Phone Number Input Fix - Make it same width as other inputs */
.iti {
    width: 100% !important;
    display: block !important;
}

.iti__flag-container {
    position: absolute;
    top: 0;
    bottom: 0;
    right: auto;
    left: 0;
    padding: 0;
}

.iti__selected-flag {
    padding: 0 0 0 8px;
}

/* Adjust padding based on separate dial code */
.iti--separate-dial-code #register-phone {
    padding-left: 95px !important;
}

.iti:not(.iti--separate-dial-code) #register-phone {
    padding-left: 52px !important;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: transparent;
}

.iti--separate-dial-code .iti__selected-dial-code {
    margin-left: 6px;
}

/* Ensure placeholder is visible and aligned */
#register-phone::placeholder {
    opacity: 0.6;
    color: #9ca3af;
}