/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --accent-gradient: linear-gradient(135deg, #000000 0%, #404040 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary-white);
    color: var(--primary-black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--primary-white);
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, 20px);
    }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: var(--primary-black);
    border-radius: 50%;
    opacity: 0.02;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

.shape-5 {
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Navigation */
.auth-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 1000;
    transition: var(--transition);
}

.nav-left .logo-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-black);
}

.nav-left .logo-main i {
    font-size: 1.8rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    background: var(--gray-100);
    color: var(--primary-black);
}

/* Main Container */
.auth-container {
    min-height: 100vh;
    padding-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    min-height: calc(100vh - 70px);
    background: var(--primary-white);
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    margin: 2rem;
}

/* Left Side - Branding */
.auth-branding {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.branding-content {
    position: relative;
    z-index: 2;
}

.brand-logo {
    margin-bottom: 3rem;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background: var(--primary-white);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: logoSpin 10s linear infinite;
}

@keyframes logoSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.brand-logo h1 {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -2px;
}

.brand-tagline h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #a3a3a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-tagline p {
    font-size: 1.1rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature i {
    font-size: 1.2rem;
    color: var(--primary-white);
}

.feature span {
    font-weight: 500;
}

.brand-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary-white);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-300);
    margin-top: 0.5rem;
}

.branding-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
}

.pattern-dots {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, white 1px, transparent 1px);
    background-size: 40px 40px;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(40px, 40px);
    }
}

/* Right Side - Form */
.auth-form-section {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--primary-white);
}

.form-container {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    flex: 1;
}

.form-group.half-width {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--primary-white);
    color: var(--primary-black);
    transition: var(--transition);
    outline: none;
    font-family: inherit;
}

.input-wrapper input:focus {
    border-color: var(--primary-black);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
}

.input-wrapper input::placeholder {
    color: var(--gray-400);
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition);
}

.input-wrapper input:focus+.input-icon {
    color: var(--primary-black);
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    cursor: pointer;
    font-size: 1rem;
    pointer-events: all;
    transition: var(--transition);
}

.toggle-password:hover {
    color: var(--primary-black);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--primary-black);
    transition: width 0.3s ease;
}

.input-wrapper input:focus~.input-border {
    width: 100%;
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background: var(--gray-400);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    background: #ef4444;
    width: 25%;
}

.strength-fill.fair {
    background: #f59e0b;
    width: 50%;
}

.strength-fill.good {
    background: #10b981;
    width: 75%;
}

.strength-fill.strong {
    background: #059669;
    width: 100%;
}

.strength-text {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
}

.custom-checkbox input:checked+.checkmark {
    background: var(--primary-black);
    border-color: var(--primary-black);
}

.custom-checkbox input:checked+.checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    color: var(--gray-600);
}

.checkbox-text a {
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.forgot-password {
    color: var(--primary-black);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: inherit;
    outline: none;
}

.btn-primary {
    background: var(--primary-black);
    color: var(--primary-white);
    border: 2px solid var(--primary-black);
}

.btn-primary:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-loader {
    display: none;
}

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

.btn.loading .btn-loader {
    display: block;
}

.btn.loading {
    pointer-events: none;
}

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

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-200);
}

.divider span {
    background: var(--primary-white);
    padding: 0 1rem;
    color: var(--gray-500);
    font-size: 0.9rem;
}

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

.btn-google,
.btn-github {
    flex: 1;
    background: var(--primary-white);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.btn-google:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    transform: translateY(-2px);
}

.btn-github:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    transform: translateY(-2px);
}

.btn-google i {
    color: #4285f4;
}

.btn-github i {
    color: var(--gray-700);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.auth-footer p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    min-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.notification-icon {
    font-size: 1.2rem;
}

.notification.success .notification-icon {
    color: #10b981;
}

.notification.error .notification-icon {
    color: #ef4444;
}

.notification.warning .notification-icon {
    color: #f59e0b;
}

.notification.info .notification-icon {
    color: #3b82f6;
}

.notification-text {
    color: var(--gray-700);
    font-size: 0.9rem;
}

.notification-close {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    border-radius: 4px;
    transition: var(--transition);
}

.notification-close:hover {
    background: var(--gray-100);
    color: var(--gray-600);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

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

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--primary-black);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner p {
    color: var(--gray-600);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-layout {
        grid-template-columns: 1fr;
        margin: 1rem;
        border-radius: 16px;
    }

    .auth-branding {
        padding: 2rem;
        min-height: 300px;
    }

    .brand-tagline h2 {
        font-size: 2rem;
    }

    .brand-stats {
        grid-template-columns: 1fr;
    }

    .auth-form-section {
        padding: 2rem;
    }

    .form-row {
        flex-direction: column;
    }

    .social-login {
        flex-direction: column;
    }

    .auth-nav {
        padding: 0 1rem;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .nav-link span {
        display: none;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 1rem;
    }

    .auth-layout {
        margin: 0;
        border-radius: 12px;
    }

    .auth-branding {
        padding: 1.5rem;
    }

    .brand-logo h1 {
        font-size: 2rem;
    }

    .brand-tagline h2 {
        font-size: 1.5rem;
    }

    .auth-form-section {
        padding: 1.5rem;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .notification {
        left: 10px;
        right: 10px;
        min-width: auto;
    }
}
/* Phone Input Styles */
.phone-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.country-select {
    min-width: 100px;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.3s ease;
}

.country-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.phone-input {
    flex: 1;
}

/* OTP Verification Styles */
.otp-container {
    text-align: center;
    padding: 20px 0;
}

.otp-header {
    margin-bottom: 30px;
}

.otp-icon {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 16px;
}

.otp-header h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
}

.otp-header p {
    margin: 0;
    color: #718096;
    font-size: 14px;
}

#phoneDisplay {
    font-weight: 600;
    color: #667eea;
}

.otp-input-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    transition: all 0.3s ease;
    background: #fff;
}

.otp-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.otp-input.filled {
    border-color: #48bb78;
    background: #f0fff4;
}

.otp-input.error {
    border-color: #f56565;
    background: #fed7d7;
    animation: shake 0.5s ease-in-out;
}

.otp-timer {
    margin: 20px 0;
    font-size: 14px;
    color: #718096;
}

.otp-timer.expired {
    color: #f56565;
}

.btn-secondary {
    background: #edf2f7;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover:not(:disabled) {
    background: #e2e8f0;
    color: #2d3748;
}

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

.btn-link {
    background: transparent;
    color: #667eea;
    border: none;
    font-weight: 500;
    text-decoration: underline;
    padding: 10px;
}

.btn-link:hover {
    color: #5a67d8;
}

/* MFA Setup Styles */
.mfa-container {
    padding: 20px 0;
}

.mfa-header {
    text-align: center;
    margin-bottom: 30px;
}

.mfa-icon {
    font-size: 48px;
    color: #48bb78;
    margin-bottom: 16px;
}

.mfa-header h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
}

.mfa-header p {
    margin: 0;
    color: #718096;
    font-size: 14px;
}

.mfa-options {
    margin: 30px 0;
}

.mfa-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.mfa-option:hover {
    border-color: #cbd5e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mfa-option-icon {
    width: 48px;
    height: 48px;
    background: #f7fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #4a5568;
}

.mfa-option-content {
    flex: 1;
}

.mfa-option-content h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

.mfa-option-content p {
    margin: 0;
    font-size: 14px;
    color: #718096;
}

.mfa-status {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 8px;
    background: #c6f6d5;
    color: #22543d;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.mfa-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.mfa-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    border-radius: 24px;
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked+.toggle-slider {
    background-color: #48bb78;
}

input:checked+.toggle-slider:before {
    transform: translateX(24px);
}

.mfa-benefits {
    background: #f7fafc;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
}

.mfa-benefits h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

.mfa-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mfa-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #4a5568;
}

.mfa-benefits li:last-child {
    margin-bottom: 0;
}

.mfa-benefits .fas.fa-check {
    color: #48bb78;
    font-size: 12px;
}

.mfa-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

/* Animations */
@keyframes shake {

    0%,
    20%,
    40%,
    60%,
    80%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .phone-input-wrapper {
        flex-direction: column;
        gap: 16px;
    }

    .country-select {
        min-width: 100%;
    }

    .otp-input-container {
        gap: 8px;
    }

    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .mfa-option {
        flex-direction: column;
        text-align: center;
    }

    .mfa-actions {
        gap: 16px;
    }
}
/* Step Content Management */
.step-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-content.active {
    display: block;
    opacity: 1;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 30px 0;
    padding: 0 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: #667eea;
    color: white;
}

.progress-step.completed .step-circle {
    background: #48bb78;
    color: white;
}

.progress-step span {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.progress-step.active span {
    color: #667eea;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: #e2e8f0;
    margin: 0 10px;
    margin-bottom: 20px;
}

.progress-step.completed+.progress-line {
    background: #48bb78;
}
.required-badge {
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 500;
}

.field-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
}

.field-hint i {
    font-size: 12px;
    color: #3b82f6;
}
.phone-display {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin: 16px 0;
    padding: 12px 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.edit-phone-btn {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.edit-phone-btn:hover {
    background: #e0e7ff;
}
.mfa-icon-container,
.otp-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.verification-badge,
.success-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: #48bb78;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    border: 2px solid white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4a5568;
}

.benefit-item i {
    color: #48bb78;
    font-size: 14px;
}

.setup-success {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border-radius: 16px;
    margin: 20px 0;
}

.success-icon {
    font-size: 48px;
    color: #48bb78;
    margin-bottom: 16px;
}
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.success-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    margin: 20px;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #48bb78;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease-out;
}

.checkmark {
    width: 30px;
    height: 30px;
    position: relative;
}

.checkmark::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 12px;
    width: 8px;
    height: 16px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

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

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}
/* Step Content Management */
.step-content {
    display: none;
}

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

/* Progress Indicator */
.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 30px 0;
    padding: 0 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: #667eea;
    color: white;
}

.progress-step.completed .step-circle {
    background: #48bb78;
    color: white;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: #e2e8f0;
    margin: 0 10px;
    margin-bottom: 20px;
}

.progress-step.completed+.progress-line {
    background: #48bb78;
}

/* Input Error States */
.input-wrapper.error input {
    border-color: #f56565;
    background: #fed7d7;
}

/* OTP Input Ready State */
.btn.ready {
    background: #48bb78;
}

.btn.ready:hover {
    background: #38a169;
}
/* OTP Button States */
.btn.ready {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
    transform: translateY(-1px);
}

.btn.ready:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    box-shadow: 0 6px 16px rgba(72, 187, 120, 0.4);
}

/* Timer States */
.otp-timer .expired {
    color: #f56565;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Better Loading States */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}
/* Promotional Banner */
.promo-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideInDown 0.5s ease-out;
}

.promo-banner.expired {
    background: linear-gradient(135deg, #f56565 0%, #c53030 100%);
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.promo-icon {
    font-size: 24px;
    animation: bounce 2s infinite;
}

.promo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.promo-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.promo-desc {
    font-size: 14px;
    opacity: 0.9;
}

.promo-counter {
    display: flex;
    align-items: center;
    gap: 15px;
}

.counter-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.counter-number {
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.counter-label {
    font-size: 11px;
    opacity: 0.9;
}

.spots-left {
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
}

.promo-progress {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #ffd700;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    font-weight: 600;
}

/* Early Bird Card */
.early-bird-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
}

.early-bird-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
}

.early-bird-header i {
    color: #ffd700;
}

.bonus-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.currency {
    font-size: 20px;
    opacity: 0.8;
}

.amount {
    font-size: 36px;
    font-weight: 800;
    margin: 0 5px;
}

.worth {
    font-size: 14px;
    opacity: 0.9;
    align-self: flex-end;
    margin-bottom: 8px;
}

.urgency-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
    font-size: 12px;
    color: #ffd700;
}

/* Stat Highlighting */
.stat.highlighted {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stat-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ffd700;
    color: #2d3748;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

/* Header with Badge */
.header-with-badge {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.bonus-badge {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse 2s infinite;
}

/* Promotional Alert */
.promo-alert {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    animation: slideInDown 0.5s ease-out;
}

.promo-alert .alert-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.promo-alert .alert-content.expired {
    background: #f56565;
}

/* Credits Preview */
.credits-preview {
    margin: 20px 0;
}

.credits-card {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}

.credits-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #2d3748;
}

.credits-header i {
    color: #ffd700;
}

.credits-breakdown {
    space-y: 8px;
}

.credit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.credit-item.bonus {
    color: #48bb78;
    font-weight: 600;
}

.credit-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 4px 0;
    font-weight: 700;
    font-size: 16px;
    color: #2d3748;
}

.total-value {
    color: #48bb78;
    font-size: 20px;
}

/* Enhanced Button */
.btn.enhanced {
    padding: 16px 24px;
    font-size: 16px;
}

.btn.enhanced .btn-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.btn.enhanced small {
    font-size: 12px;
    opacity: 0.9;
}

/* Credits Confirmation */
.credits-confirmation {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
}

.credits-earned {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.earned-amount {
    font-size: 32px;
    font-weight: 800;
}

.earned-label {
    font-size: 14px;
    opacity: 0.9;
}

.bonus-breakdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 12px;
}

.breakdown-item.bonus {
    color: #ffd700;
}

/* Welcome Message */
.welcome-message {
    background: #f7fafc;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.welcome-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #2d3748;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4a5568;
}

.feature-item i {
    color: #667eea;
    width: 16px;
}

/* Optional Label */
.optional-label {
    font-size: 12px;
    color: #718096;
    font-weight: 400;
    margin-left: 8px;
}

/* Animations */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(72, 187, 120, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .promo-content {
        flex-direction: column;
        gap: 10px;
    }

    .header-with-badge {
        flex-direction: column;
        gap: 10px;
    }

    .bonus-badge {
        align-self: center;
    }

    .welcome-features {
        grid-template-columns: 1fr;
    }
}