﻿
/* Base */
.send-money-page {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    font-family: var(--HeadingFont) !important;
}
.sm-page-title img {
    width: 40px;
    height: 40px;
}
/* ── Header ── */
.sm-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-family: var(--HeadingFont) !important;
}

.sm-page-title {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-family: var(--HeadingFont) !important;
}

.sm-title-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #6c3fc5, #9b5de5);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(108,63,197,0.28);
    flex-shrink: 0;
    font-family: var(--HeadingFont) !important;
}

    .sm-title-icon img {
        width: 24px;
        height: 24px;
        filter: brightness(0) invert(1);
    }

.sm-title-text {
    margin: 0;
    font-size: 30px;
    font-weight: 400;
    color: #1a1a2e;
    font-family: var(--HeadingFont) !important;
}

.sm-title-sub {
    margin: 0;
    font-size: 14px;
    color: #7b7b9d;
    margin-top: 2px;
    font-family: var(--HeadingFont) !important;
    font-weight: 300;
}

    .sm-title-sub strong {
        color: #4b4b6b;
    }

/* ── Balance pills ── */
.sm-balance-pills {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #faf8ff;
    border: 1px solid #e8e0f5;
    border-radius: 14px;
    padding: 0.6rem 1rem;
    font-family: var(--HeadingFont) !important;
}

.sm-balance-pill {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.pill-label {
    font-size: 0.7rem;
    color: #9b9bb5;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--HeadingFont) !important;
}

.pill-value {
    font-size: 1rem;
    color: #1a1a2e;
    font-family: var(--HeadingFont) !important;
}

.sm-balance-divider {
    width: 1px;
    height: 32px;
    background: #e0d5f0;
}

.sm-float-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: #fff8e1;
    color: #b45309;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    font-family: var(--HeadingFont) !important;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

    .sm-float-link:hover {
        background: #fef3c7;
    }

/* ── Alert ── */
.sm-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-family: var(--HeadingFont) !important;
}

    .sm-alert .material-icons {
        font-size: 18px;
        margin-top: 1px;
        flex-shrink: 0;
    }

.sm-alert-warn {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-family: var(--HeadingFont) !important;
}

/* ── Form card wrapper ── */
.sm-form-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #ede8f5;
    box-shadow: 0 2px 18px rgba(108,63,197,0.07);
    padding: 0;
    font-family: var(--HeadingFont) !important;
    overflow: hidden;
}

/* ── Step connector line ── */
.sm-step-connector {
    height: 1px;
    background: #ede8f5;
    margin: 0 1.75rem;
    font-family: var(--HeadingFont) !important;
}

    .sm-step-connector.connector-active {
        background: radial-gradient(circle, #2e77f2, #59c7fa);
    }

/* ── Step container ── */
.sm-step {
    padding: 0;
    font-family: var(--HeadingFont) !important;
    transition: opacity 0.2s;
}

.step-locked {
    opacity: 0.45;
    pointer-events: none;
    font-family: var(--HeadingFont) !important;
}

.step-active {
    opacity: 1;
}

/* ── Step head (always visible row) ── */
.sm-step-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.75rem;
    cursor: default;
    font-family: var(--HeadingFont) !important;
    user-select: none;
}

    .sm-step-head.clickable {
        cursor: pointer;
        font-family: var(--HeadingFont) !important;
    }

        .sm-step-head.clickable:hover {
            background: #faf8ff;
        }

.sm-step-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #1976d2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: background 0.2s;
    font-family: var(--HeadingFont) !important;
}

.badge-done {
    background: #16a34a !important;
    font-family: var(--HeadingFont) !important;
}

.badge-locked {
    background: #d1d5db !important;
    font-family: var(--HeadingFont) !important;
}

.sm-step-badge .material-icons {
    font-size: 15px;
}

.sm-step-title-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-family: var(--HeadingFont) !important;
}

.sm-step-title {
    font-size: 18px;
    color: #1a1a2e;
    font-family: var(--HeadingFont) !important;
}

.sm-step-summary {
    font-size: 15px;
    color: #1976d2;
    font-weight: 500;
    font-family: var(--HeadingFont) !important;
}

.sm-step-chevron {
    font-size: 18px !important;
    color: #1976d2;
    cursor: pointer;
}
.sm-step-lock {
    font-size: 18px !important;
    color: #d1d5db;
}

/* ── Step body (revealed content) ── */
.sm-step-body {
    padding: 0 1.75rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: fadeSlide 0.2s ease;
    font-family: var(--HeadingFont) !important;
}

@@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Fields ── */
.sm-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-family: var(--HeadingFont) !important;
}

.sm-label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 15px;
    font-weight: 500;
    color: #4b4b6b;
    font-family: var(--HeadingFont) !important;
}

.sm-req {
    color: #dc2626;
    font-family: var(--HeadingFont) !important;
    margin-left: 1px;
}

.sm-label-icon {
    font-size: 15px !important;
    color: #1976d2;
}

.sm-select {
    border-radius: 10px !important;
    border: 1.5px solid #e0d5f0 !important;
    height: 46px !important;
    font-family: var(--HeadingFont) !important;
}

/* ── Step action row ── */
.sm-step-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f0ebfa;
    font-family: var(--HeadingFont) !important;
}

.sm-btn-continue {
    background: radial-gradient(circle, #2E77F2, #59C7FA) !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: var(--HeadingFont) !important;
    box-shadow: 0 3px 12px rgba(108,63,197,0.3) !important;
}

    .sm-btn-continue[disabled] {
        opacity: 0.45 !important;
        cursor: not-allowed !important;
        box-shadow: none !important;
        font-family: var(--HeadingFont) !important;
    }

.sm-btn-back {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: none;
    border: 1px solid #e0d5f0;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b4b6b;
    cursor: pointer;
    transition: background 0.15s;
    font-family: var(--HeadingFont) !important;
}

    .sm-btn-back:hover {
        background: #faf8ff;
    }

    .sm-btn-back .material-icons {
        font-size: 16px;
    }

.sm-btn-send {
    background: linear-gradient(135deg, #16a34a, #22c55e) !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 14px rgba(22,163,74,0.35) !important;
    letter-spacing: 0.02em !important;
    font-family: var(--HeadingFont) !important;
}

/* ── Review card ── */
.sm-review-card {
    background: rgb(234 244 252 / 52%);
    border: 1px solid #e8e0f5;
    border-radius: 14px;
    font-family: var(--HeadingFont) !important;
    overflow: hidden;
}

.sm-review-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 15px;
    color: #fff;
    background: rgb(25 118 210);
    padding: 0.65rem 1rem;
    font-family: var(--HeadingFont) !important;
}

    .sm-review-title .material-icons {
        font-size: 17px;
        color: #fff;
    }

.sm-review-grid {
    padding: 0.25rem 0;
    font-family: var(--HeadingFont) !important;
}

.sm-review-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #ede8f5;
    font-size: 0.87rem;
    font-family: var(--HeadingFont) !important;
}

    .sm-review-row:last-child {
        border-bottom: none;
    }

.rv-label {
    color: #7b7b9d;
    font-family: var(--HeadingFont) !important;
    font-weight: 500;
}

.rv-value {
    color: #1a1a2e;
    font-family: var(--HeadingFont) !important;
    font-weight: 600;
}

.rv-amount {
    color: #16a34a;
    font-size: 1.05rem;
    font-family: var(--HeadingFont) !important;
}

.sm-review-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    color: #b45309;
    background: #fffbeb;
    border-top: 1px solid #fde68a;
    padding: 0.6rem 1rem;
    font-family: var(--HeadingFont) !important;
}

/* ── Billing dialog ── */
.billing-dialog {
    padding: 0.5rem 0;
    font-family: var(--HeadingFont) !important;
}

.sm-dialog-info {
    background: #fff8e1;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
    color: #92400e;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-family: var(--HeadingFont) !important;
    margin-bottom: 0.25rem;
}

    .sm-dialog-info .material-icons {
        font-size: 16px;
        margin-top: 1px;
        flex-shrink: 0;
    }

.balanceBox {
    background: #f3eeff;
    border: 1px solid #e0d5f0;
    border-radius: 10px;
    padding: 0.65rem 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #6c3fc5;
    text-align: center;
    font-family: var(--HeadingFont) !important;
    margin-top: 0.35rem;
}

.dialog-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    font-family: var(--HeadingFont) !important;
    padding-top: 0.5rem;
}


.sm-detail-card {
    background: #EFF6FB;
    border: 1px solid #ede8f5;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0;
    font-family: var(--HeadingFont) !important;
}

.sm-detail-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size:18px;
    color: #1a1a2e;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #ede8f5;
    font-family: var(--HeadingFont) !important;
}

.sm-detail-header-icon {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #2e77f2, #59c7fa);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .sm-detail-header-icon .material-icons {
        font-size: 15px;
        color: #fff;
    }

.sm-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-family: var(--HeadingFont) !important;
}

.sm-col-full {
    grid-column: 1 / -1;
}

@@media (max-width: 640px) {
    .sm-form-grid {
        grid-template-columns: 1fr;
    }

    .sm-col-full {
        grid-column: 1;
    }
}

.sm-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-family: var(--HeadingFont) !important;
}

.sm-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: #4b4b6b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--HeadingFont) !important;
}

.sm-required {
    color: #e53e3e;
    font-weight: 700;
    font-family: var(--HeadingFont) !important;
}

.sm-input {
    border-radius: 10px !important;
    border: 1.5px solid #e0d5f0 !important;
    height: 46px !important;
    font-size: 0.88rem !important;
    transition: border-color 0.2s;
    font-family: var(--HeadingFont) !important;
}

    .sm-input:focus {
        border-color: #9b5de5 !important;
    }

.sm-error-text {
    font-size: 0.77rem;
    color: #e53e3e;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 2px;
    font-family: var(--HeadingFont) !important;
}

.sm-optional-badge {
    display: inline-block;
    margin-left: 0.5rem;
    background: #fff8e1;
    color: #b7791f;
    border: 1px solid #fde68a;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.1rem 0.55rem;
    vertical-align: middle;
    font-family: var(--HeadingFont) !important;
}

.sm-label-hint {
    font-size: 0.75rem;
    color: #9b9bb5;
    font-weight: 400;
    margin-left: 0.25rem;
    font-family: var(--HeadingFont) !important;
}

.sm-char-count {
    font-size: 0.74rem;
    color: #9b9bb5;
    text-align: right;
    display: block;
    margin-top: 2px;
    font-family: var(--HeadingFont) !important;
}

.selectInputSendMoney.rz-dropdown {
    width: 100%;
    height: 46px;
    border: 1px solid rgb(58 34 76 / 30%);
    border-radius: 10px;
    background-color: #ffffff;
    box-sizing: border-box;
    position: relative;
    padding-right: 44px;
    margin-top: 0px;
}



/* ── Info Bar ── */
.sm-info-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    background: linear-gradient(135deg, #eef4ff, #f0f9ff);
    border: 1px solid #c7deff;
    border-radius: 14px;
    padding: 0.75rem 1.25rem;
    font-family: var(--HeadingFont) !important;
}

.sm-info-step {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    padding: 0.35rem 0.85rem;
    font-size: 14px;
    font-weight: 500;
    color: #1e40af;
    white-space: nowrap;
    font-family: var(--HeadingFont) !important;
}

.sm-info-icon .material-icons {
    font-size: 15px;
    color: #2563eb;
}

.sm-info-text {
    font-family: var(--HeadingFont) !important;
}

.sm-info-arrow {
    font-size: 18px !important;
    color: #93c5fd;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .sm-info-bar {
        gap: 0.3rem;
        padding: 0.6rem 0.9rem;
    }

    .sm-info-step {
        font-size: 0.72rem;
        padding: 0.3rem 0.65rem;
    }
}