body {
    background-color: #eef1f0;
}

.navbar-top {
    background-color: #0c0c0c;
    padding-top: .9rem;
    padding-bottom: .9rem;
}

.page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

/* ---------- Unit cards (home) ---------- */
.unit-card {
    background: #fff;
    border-radius: .5rem;
    padding: 2rem 1.25rem;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease;
    border: 1px solid #e3e6e5;
}

.unit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,.1);
    color: inherit;
}

.unit-card .unit-icon {
    font-size: 2.25rem;
    color: #0c0c0c;
    margin-bottom: .75rem;
}

.unit-card h5 {
    font-weight: 700;
    margin-bottom: .25rem;
}

.unit-card .unit-cat {
    color: #6c757d;
    font-size: .875rem;
}

.unit-card.disabled {
    opacity: .5;
    pointer-events: none;
    cursor: not-allowed;
}

.unit-card.disabled .unit-icon {
    color: #adb5bd;
}

/* ---------- Tipe voucher cards (modal redeem) ---------- */
.tipe-card {
    background: #fff;
    border: 1px solid #e3e6e5;
    border-radius: .5rem;
    padding: 1rem .75rem;
    text-align: center;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.tipe-card:hover {
    border-color: #0c0c0c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.tipe-card .tipe-icon {
    font-size: 1.5rem;
    color: #0c0c0c;
    margin-bottom: .4rem;
}

.tipe-card .tipe-nama {
    font-weight: 700;
    font-size: .95rem;
}

.tipe-card .tipe-ket {
    color: #6c757d;
    font-size: .78rem;
    margin-top: .15rem;
}

/* ---------- Mitra cards (lounge) ---------- */
.mitra-card {
    background: #fff;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    border: 1px solid #e3e6e5;
    height: 100%;
}

.mitra-card-clickable {
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.mitra-card-clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

.mitra-card .mitra-header {
    padding: 1rem 1.25rem 0.5rem;
}

.mitra-card .mitra-header h5 {
    font-weight: 700;
    margin-bottom: 0;
}

.mitra-card .mitra-header small {
    color: #6c757d;
}

.mitra-card .mitra-image {
    background: #000;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mitra-card .mitra-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.mitra-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: .35rem .75rem;
    border-radius: .3rem;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mitra-badge.redeem {
    background: #ffc107;
    color: #212529;
}

.mitra-badge.expired {
    background: #dc3545;
    color: #fff;
}

/* ---------- Redeem page ---------- */
.redeem-panel {
    background: #e9ebe9;
    border-radius: .5rem;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.redeem-panel .form-control,
.redeem-panel .form-select {
    background: #fff;
    border: 1px solid #dcdfde;
}

.btn-redeem {
    background: #6b7a4f;
    border-color: #6b7a4f;
    color: #fff;
    font-weight: 600;
    padding: .5rem 1.75rem;
}

.btn-redeem:hover {
    background: #5c6a43;
    border-color: #5c6a43;
    color: #fff;
}

/* ---------- Readonly / disabled input styling (biar keliatan beda dari input biasa) ---------- */
.form-control[readonly],
.form-control:disabled,
.form-select:disabled {
    background-color: #d7d7d7;
    color: #373a3d;
    border-style: dashed;
    cursor: not-allowed;
    opacity: 1;
}
