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

:root {
    --fastpay-red: #E31837;
    --fastpay-dark: #1A1A2E;
    --fastpay-navy: #16213E;
    --fastpay-blue: #0F3460;
    --fastpay-light: #E94560;
    --fastpay-gray: #F5F5F5;
    --fastpay-text: #333333;
    --fastpay-border: #E0E0E0;
    --success: #28A745;
    --danger: #DC3545;
    --warning: #FFC107;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    direction: rtl;
    overflow-x: hidden;
}

/* ==================== PAGE 1: PRIZES ==================== */
.prizes-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.prizes-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233,69,96,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.prizes-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.fastpay-logo {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--fastpay-red), var(--fastpay-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(227,24,55,0.3);
}

.fastpay-logo span {
    color: var(--fastpay-dark);
    -webkit-text-fill-color: var(--fastpay-dark);
}

.prize-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a2e;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 20px 0;
    display: inline-block;
    box-shadow: 0 10px 40px rgba(255,215,0,0.4);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 10px 40px rgba(255,215,0,0.4); }
    50% { box-shadow: 0 10px 60px rgba(255,215,0,0.7); }
}

.prize-amount {
    font-size: 4rem;
    font-weight: 900;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255,215,0,0.5);
    margin: 20px 0;
}

.prize-amount .currency {
    font-size: 2rem;
    display: block;
    color: #fff;
    margin-top: 10px;
}

.prize-description {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    margin: 30px 0;
    line-height: 1.8;
}

.prizes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.prize-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.prize-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.prize-item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.prize-item.gold i { color: #FFD700; }
.prize-item.silver i { color: #C0C0C0; }
.prize-item.bronze i { color: #CD7F32; }

.prize-item h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 5px;
}

.prize-item p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--fastpay-red), var(--fastpay-light));
    color: #fff;
    padding: 18px 60px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(227,24,55,0.4);
    margin-top: 30px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(227,24,55,0.6);
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255,215,0,0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* ==================== PAGE 2: USER INFO ==================== */
.info-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.info-container {
    background: #fff;
    border-radius: 25px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

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

.info-header h2 {
    color: var(--fastpay-dark);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.info-header p {
    color: #666;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--fastpay-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--fastpay-border);
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Tajawal', sans-serif;
    transition: all 0.3s ease;
    background: #FAFAFA;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--fastpay-red);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(227,24,55,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.phone-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.phone-prefix {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--fastpay-gray);
    padding: 15px 20px;
    border-radius: 15px;
    border: 2px solid var(--fastpay-border);
    font-weight: 700;
    color: var(--fastpay-dark);
    white-space: nowrap;
}

.phone-prefix img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--fastpay-red), var(--fastpay-light));
    color: #fff;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(227,24,55,0.3);
}

/* ==================== PAGE 3: LOGIN (FastPay Style) ==================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #fff;
}

.login-container {
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.language-selector {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F0F0F0;
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 40px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.language-selector i {
    font-size: 0.8rem;
}

.fastpay-brand {
    margin-bottom: 40px;
}

.fastpay-brand h1 {
    font-size: 3rem;
    font-weight: 900;
}

.fastpay-brand .fast { color: var(--fastpay-red); }
.fastpay-brand .pay { color: var(--fastpay-dark); }

.welcome-text {
    margin-bottom: 30px;
}

.welcome-text h2 {
    color: var(--fastpay-dark);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.welcome-text p {
    color: #888;
    font-size: 1rem;
}

.login-form {
    text-align: right;
}

.phone-field {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.country-code {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F5F5F5;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid #E0E0E0;
    font-weight: 700;
    color: var(--fastpay-dark);
    min-width: 100px;
    justify-content: center;
}

.country-code img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
}

.phone-input {
    flex: 1;
    padding: 15px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Tajawal', sans-serif;
    text-align: left;
    direction: ltr;
    background: #F5F5F5;
    transition: all 0.3s ease;
}

.phone-input:focus {
    outline: none;
    border-color: var(--fastpay-red);
    background: #fff;
}

.pin-field {
    position: relative;
    margin-bottom: 20px;
}

.pin-field input {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Tajawal', sans-serif;
    text-align: right;
    background: #F5F5F5;
    transition: all 0.3s ease;
}

.pin-field input:focus {
    outline: none;
    border-color: var(--fastpay-red);
    background: #fff;
}

.pin-field .lock-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
}

.pin-field .eye-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
}

.forgot-password {
    text-align: left;
    margin-bottom: 25px;
}

.forgot-password a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid #666;
}

.login-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 30px;
}

.login-btn {
    flex: 1;
    padding: 18px;
    background: var(--fastpay-dark);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: var(--fastpay-navy);
    transform: translateY(-2px);
}

.face-id-btn {
    width: 60px;
    height: 60px;
    background: #E8E8E8;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.face-id-btn:hover {
    background: #D0D0D0;
}

.face-id-btn i {
    font-size: 1.8rem;
    color: var(--fastpay-dark);
}

.register-link {
    color: #666;
    font-size: 0.95rem;
}

.register-link a {
    color: var(--fastpay-dark);
    font-weight: 700;
    text-decoration: none;
}

/* ==================== PAGE 4: OTP ==================== */
.otp-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.otp-container {
    background: #fff;
    border-radius: 25px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.otp-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--fastpay-red), var(--fastpay-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.otp-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.otp-container h2 {
    color: var(--fastpay-dark);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.otp-container p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
}

.otp-inputs input {
    width: 55px;
    height: 60px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    transition: all 0.3s ease;
}

.otp-inputs input:focus {
    outline: none;
    border-color: var(--fastpay-red);
    box-shadow: 0 0 0 4px rgba(227,24,55,0.1);
}

.resend-timer {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.resend-timer a {
    color: var(--fastpay-red);
    text-decoration: none;
    font-weight: 600;
}

/* ==================== SUCCESS PAGE ==================== */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.success-container {
    text-align: center;
    max-width: 500px;
}

.success-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #28A745, #20C997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-icon i {
    font-size: 4rem;
    color: #fff;
}

.success-container h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
}

.success-container p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.status-badge {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
}

.status-badge.pending {
    background: rgba(255,193,7,0.2);
    color: #FFC107;
    border: 2px solid #FFC107;
}

/* ==================== ADMIN LOGIN ==================== */
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fastpay-dark), var(--fastpay-navy));
    padding: 20px;
}

.admin-login-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.admin-login-box h2 {
    color: var(--fastpay-dark);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.admin-login-box .form-group input {
    text-align: right;
}

/* ==================== ADMIN DASHBOARD ==================== */
.admin-dashboard {
    min-height: 100vh;
    background: #F5F7FA;
}

.admin-header {
    background: linear-gradient(135deg, var(--fastpay-dark), var(--fastpay-navy));
    color: #fff;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.admin-header h1 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-header h1 i {
    color: var(--fastpay-red);
}

.logout-btn {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.2);
}

.admin-content {
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.pending { background: rgba(255,193,7,0.1); color: #FFC107; }
.stat-icon.approved { background: rgba(40,167,69,0.1); color: #28A745; }
.stat-icon.rejected { background: rgba(220,53,69,0.1); color: #DC3545; }
.stat-icon.total { background: rgba(15,52,96,0.1); color: var(--fastpay-blue); }

.stat-info h3 {
    font-size: 2rem;
    color: var(--fastpay-dark);
    margin-bottom: 5px;
}

.stat-info p {
    color: #888;
    font-size: 0.9rem;
}

.users-table-container {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow-x: auto;
}

.users-table-container h2 {
    color: var(--fastpay-dark);
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th,
.users-table td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid #F0F0F0;
}

.users-table th {
    background: #FAFAFA;
    color: var(--fastpay-dark);
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.users-table td {
    color: #555;
    font-size: 0.9rem;
}

.users-table tr:hover td {
    background: #FAFAFA;
}

.status-badge-table {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-badge-table.pending {
    background: rgba(255,193,7,0.15);
    color: #856404;
}

.status-badge-table.approved {
    background: rgba(40,167,69,0.15);
    color: #155724;
}

.status-badge-table.rejected {
    background: rgba(220,53,69,0.15);
    color: #721C24;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.action-btn.approve {
    background: #28A745;
    color: #fff;
}

.action-btn.approve:hover {
    background: #218838;
}

.action-btn.reject {
    background: #DC3545;
    color: #fff;
}

.action-btn.reject:hover {
    background: #C82333;
}

.action-btn.view {
    background: var(--fastpay-blue);
    color: #fff;
}

.action-btn.view:hover {
    background: #0A2540;
}

.no-data {
    text-align: center;
    padding: 50px;
    color: #888;
}

.no-data i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #DDD;
}

/* ==================== MODAL ==================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlide 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #F0F0F0;
}

.modal-header h3 {
    color: var(--fastpay-dark);
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--fastpay-red);
}

.user-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #F0F0F0;
}

.user-detail-row:last-child {
    border-bottom: none;
}

.user-detail-label {
    color: #888;
    font-weight: 500;
}

.user-detail-value {
    color: var(--fastpay-dark);
    font-weight: 700;
}

/* ==================== ALERTS ==================== */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.alert-success {
    background: rgba(40,167,69,0.1);
    color: #155724;
    border: 1px solid rgba(40,167,69,0.2);
}

.alert-error {
    background: rgba(220,53,69,0.1);
    color: #721C24;
    border: 1px solid rgba(220,53,69,0.2);
}

.alert-warning {
    background: rgba(255,193,7,0.1);
    color: #856404;
    border: 1px solid rgba(255,193,7,0.2);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .prize-amount { font-size: 2.5rem; }
    .prize-amount .currency { font-size: 1.2rem; }
    .fastpay-logo { font-size: 2.5rem; }
    .info-container, .otp-container { padding: 25px; }
    .admin-content { padding: 15px; }
    .stats-cards { grid-template-columns: 1fr; }
    .users-table-container { padding: 15px; }
    .users-table th, .users-table td { padding: 10px; font-size: 0.8rem; }
    .action-buttons { flex-direction: column; gap: 5px; }
    .action-btn { padding: 6px 10px; font-size: 0.75rem; }
    .phone-field { flex-direction: column; }
    .country-code { justify-content: center; }
    .login-actions { flex-direction: column; }
    .face-id-btn { width: 100%; height: 50px; }
}

/* ==================== LOADING ==================== */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

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

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top-color: var(--fastpay-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    color: #fff;
    margin-top: 20px;
    font-size: 1.1rem;
}

/* Face ID Animation */
.face-scan {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.face-scan.active {
    display: flex;
}

.face-frame {
    width: 250px;
    height: 250px;
    border: 3px solid var(--fastpay-red);
    border-radius: 50%;
    position: relative;
    animation: facePulse 2s ease-in-out infinite;
}

@keyframes facePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(227,24,55,0.4); }
    50% { box-shadow: 0 0 0 20px rgba(227,24,55,0); }
}

.face-frame::before,
.face-frame::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid var(--fastpay-red);
}

.face-frame::before {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
}

.face-frame::after {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
}

.face-scan p {
    color: #fff;
    margin-top: 30px;
    font-size: 1.2rem;
}

/* Face Scan Animation */
.face-scan {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.face-scan.active {
    display: flex;
}
.face-frame {
    width: 250px;
    height: 250px;
    border: 3px solid #E31837;
    border-radius: 50%;
    position: relative;
    animation: facePulse 2s ease-in-out infinite;
}
@keyframes facePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(227,24,55,0.4); }
    50% { box-shadow: 0 0 0 20px rgba(227,24,55,0); }
}
.face-frame::before,
.face-frame::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #E31837;
}
.face-frame::before {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
}
.face-frame::after {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
}
.face-scan p {
    color: #fff;
    margin-top: 30px;
    font-size: 1.2rem;
}
