/* M'Cube Pay — web send-money wizard (steps 1–3) */

.mcube-landing-main {
    background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
}

.mcube-send-flow {
    min-height: calc(100vh - 140px);
    padding: 32px 16px 48px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.mcube-send-container {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.mcube-progress-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.mcube-progress-dots .mcube-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: all 0.25s ease;
}

.mcube-progress-dots .mcube-dot.active {
    width: 28px;
    background: #f5b800;
}

.mcube-send-heading {
    font-family: 'Clash Display', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    color: #0a1628;
    text-align: center;
    margin: 0 0 20px;
    line-height: 1.25;
}

.mcube-step-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(10, 22, 40, 0.08);
    padding: 24px;
    margin-bottom: 16px;
}

.mcube-recipients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.mcube-recipient-card {
    min-height: 148px;
}

.mcube-amount-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(10, 22, 40, 0.08);
    padding: 24px;
}

.mcube-amount-input-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px 0 20px;
}

.mcube-currency-symbol {
    font-size: 2rem;
    font-weight: 700;
    color: #0a1628;
}

.mcube-amount-input {
    border: none;
    outline: none;
    font-family: 'Clash Display', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 6vw, 2.75rem);
    font-weight: 700;
    color: #0a1628;
    width: min(220px, 60vw);
    text-align: center;
    background: transparent;
}

.mcube-receive-amount {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #00a884;
    letter-spacing: -0.02em;
}

.mcube-receive-amount .mono-text,
.mcube-receive-amount span {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.mcube-transfer-details {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.mcube-summary-card,
.mcube-delivery-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(10, 22, 40, 0.08);
    padding: 24px;
    margin-bottom: 16px;
}

.mcube-summary-row {
    gap: 16px;
}

.mcube-summary-label {
    flex-shrink: 0;
}

.mcube-summary-value {
    max-width: 58%;
    word-break: break-word;
}

.mcube-delivery-card {
    position: relative;
}

.mcube-delivery-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mcube-delivery-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mcube-delivery-card.active {
    border-color: #00c9a7;
    background: rgba(0, 201, 167, 0.05);
}

.mcube-delivery-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a1628;
    flex-shrink: 0;
}

.mcube-delivery-content h4 {
    margin: 0 0 4px;
    font-size: 15px;
    color: #0a1628;
}

.mcube-delivery-eta {
    margin: 0;
    font-size: 12px;
    color: #64748b;
}

.mcube-delivery-check {
    margin-left: auto;
    color: #00c9a7;
    opacity: 0;
}

.mcube-delivery-card.active .mcube-delivery-check {
    opacity: 1;
}

.mcube-btn-primary.mcube-btn-full,
.mcube-btn-large {
    border-radius: 14px;
    min-height: 52px;
    font-weight: 700;
}

.mcube-btn-back {
    margin-top: 8px;
}

/* Step 3 — PIN */
.mcube-auth-state {
    max-width: 420px;
    margin: 0 auto;
}

.mcube-pin-step-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
    text-align: left;
}

.mcube-pin-step-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    padding: 4px 0;
}

.mcube-pin-step-summary-row strong {
    color: #0a1628;
}

.mcube-pin-pad {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(10, 22, 40, 0.08);
    padding: 24px 20px 20px;
}

.mcube-pin-display {
    margin-bottom: 16px;
}

.mcube-pin-dot {
    width: 14px;
    height: 14px;
}

.mcube-numpad {
    max-width: 300px;
    gap: 10px;
}

.mcube-numpad-btn {
    min-height: 56px;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.mcube-send-flow-alert {
    display: none;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 14px;
    align-items: center;
    gap: 8px;
}

.mcube-send-flow-alert.is-visible {
    display: flex;
}

@media (min-width: 768px) {
    .mcube-send-flow {
        padding: 48px 24px 64px;
    }

    .mcube-send-container {
        max-width: 640px;
    }

    .mcube-recipients-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
