* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f9fafb;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.screen {
    display: none;
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.3s ease-out;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    width: 100%;
}

.text-center { text-align: center; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

.logo {
    display: block;
    margin: 0 auto 1.5rem;
    width: 180px;
    height: auto;
}

.title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 1.2rem;
}

.input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.input-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    color: #374151;
    outline: none;
    transition: all 0.2s;
}

.input-group input:focus {
    border-color: #00D180;
    box-shadow: 0 0 0 3px rgba(0, 209, 128, 0.15);
}

.password-wrapper {
    position: relative;
}

.toggle-pass {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.checkbox-group input {
    width: 16px;
    height: 16px;
    accent-color: #00D180;
}

.checkbox-group label {
    font-size: 0.875rem;
    color: #374151;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    background-color: #00D180;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover { background-color: #00b870; }
.btn-primary:disabled {
    background-color: #d1d5db;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-secondary {
    width: 100%;
    padding: 15px;
    background-color: #f3f4f6;
    color: #374151;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-secondary:hover { background-color: #e5e7eb; }

.alert-box {
    display: flex;
    gap: 12px;
    background: #fffbeb;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    text-align: left;
}
.alert-box h4 { color: #92400e; font-size: 0.9rem; margin-bottom: 4px; }
.alert-box p { color: #b45309; font-size: 0.8rem; line-height: 1.4; }

.spinner-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}
.spinner {
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: #00D180;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}
.progress-fill {
    height: 100%;
    background: #00D180;
    width: 0%;
    transition: width 1s linear;
}

.icon-circle {
    width: 64px;
    height: 64px;
    background: #E5FFF8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 1.5rem;
}
.otp-input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    outline: none;
}
.otp-input:focus {
    border-color: #00D180;
    box-shadow: 0 0 0 3px rgba(0, 209, 128, 0.15);
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.approved-box {
    background: #E5FFF8;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.approved-box h3 { font-size: 1.1rem; color: #1f2937; margin-bottom: 0.5rem; }
.approved-box .amount { font-size: 2rem; font-weight: 700; color: #00D180; }
.approved-box .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #4b5563;
    margin-top: 8px;
}

.steps-box {
    text-align: left;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.steps-box h4 { font-size: 1rem; color: #1f2937; margin-bottom: 1rem; }
.steps-box ul { list-style: none; }
.steps-box li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: #4b5563;
    margin-bottom: 10px;
}
.dot {
    width: 8px;
    height: 8px;
    background: #00D180;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.support-text {
    font-size: 0.85rem;
    color: #6b7280;
}
.support-text a {
    color: #00D180;
    font-weight: 600;
    text-decoration: none;
}

.error-text {
    color: #dc2626;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    background: #fef2f2;
    padding: 0.5rem;
    border-radius: 6px;
}
.hidden { display: none; }