:root {
    --primary: #6c8cf5;
    --primary-hover: #5a79e6;
    --secondary: #a8c5ff;
    --accent: #f4b183;
    --background: #f8fafc;
    --surface: #ffffff;
    --soft-section: #eef4ff;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    --shadow-soft: 0 12px 32px rgba(31, 41, 55, 0.08);
    --shadow-card: 0 8px 24px rgba(31, 41, 55, 0.06);
    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body.pembayaran-page {
    min-width: 1200px;
    background: var(--background);
    color: var(--text-primary);
    font-family: "Poppins", sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 96px, var(--container));
    margin-inline: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-outline {
    border-color: var(--border);
    color: var(--text-primary);
    background: #fff;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.full-width {
    width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 110;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.header-inner {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(145deg, var(--primary), #7ba0ff);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(108, 140, 245, 0.28);
}

.brand-text {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 1.16rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    font-family: "Montserrat", sans-serif;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.auth-link {
    color: var(--text-secondary);
    font-weight: 500;
}

.auth-link:hover {
    color: var(--text-primary);
}

.payment-layout-section {
    padding: 36px 0 80px;
}

.payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) 390px;
    gap: 22px;
    align-items: start;
}

.payment-main-column {
    display: grid;
    gap: 18px;
}

.payment-side-column {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 102px;
}

.payment-card {
    background: #fff;
    border: 1px solid #e8edf8;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 22px;
}

.section-heading {
    margin-bottom: 16px;
}

.section-heading.compact {
    margin-bottom: 14px;
}

.section-heading .eyebrow {
    margin: 0 0 8px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.78rem;
    font-weight: 600;
}

.section-heading h2 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1.55rem;
    line-height: 1.25;
}

.order-summary-head {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: center;
}

.order-summary-head img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    border-radius: 10px;
}

.order-summary-head h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1.03rem;
}

.order-summary-head p {
    margin: 4px 0 7px;
    color: #64748b;
    font-size: 0.88rem;
}

.status-badge {
    white-space: nowrap;
    border-radius: 999px;
    font-size: 0.72rem;
    padding: 5px 9px;
    font-weight: 600;
}

.status-badge.available {
    color: #166534;
    background: #ecfdf3;
    border: 1px solid #caefd9;
}

.order-summary-list {
    display: grid;
    gap: 9px;
    margin-top: 14px;
}

.order-summary-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #475569;
    font-size: 0.9rem;
}

.order-summary-list strong {
    color: #1f2937;
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
}

.summary-total-box {
    margin-top: 14px;
    border-top: 1px solid #edf1f7;
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-total-box strong {
    color: var(--primary);
    font-family: "Montserrat", sans-serif;
    font-size: 1.25rem;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.method-item {
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    cursor: pointer;
}

.method-item input {
    accent-color: var(--primary);
    margin-top: 2px;
}

.method-item strong {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
}

.method-item small {
    color: #64748b;
}

.method-item.is-active {
    border-color: var(--primary);
    background: #f4f7ff;
    box-shadow: 0 0 0 3px rgba(108, 140, 245, 0.12);
}

.payment-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.detail-item {
    border: 1px solid #e9edf5;
    border-radius: 10px;
    background: #fff;
    padding: 11px 12px;
    display: grid;
    gap: 4px;
}

.detail-item span {
    color: #64748b;
    font-size: 0.82rem;
}

.detail-item strong {
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
}

.detail-item.important {
    background: #f6f9ff;
    border-color: #dce6ff;
}

.detail-item.important strong {
    color: #3655b8;
}

.tiny-btn {
    justify-self: start;
    margin-top: 6px;
    border: 1px solid #dfe7ff;
    background: #fff;
    color: #3655b8;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 10px;
    cursor: pointer;
}

.instruction-box {
    margin-top: 14px;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    background: #f8fafc;
    padding: 12px;
}

.instruction-box h3 {
    margin: 0 0 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.98rem;
}

.instruction-box ol {
    margin: 0;
    padding-left: 20px;
    color: #475569;
    font-size: 0.9rem;
}

.upload-box {
    border: 2px dashed #cfe0ff;
    border-radius: 14px;
    background: #f8fbff;
    padding: 22px;
    text-align: center;
    display: grid;
    gap: 6px;
}

.upload-box i {
    font-size: 1.4rem;
    color: var(--primary);
}

.upload-box p {
    margin: 0;
    font-weight: 500;
    color: #334155;
}

.upload-box small {
    color: #64748b;
}

.upload-box input {
    margin-top: 6px;
}

.upload-meta {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.upload-meta span {
    color: #475569;
    font-size: 0.9rem;
}

.status-steps {
    display: grid;
    gap: 10px;
}

.step {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    border-radius: 12px;
    border: 1px solid #e8edf5;
    padding: 11px 12px;
    background: #fff;
}

.step .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    margin-top: 6px;
}

.step h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
}

.step p {
    margin: 3px 0 0;
    color: #64748b;
    font-size: 0.88rem;
}

.step.active-pending {
    background: #fff7ed;
    border-color: #f7d8b5;
}

.step.active-pending .dot {
    background: #fb923c;
}

.step.active-verification {
    background: #eef4ff;
    border-color: #cfe0ff;
}

.step.active-verification .dot {
    background: #6c8cf5;
}

.step.success {
    background: #ecfdf3;
    border-color: #caefd9;
}

.step.success .dot {
    background: #22c55e;
}

.invoice-list {
    display: grid;
    gap: 9px;
}

.invoice-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #475569;
    font-size: 0.89rem;
}

.invoice-list strong {
    font-family: "Montserrat", sans-serif;
    color: #1f2937;
    font-size: 0.88rem;
}

.status-text {
    color: #3655b8;
}

.invoice-total {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf1f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.invoice-total strong {
    color: var(--primary);
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
}

.invoice-actions {
    margin-top: 12px;
    display: grid;
    gap: 9px;
}

.site-footer {
    background: #e7eefc;
    border-top: 1px solid #d9e4fb;
}

.footer-grid {
    padding: 70px 0 36px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer-brand p {
    margin-top: 14px;
    color: #4d5b76;
    max-width: 340px;
}

.footer-col h4 {
    margin: 0 0 12px;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
}

.footer-col a,
.footer-col p {
    display: block;
    margin: 0 0 9px;
    color: #4d5b76;
    font-size: 0.93rem;
}

.footer-col a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #d4def5;
    color: #4e5e7f;
}

.social-links a:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #d7e1f8;
    padding: 18px 0;
    color: #5f6f8d;
    font-size: 0.9rem;
}

.payment-card {
    animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
