* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.checkout-body,
body.landing-body {
    background: #f1f5f9;
    color: #0f172a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.checkout-container,
.landing-wrap {
    width: 100%;
    max-width: 480px;
}

.checkout-card,
.landing-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    padding: 24px;
}

.landing-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.landing-card h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.landing-sub {
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 18px;
    gap: 12px;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.brand-title {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
}

.tx-ref {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.amount-box {
    text-align: right;
}

.amount-label {
    display: block;
    font-size: 11px;
    color: #64748b;
}

.amount-val {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 10px;
}

.wallet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.wallet-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border: 2px solid #e2e8f0;
    background: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}

.wallet-tab:hover {
    border-color: #cbd5e1;
}

.wallet-tab.active {
    border-color: var(--wallet-color, #2563eb);
    background: #f8fafc;
    color: #0f172a;
}

.wallet-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.instruction-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 18px;
}

.inst-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.mode-badge {
    display: inline-block;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    margin-bottom: 4px;
}

.inst-wallet-name {
    font-size: 12px;
    color: #475569;
    font-weight: 600;
}

.copy-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #cbd5e1;
    padding: 6px 10px;
    border-radius: 8px;
}

.wallet-number {
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.btn-copy {
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.inst-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 8px;
}

.inst-exact {
    font-size: 13px;
    color: #0f172a;
    background: #e2e8f0;
    padding: 6px 10px;
    border-radius: 6px;
    display: inline-block;
}

.form-group {
    margin-bottom: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    font-size: 14px;
    outline: none;
}

.form-group input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.btn-primary {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.btn-primary:hover {
    opacity: 0.92;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-outline {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.checkout-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
}

.cancel-link {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
}

.support-text {
    color: #64748b;
}

.alert {
    padding: 11px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.demo-form {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.demo-form h3 {
    font-size: 15px;
    margin-bottom: 12px;
}

.endpoint-box {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 16px;
    overflow-x: auto;
}

.endpoint-box code {
    color: #38bdf8;
}

.landing-footer {
    text-align: center;
}

.status-card {
    text-align: center;
}

.status-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
}

.status-icon.success {
    background: #dcfce7;
    color: #16a34a;
}

.status-icon.pending {
    background: #fef9c3;
    color: #ca8a04;
}

.status-icon.cancelled {
    background: #fee2e2;
    color: #dc2626;
}

.status-sub {
    color: #475569;
    font-size: 14px;
    margin: 8px 0 18px;
    line-height: 1.5;
}

.receipt-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    text-align: left;
}

.receipt-box div {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px dashed #e2e8f0;
}

.receipt-box div:last-child {
    border-bottom: none;
}

.receipt-box span {
    color: #64748b;
}
