/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --accent-blue: #38bdf8;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --success: #22c55e;
    --danger: #f87171;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    padding-top: 70px;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.back-btn {
    color: var(--text-main);
    text-decoration: none;
    font-size: 24px;
    margin-right: 20px;
}

.page-title {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* CONTAINER */
.container {
    padding: 15px;
}

/* HERO */
.hero-box {
    width: 100%;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-box h2 {
    font-size: 1.3rem;
    color: var(--accent-blue);
}

.hero-box p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* CARD */
.machine-card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s;
}

.machine-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(56,189,248,0.25);
}

/* FLEX TOP */
.machine-top {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

/* ICON */
.machine-img {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e293b, #334155);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* DETAILS */
.machine-details {
    flex-grow: 1;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.label {
    color: var(--text-dim);
}

.value {
    font-weight: 600;
    color: var(--accent-blue);
}

/* DIVIDER */
.divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 10px 0;
}

/* BUTTON */
.btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #38bdf8, #22c55e);
    color: #000;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.full-btn:active {
    transform: scale(0.97);
}

/* ========================= */
/* 🔥 PEMBAYARAN (DEWA UI) */
/* ========================= */

.payment-card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s;
}

.payment-card:hover {
    box-shadow: 0 8px 25px rgba(56,189,248,0.15);
}

/* HEADER SECTION */
.payment-header {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent-blue);
}

/* HIGHLIGHT */
.highlight {
    color: var(--success);
    font-weight: 700;
}

/* NOTE */
.note {
    font-size: 0.75rem;
    color: var(--danger);
    margin-top: 5px;
}

/* BANK BOX */
.bank-box {
    background: #1e293b;
    padding: 12px;
    border-radius: 10px;
    margin-top: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.bank-box:hover {
    background: #273449;
}

/* SMALL BUTTON */
.small-btn {
    margin-top: 10px;
    font-size: 0.75rem;
    padding: 8px;
}

/* FORM */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: var(--text-dim);
}

.form-control {
    width: 100%;
    padding: 12px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    color: #fff;
}

/* UPLOAD */
.upload-box {
    margin-top: 10px;
}

.upload-box input {
    margin-top: 5px;
    color: #fff;
}

.upload-box small {
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* OUTLINE BUTTON */
.btn-outline {
    display: inline-block;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
}

/* EXTRA GLOW EFFECT (OPTIONAL DEWA) */
.payment-card:hover {
    box-shadow:
        0 0 0 1px rgba(56,189,248,0.2),
        0 10px 30px rgba(56,189,248,0.2);
}


/* STATUS BOX */
.status-box {
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 15px;
}

.status-box.pending {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid #facc15;
}

.status-title {
    font-weight: 700;
    font-size: 1rem;
    color: #facc15;
}

.status-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 5px;
}


.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* WARNA */
.status-badge.pending {
    background: rgba(251,191,36,0.2);
    color: #facc15;
}

.status-badge.success {
    background: rgba(34,197,94,0.2);
    color: #22c55e;
}

.status-badge.failed {
    background: rgba(248,113,113,0.2);
    color: #f87171;
}