/* ================================================
   WHISH MONEY simulated PAYMENT FLOW STYLES
   ================================================ */

.payment-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.whish-header {
    text-align: center;
    margin-bottom: 28px;
}

.whish-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    margin: 0 auto 16px;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.whish-header h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.whish-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.whish-amount {
    background: rgba(99, 102, 241, 0.06);
    border: 1px dashed rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    margin-bottom: 24px;
}

.whish-amount .amount-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.whish-amount .amount-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #8b5cf6;
    font-family: 'Rajdhani', sans-serif;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

/* Whish Steps */
.whish-step {
    animation: whishFadeIn 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.whish-step.hidden {
    display: none;
}

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

.whish-step label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
}

/* Phone input container */
.whish-phone-input {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2px 2px 2px 16px;
    transition: all 0.3s ease;
}

.whish-phone-input:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

.phone-prefix {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    user-select: none;
}

.whish-phone-input input {
    background: transparent;
    border: none;
    padding: 14px 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    width: 100%;
}

.whish-phone-input input:focus {
    outline: none;
}

/* Button style */
.btn-whish {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-whish:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

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

/* OTP Code digits */
.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 8px 0;
}

.otp-digit {
    width: 48px;
    height: 52px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
}

.otp-digit:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
    background: rgba(99, 102, 241, 0.05);
}

.otp-resend {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.otp-resend a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.otp-resend a:hover {
    color: #8b5cf6;
}

/* Processing Spinner */
.processing-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(99, 102, 241, 0.1);
    border-top: 3px solid #6366f1;
    border-radius: 50%;
    margin: 16px auto;
    animation: whishSpin 1s linear infinite;
}

@keyframes whishSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.processing-text {
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Success Step */
.success-checkmark {
    color: var(--success);
    text-align: center;
    margin: 8px 0;
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.whish-step h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 4px;
}

.payment-ref {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    background: rgba(255,255,255,0.03);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.payment-ref strong {
    color: var(--text-primary);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .payment-container {
        padding: 24px;
        border-radius: var(--radius-lg);
    }
    
    .otp-digit {
        width: 38px;
        height: 46px;
        font-size: 1.3rem;
    }
}
