/* Magnify Manual Payment - Checkout Styles (dark-card redesign) */
/* Accent color is driven by --mmp-color CSS variable set inline */

.mmp-checkout-wrapper {
    margin-top: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --mmp-color: #C9A227; /* fallback; overridden inline */
    background: #111111;
    border: 1px solid rgba(201, 162, 39, 0.22);
    border-radius: 16px;
    padding: 20px 22px;
    color: #ededed;
}

.mmp-description {
    color: #9a9a9a;
    margin: 0 0 16px;
    font-size: 13px;
}

.mmp-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--mmp-color);
    margin: 0 0 10px;
}

.mmp-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--mmp-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.mmp-required {
    color: #e74c3c;
    font-size: 15px;
    font-weight: 900;
}

/* ── Channel Tabs (GCash / Bank Transfer) ──────────────────────────────── */
.mmp-channel-tabs {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 5px;
    border-radius: 11px;
    margin-bottom: 16px;
}

.mmp-channel-tab {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: #9a9a9a;
    background: transparent;
    border: none;
    transition: all 0.15s;
}

.mmp-channel-tab.is-active {
    color: #151515;
    background: var(--mmp-color);
}

/* ── Account Details + QR row ──────────────────────────────────────────── */
.mmp-account-qr-row {
    display: grid;
    grid-template-columns: 1fr 190px;
    gap: 14px;
    align-items: stretch;
}

@media (max-width: 480px) {
    .mmp-account-qr-row { grid-template-columns: 1fr; }
}

.mmp-account-details {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mmp-account-details-full {
    grid-column: 1 / -1;
}

.mmp-account-title {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--mmp-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mmp-account-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 10px;
}

.mmp-account-row:last-child {
    border-bottom: none;
}

.mmp-label {
    color: #8f8f8f;
    font-size: 12px;
    white-space: nowrap;
}

.mmp-value {
    color: #f3f3f3;
    font-weight: 700;
    font-size: 13px;
    text-align: right;
}

.mmp-copy-btn {
    background: none;
    border: none;
    color: var(--mmp-color);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 4px;
    font-family: inherit;
}

.mmp-copy-btn.is-copied {
    color: #2ecc71;
}

/* ── QR Code ────────────────────────────────────────────────────────────── */
.mmp-qr-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mmp-qr-badge-wrap {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.mmp-qr-image {
    display: block;
    width: 100%;
    max-width: 190px;
    height: auto;
    border-radius: 4px;
}

.mmp-qr-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--mmp-color);
    color: #151515;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 0 0 3px #fff;
}

.mmp-qr-caption {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #777;
    text-transform: uppercase;
}

/* ── How to Pay (collapsible) ──────────────────────────────────────────── */
.mmp-howto {
    margin-top: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    overflow: hidden;
}

.mmp-howto-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 13px;
    color: var(--mmp-color);
}

.mmp-howto-chevron {
    color: #9a9a9a;
    font-size: 16px;
    line-height: 1;
    transform: rotate(180deg);
    transition: transform 0.2s;
}

.mmp-howto-toggle[aria-expanded="false"] .mmp-howto-chevron {
    transform: rotate(0deg);
}

.mmp-howto-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mmp-howto-toggle[aria-expanded="false"] + .mmp-howto-steps {
    display: none;
}

.mmp-howto-step {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #c9c9c9;
}

.mmp-howto-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--mmp-color);
    color: #151515;
    font-weight: 800;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

/* ── Proof Upload ───────────────────────────────────────────────────────── */
.mmp-proof-upload {
    margin-top: 16px;
}

.mmp-upload-desc {
    font-size: 12px;
    color: #9a9a9a;
    margin: 0 0 10px;
}

.mmp-upload-area {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1.5px dashed rgba(201, 162, 39, 0.4);
    border-radius: 11px;
    background: rgba(201, 162, 39, 0.04);
    padding: 14px 16px;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
    min-height: 66px;
}

.mmp-upload-area:hover,
.mmp-upload-area.dragover {
    border-color: var(--mmp-color);
    background: rgba(201, 162, 39, 0.09);
}

.mmp-file-input {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.mmp-upload-placeholder {
    display: flex;
    align-items: center;
    gap: 14px;
    pointer-events: none;
}

.mmp-upload-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(201, 162, 39, 0.14);
    color: var(--mmp-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex: none;
}

.mmp-upload-placeholder p {
    margin: 0;
    color: #e9e9e9;
    font-size: 13px;
    font-weight: 700;
}

.mmp-upload-hint {
    color: #7f7f7f !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    margin-top: 2px !important;
}

.mmp-upload-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    width: 100%;
}

.mmp-upload-preview .mmp-preview-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--mmp-color);
}

.mmp-upload-success {
    color: #2ecc71;
    font-weight: 600;
    font-size: 13px;
}

.mmp-remove-preview {
    position: absolute;
    top: -6px; right: -6px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px; height: 20px;
    font-size: 11px;
    cursor: pointer;
    line-height: 20px;
    text-align: center;
    padding: 0;
    z-index: 3;
}

.mmp-remove-preview:hover {
    background: #c0392b;
}

/* ── Thank You Page ─────────────────────────────────────────────────────── */
.mmp-thankyou-note {
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--mmp-color, #C9A227);
}
