/* Payment Method Styles */
.payment-method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.payment-option {
    position: relative;
    cursor: pointer;
}

.payment-option input {
    display: none;
}

.payment-option input:checked + div + .payment-label,
.payment-option input:checked + div + .payment-label + small {
    color: #a78bfa;
}

.payment-option input:checked ~ .payment-label,
.payment-option input:checked ~ .payment-label + small {
    color: #a78bfa;
    font-weight: 600;
}

.payment-option .payment-icon {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    font-size: 32px;
    color: #6b7280;
}

.payment-option input:checked + .payment-icon {
    border-color: #a78bfa;
    background-color: rgba(167, 139, 250, 0.1);
    color: #a78bfa;
    box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.1);
}

.payment-option:hover .payment-icon {
    border-color: #a78bfa;
}

.payment-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #374151;
}

.payment-option small {
    display: block;
    font-size: 12px;
    color: #9ca3af;
}

.payment-details {
    background-color: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #a78bfa;
}

.bank-details-display {
    background-color: white;
    border: 1px solid #e5e7eb;
}

.bank-details-display h5 {
    margin-bottom: 12px;
    color: #1f2937;
    font-weight: 600;
}

.bank-details-display p {
    margin: 8px 0;
    font-size: 14px;
    color: #4b5563;
}

.bank-details-display strong {
    color: #1f2937;
}

.alert-info {
    background-color: #e0f2fe;
    border: 1px solid #7dd3fc;
    color: #0369a1;
    padding: 12px;
    border-radius: 8px;
}

.alert-info strong {
    color: #0369a1;
}

/* Responsive */
@media (max-width: 768px) {
    .payment-method-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .payment-option .payment-icon {
        height: 70px;
        font-size: 28px;
    }
    
    .payment-details {
        padding: 16px;
    }
}

@media (max-width: 576px) {
    .payment-method-grid {
        gap: 14px;
    }
    
    .payment-option .payment-icon {
        height: 60px;
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .payment-label {
        font-size: 13px;
    }
    
    .payment-option small {
        font-size: 11px;
    }
    
    .payment-details {
        padding: 14px;
    }
    
    .bank-details-display {
        padding: 12px !important;
    }
    
    .bank-details-display h5 {
        font-size: 1rem;
    }
    
    .bank-details-display p {
        font-size: 13px;
    }
    
    .alert-info {
        padding: 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .payment-method-grid {
        gap: 12px;
    }
    
    .payment-option .payment-icon {
        height: 55px;
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    .payment-label {
        font-size: 12px;
    }
    
    .payment-option small {
        font-size: 10px;
    }
    
    .payment-details {
        padding: 12px;
    }
    
    .bank-details-display {
        padding: 10px !important;
    }
    
    .bank-details-display h5 {
        font-size: 0.9375rem;
        margin-bottom: 10px;
    }
    
    .bank-details-display p {
        font-size: 12px;
        margin: 6px 0;
    }
    
    .alert-info {
        padding: 8px;
        font-size: 12px;
    }
}

@media (max-width: 375px) {
    .payment-option .payment-icon {
        height: 50px;
        font-size: 20px;
    }
    
    .payment-label {
        font-size: 11px;
    }
    
    .payment-option small {
        font-size: 9px;
    }
}

/* ======================================================
   MOBILE MONEY WIZARD — Premium Step-by-Step Flow
   ====================================================== */

/* Progress Indicator */
.mm-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 0 28px;
    padding: 20px 16px 16px;
    background: rgba(124, 58, 237, 0.04);
    border-radius: 16px;
    border: 1px solid rgba(124, 58, 237, 0.12);
}

.mm-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    transition: all 0.3s ease;
}

.mm-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
}

.mm-step.active .mm-step-circle {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: white;
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
    transform: scale(1.1);
}

.mm-step.done .mm-step-circle {
    background: #22c55e;
    color: white;
    border-color: rgba(34, 197, 94, 0.3);
}

.mm-step span {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    white-space: nowrap;
    transition: color 0.3s;
}

.mm-step.active span {
    color: #7c3aed;
}

.mm-step-line {
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    border-radius: 4px;
    margin: 0 12px;
    margin-bottom: 24px;
    transition: background 0.4s ease;
    max-width: 80px;
}

.mm-step-line.active {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

/* Panels */
.mm-panel {
    display: none;
    animation: mmSlideIn 0.35s ease;
}

.mm-panel.active {
    display: block;
}

@keyframes mmSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mm-panel-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mm-panel-title i {
    color: #7c3aed;
    font-size: 1rem;
}

.mm-panel-subtitle {
    color: #6b7280;
    font-size: 0.92rem;
    margin-bottom: 20px;
}

/* Provider Cards */
.mm-provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 8px;
}

.mm-provider-card {
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: white;
    position: relative;
    overflow: hidden;
}

.mm-provider-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(167, 139, 250, 0.04));
    opacity: 0;
    transition: opacity 0.25s;
}

.mm-provider-card:hover {
    border-color: #a78bfa;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
}

.mm-provider-card:hover::before {
    opacity: 1;
}

.mm-provider-card.selected {
    border-color: #7c3aed;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(167, 139, 250, 0.05));
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12), 0 8px 24px rgba(124, 58, 237, 0.2);
    transform: translateY(-3px);
}

.mm-provider-icon {
    font-size: 28px;
    color: #7c3aed;
    margin-bottom: 10px;
}

.mm-provider-name {
    font-weight: 700;
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 4px;
}

.mm-provider-number {
    font-size: 12px;
    color: #6b7280;
    font-family: 'Courier New', monospace;
}

.mm-no-providers {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px;
    color: #6b7280;
    font-size: 0.9rem;
}

.mm-no-providers i {
    font-size: 2rem;
    color: #f59e0b;
    display: block;
    margin-bottom: 10px;
}

/* Send Card (Step 2) */
.mm-send-card {
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
    color: white;
    border-radius: 18px;
    padding: 28px 24px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 12px 36px rgba(124, 58, 237, 0.35);
    position: relative;
    overflow: hidden;
}

.mm-send-card::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.mm-send-to-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.75;
    margin-bottom: 4px;
}

.mm-send-provider-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.mm-send-number-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 10px 18px;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.mm-send-number {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.05em;
}

.mm-copy-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-size: 14px;
}

.mm-copy-btn:hover {
    background: rgba(255,255,255,0.35);
}

.mm-send-amount-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.9;
}

.mm-send-amount-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.mm-send-amount {
    font-size: 1.1rem;
    font-weight: 800;
}

/* Instructions Box */
.mm-instructions-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 20px;
}

.mm-instructions-title {
    font-weight: 700;
    color: #15803d;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mm-instructions-list {
    margin: 0;
    padding-left: 20px;
    color: #166534;
    font-size: 0.9rem;
    line-height: 1.7;
}

.mm-instructions-list li {
    margin-bottom: 4px;
}

/* Confirm Summary */
.mm-confirm-summary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 16px;
}

.mm-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9rem;
}

.mm-summary-row:last-child {
    border-bottom: none;
}

.mm-summary-row span {
    color: #6b7280;
}

.mm-summary-row strong {
    color: #1f2937;
}

/* Field Hint */
.mm-field-hint {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 5px;
}

/* Navigation Buttons */
.mm-step-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    gap: 12px;
}

.mm-btn-back {
    background: transparent;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.mm-btn-back:hover {
    border-color: #a78bfa;
    color: #7c3aed;
}

.mm-btn-next {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    border: none;
    color: white;
    padding: 12px 28px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
    margin-left: auto;
}

.mm-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

/* Responsive */
@media (max-width: 640px) {
    .mm-provider-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mm-send-number {
        font-size: 1.2rem;
    }
    
    .mm-progress {
        padding: 16px 8px 14px;
    }
    
    .mm-step-line {
        max-width: 40px;
        margin: 0 6px;
        margin-bottom: 24px;
    }
    
    .mm-step span {
        font-size: 10px;
    }
}

