.swapp-momo-form {
    border: 1px solid #d9dce7;
    border-radius: 8px;
    max-width: 420px;
    padding: 20px;
    background: #fff;
}

.swapp-momo-field {
    margin-bottom: 16px;
}

.swapp-momo-steps {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 16px;
}

.swapp-momo-step {
    background: #f3f5fb;
    border: 1px solid #e1e5f2;
    border-radius: 6px;
    color: #6f7280;
    display: block;
    font-size: .78rem;
    font-weight: 700;
    padding: 8px 10px;
    text-align: center;
}

.swapp-momo-step--active {
    background: #f0e7ff;
    border-color: #b99dff;
    color: #6200ee;
}

.swapp-momo-step--done {
    background: #eaf8f0;
    border-color: #9bd7b4;
    color: #0f7b3e;
}

.swapp-momo-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.swapp-momo-field input {
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    border: 1px solid #ccd2df;
    border-radius: 6px;
    padding: 8px 10px;
}

.swapp-momo-amount {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.swapp-momo-button {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    background: #6200ee;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.swapp-momo-button:disabled {
    cursor: wait;
    opacity: .7;
}

.swapp-momo-button--disabled-by-terms:disabled {
    cursor: not-allowed;
    opacity: .56;
}

.wc-block-components-checkout-place-order-button.swapp-momo-place-order-disabled {
    cursor: not-allowed;
    opacity: .55;
}

.swapp-momo-link-button {
    background: transparent;
    border: 0;
    color: #6200ee;
    cursor: pointer;
    display: block;
    font-weight: 700;
    margin-top: 10px;
    padding: 0;
    text-align: center;
    width: 100%;
}

.swapp-momo-message {
    margin-top: 14px;
    min-height: 22px;
    font-size: .95rem;
}

.swapp-momo-details {
    background: #fbfcff;
    border: 1px solid #e1e5f2;
    border-radius: 8px;
    margin: 12px 0 14px;
    padding: 4px 14px;
}

.swapp-momo-detail-row {
    align-items: center;
    border-bottom: 1px solid #e6e9f4;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    min-height: 38px;
}

.swapp-momo-detail-row:last-child {
    border-bottom: 0;
}

.swapp-momo-detail-row span {
    color: #6f7280;
}

.swapp-momo-detail-row strong {
    color: #262338;
    text-align: right;
}

.swapp-momo-detail-row--total strong {
    color: #6200ee;
}

.swapp-momo-callback {
    background: #f8f5ff;
    border: 1px solid #cab8ff;
    border-radius: 8px;
    color: #4b5563;
    margin-top: 14px;
    padding: 14px;
}

.swapp-momo-callback strong,
.swapp-momo-callback span {
    display: block;
}

.swapp-momo-callback strong {
    color: #262338;
    margin-bottom: 4px;
}

.swapp-momo-next-action {
    background: #f8f5ff;
    border: 1px solid #cab8ff;
    border-radius: 8px;
    color: #4b5563;
    margin: 12px 0 2px;
    padding: 12px 14px;
}

.swapp-momo-next-action strong,
.swapp-momo-next-action span {
    display: block;
}

.swapp-momo-next-action strong {
    color: #262338;
    margin-bottom: 4px;
}

.swapp-momo-powered-by {
    align-items: center;
    border-top: 1px solid #e7e9f2;
    color: #6f7280;
    display: flex;
    font-size: .82rem;
    gap: 6px;
    justify-content: center;
    margin-top: 18px;
    padding-top: 14px;
}

.swapp-momo-powered-by img {
    border-radius: 6px;
    height: 22px;
    width: 22px;
}

.swapp-momo-powered-by strong {
    color: #262338;
    font-weight: 700;
}

.swapp-momo-return {
    margin: 24px 0 34px;
}

.swapp-momo-status-panel {
    background: #fff;
    border: 1px solid #d9dce7;
    border-left: 5px solid #6200ee;
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(38, 35, 56, .10);
    max-width: 760px;
    padding: 20px;
}

.swapp-momo-status-panel--success {
    border-left-color: #0f7b3e;
}

.swapp-momo-status-panel--failed {
    border-left-color: #b42318;
}

.swapp-momo-status-header {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.swapp-momo-status-mark {
    align-items: center;
    background: linear-gradient(135deg, #6200ee, #2f8cff);
    border-radius: 8px;
    color: #fff;
    display: flex;
    flex: 0 0 auto;
    font-size: .78rem;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.swapp-momo-status-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.swapp-momo-return-heading {
    color: #111827;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.swapp-momo-return-subheading {
    color: #4b5563;
    font-size: .95rem;
    margin-top: 4px;
}

.swapp-momo-countdown {
    align-items: center;
    background: #f8f5ff;
    border: 1px solid #cab8ff;
    border-radius: 8px;
    color: #6200ee;
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
    padding: 10px 12px;
}

.swapp-momo-countdown strong {
    font-size: 1.45rem;
    line-height: 1;
}

.swapp-momo-countdown span {
    color: #4b5563;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.swapp-momo-status-panel .swapp-momo-message {
    background: #f8fafc;
    border: 1px solid #e1e5f2;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 16px;
    min-height: 0;
    padding: 12px 14px;
}

.swapp-momo-status-progress {
    background: #edf0f7;
    border-radius: 999px;
    height: 9px;
    margin-top: 14px;
    overflow: hidden;
}

.swapp-momo-status-progress span {
    background: linear-gradient(90deg, #6200ee, #2f8cff);
    border-radius: inherit;
    display: block;
    height: 100%;
    transition: width .25s ease;
}

.swapp-momo-message--success {
    color: #0f7b3e;
}

.swapp-momo-message--error {
    color: #b42318;
}

.swapp-momo-message--info {
    color: #4b5563;
}

.swapp-momo-blocks-label {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.swapp-momo-blocks-label-logo {
    border-radius: 6px;
    height: 24px;
    width: 24px;
}

.swapp-momo-blocks-payment {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    padding: 4px 0 2px;
}

.swapp-momo-blocks-logo {
    border-radius: 8px;
    flex: 0 0 auto;
    height: 36px;
    width: 36px;
}

.swapp-momo-blocks-copy p {
    margin: 0 0 6px;
}

.swapp-momo-blocks-copy small {
    color: #6f7280;
    font-size: .82rem;
}

@media (max-width: 480px) {
    .swapp-momo-steps {
        grid-template-columns: 1fr;
    }

    .swapp-momo-status-panel {
        padding: 16px;
    }

    .swapp-momo-status-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .swapp-momo-countdown {
        width: 100%;
        justify-content: center;
    }

    .swapp-momo-detail-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
        padding: 8px 0;
    }

    .swapp-momo-detail-row strong {
        text-align: left;
    }
}
