/* ==========================================
   NUSANTARA GAME — Custom Theme
   ========================================== */

:root {
    --ng-primary:     #7c3aed;
    --ng-primary-dark:#5b21b6;
    --ng-accent:      #f59e0b;
    --ng-dark:        #0f0f1a;
    --ng-dark2:       #1a1a2e;
    --ng-card-bg:     #16213e;
    --ng-text-light:  #e2e8f0;
    --ng-border:      rgba(124, 58, 237, 0.3);
}

body {
    background-color: #f8f7ff;
    font-family: 'Segoe UI', sans-serif;
}

/* NAVBAR */
.ng-navbar {
    background: linear-gradient(135deg, var(--ng-dark2), var(--ng-dark));
    border-bottom: 2px solid var(--ng-primary);
    box-shadow: 0 2px 20px rgba(124, 58, 237, 0.3);
}

.ng-navbar .navbar-brand {
    font-size: 1.3rem;
    color: var(--ng-accent) !important;
    letter-spacing: 1px;
}

/* BUTTONS */
.btn-ng-primary {
    background: linear-gradient(135deg, var(--ng-primary), var(--ng-primary-dark));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-ng-primary:hover {
    background: linear-gradient(135deg, var(--ng-primary-dark), #4c1d95);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

/* AUTH PAGES */
.ng-auth-wrap {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f7ff 0%, #ede9fe 100%);
}

.ng-auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.ng-auth-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ng-primary), var(--ng-primary-dark));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.ng-link {
    color: var(--ng-primary);
    text-decoration: none;
    font-weight: 600;
}

.ng-link:hover { color: var(--ng-primary-dark); text-decoration: underline; }

/* FORM INPUTS */
.form-control:focus, .input-group-text {
    border-color: var(--ng-primary);
    box-shadow: none;
}

.input-group-text {
    background: #f3f0ff;
    border-color: #d8d0f7;
    color: var(--ng-primary);
}

/* ==========================================
   FOOTER
   ========================================== */
.ng-footer {
    background: var(--ng-dark2);
    border-top: 2px solid var(--ng-primary);
}

.ng-footer-main {
    background: var(--ng-dark2);
}

.ng-footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ng-footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.ng-footer-links a:hover {
    color: var(--ng-accent);
}

.ng-footer-links a i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.ng-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ng-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

.ng-footer-contact li i {
    color: var(--ng-accent);
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.ng-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
}

.ng-social-btn:hover {
    background: var(--ng-primary);
    border-color: var(--ng-primary);
    color: #fff;
    transform: translateY(-2px);
}

.ng-footer-bottom {
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 14px 0;
    color: rgba(255,255,255,0.4);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.ng-hero {
    position: relative;
    background: linear-gradient(135deg, var(--ng-dark) 0%, var(--ng-dark2) 60%, #2d1b69 100%);
    padding: 80px 0 60px;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.ng-hero-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(124,58,237,0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(245,158,11,0.08) 0%, transparent 40%);
}

.min-vh-hero { min-height: 420px; }

.ng-badge-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(124,58,237,0.2);
    border: 1px solid rgba(124,58,237,0.4);
    color: #c4b5fd;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.ng-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.ng-text-accent { color: var(--ng-accent); }

.ng-hero-sub {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 480px;
}

.btn-ng-outline {
    background: transparent;
    border: 2px solid var(--ng-primary);
    color: #c4b5fd;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-ng-outline:hover {
    background: var(--ng-primary);
    color: #fff;
}

.btn-ng-accent {
    background: var(--ng-accent);
    color: var(--ng-dark);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.2s;
}

.btn-ng-accent:hover {
    background: #d97706;
    color: #fff;
    transform: translateY(-1px);
}

/* HERO VISUAL CARDS */
.ng-hero-visual {
    position: relative;
    width: 380px;
    height: 320px;
}

.ng-ps-card {
    position: absolute;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #fff;
    transition: transform 0.3s;
}

.ng-ps-card i { font-size: 2rem; }
.ng-ps-card span { font-weight: 700; font-size: 0.95rem; }
.ng-ps-card small { color: var(--ng-accent); font-size: 0.8rem; }

.ng-ps-card--ps5 { top: 0; left: 80px; border-color: rgba(124,58,237,0.4); }
.ng-ps-card--ps4 { top: 100px; left: 180px; border-color: rgba(59,130,246,0.4); }
.ng-ps-card--ps3 { top: 180px; left: 20px; border-color: rgba(245,158,11,0.3); }

.ng-ps-card:hover { transform: translateY(-4px); }

/* ==========================================
   STATS SECTION
   ========================================== */
.ng-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(124,58,237,0.08);
    transition: transform 0.2s;
}

.ng-stat-card:hover { transform: translateY(-3px); }

.ng-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ng-primary), var(--ng-primary-dark));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 12px;
}

.ng-icon-ps3 { background: linear-gradient(135deg, #f59e0b, #d97706) !important; }
.ng-icon-ps4 { background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important; }
.ng-icon-ps5 { background: linear-gradient(135deg, #10b981, #047857) !important; }

.ng-stat-num { font-size: 2rem; font-weight: 800; color: var(--ng-dark2); }
.ng-stat-label { font-size: 0.85rem; color: #64748b; font-weight: 500; }

/* ==========================================
   HOW TO SECTION
   ========================================== */
.ng-step-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #f1f0ff;
    position: relative;
    transition: all 0.2s;
}

.ng-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(124,58,237,0.12);
}

.ng-step-num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ng-primary);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.ng-step-icon {
    font-size: 2rem;
    color: var(--ng-primary);
}

/* ==========================================
   UNIT CARDS
   ========================================== */
.ng-unit-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(124,58,237,0.08);
    transition: all 0.25s;
    position: relative;
}

.ng-unit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(124,58,237,0.15);
}

.ng-unit-card--disabled {
    opacity: 0.75;
}

.ng-unit-card--disabled:hover {
    transform: none;
}

.ng-unit-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.ng-badge-ps3 { background: #fef3c7; color: #92400e; }
.ng-badge-ps4 { background: #dbeafe; color: #1e40af; }
.ng-badge-ps5 { background: #d1fae5; color: #065f46; }

.ng-unit-img {
    height: 160px;
    background: linear-gradient(135deg, var(--ng-dark2), var(--ng-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.2);
    overflow: hidden;
}

.ng-unit-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ng-unit-body { padding: 1.2rem; }

.ng-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--ng-primary);
}

.ng-price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
}

/* STATUS DOTS & PILLS */
.ng-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ng-dot.available    { background: #10b981; box-shadow: 0 0 6px rgba(16,185,129,0.5); }
.ng-dot.busy         { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.5); }
.ng-dot.maintenance  { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.5); }

.ng-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.ng-status-pill.available    { background: #d1fae5; color: #065f46; }
.ng-status-pill.busy         { background: #fee2e2; color: #991b1b; }
.ng-status-pill.maintenance  { background: #fef3c7; color: #92400e; }

/* ==========================================
   PAGE HEADER, FILTER, CTA
   ========================================== */
.ng-page-header {
    background: linear-gradient(135deg, var(--ng-dark2), var(--ng-dark));
    padding: 2.5rem 0;
    border-bottom: 2px solid var(--ng-primary);
}

.ng-filter-bar {
    background: #fff;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f1f0ff;
}

.ng-select:focus {
    border-color: var(--ng-primary);
    box-shadow: none;
}

.ng-legend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.ng-cta {
    background: linear-gradient(135deg, var(--ng-primary), var(--ng-primary-dark));
    border-radius: 0;
}

/* ==========================================
   BOOKING FORM
   ========================================== */
.ng-booking-unit-info {
    background: #fff;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    border: 1px solid rgba(124,58,237,0.12);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.ng-unit-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ng-dark2), var(--ng-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.badge-tipe {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

.ng-form-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(124,58,237,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.ng-form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ng-dark2);
    border-bottom: 1px solid #f1f0ff;
    padding-bottom: 12px;
    margin-bottom: 4px;
}

.ng-section-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ng-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ng-jaminan-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #1e40af;
}

/* Upload Area */
.ng-upload-area {
    border: 2px dashed #d8d0f7;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #faf8ff;
}

.ng-upload-area:hover {
    border-color: var(--ng-primary);
    background: #f3f0ff;
}

.ng-preview-img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    object-fit: contain;
}

/* Summary Card */
.ng-summary-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(124,58,237,0.12);
    box-shadow: 0 4px 20px rgba(124,58,237,0.08);
}

.ng-summary-header {
    background: linear-gradient(135deg, var(--ng-primary), var(--ng-primary-dark));
    color: #fff;
    padding: 1rem 1.2rem;
    font-weight: 700;
}

.ng-summary-body { padding: 1.2rem; }

.ng-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #f8f7ff;
}

.ng-summary-row span:first-child { color: #64748b; }

.ng-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--ng-primary);
}

.ng-summary-note {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    color: #166534;
}

/* ==========================================
   BOOKING CONFIRM
   ========================================== */
.ng-confirm-banner {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ng-confirm-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
}

.ng-detail-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(124,58,237,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.ng-detail-header {
    background: linear-gradient(135deg, var(--ng-dark2), var(--ng-dark));
    color: #fff;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.ng-kode-badge {
    background: rgba(124,58,237,0.3);
    border: 1px solid rgba(124,58,237,0.5);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-family: monospace;
    letter-spacing: 1px;
}

.ng-detail-body { padding: 1.2rem 1.5rem; }

.ng-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f8f7ff;
    font-size: 0.9rem;
}

.ng-detail-row .label { color: #64748b; }
.ng-detail-row .value { font-weight: 500; }

.ng-total-row { padding-top: 12px !important; }
.ng-total-price { font-size: 1.2rem; font-weight: 800; color: var(--ng-primary); }

/* Steps */
.ng-next-steps {
    background: #fff;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    border: 1px solid #f1f0ff;
}

.ng-step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed #f1f0ff;
}

.ng-step-item:last-child { border-bottom: none; }

.ng-step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ng-step-dot.done   { background: #10b981; color: #fff; }
.ng-step-dot.active { background: var(--ng-primary); color: #fff; }

/* ==========================================
   PAYMENT & HISTORY
   ========================================== */
.ng-pay-booking-info {
    background: #fff;
    border-radius: 12px;
    padding: 1.3rem 1.5rem;
    border: 1px solid rgba(124,58,237,0.1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.ng-pay-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ng-pay-info-item .label { font-size: 0.75rem; color: #94a3b8; }
.ng-pay-info-item .value { font-size: 0.9rem; font-weight: 600; }

.ng-pay-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--ng-primary), var(--ng-primary-dark));
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.ng-pay-total .amount { font-size: 1.2rem; font-weight: 800; }

/* Metode Pembayaran Cards */
.ng-metode-card {
    display: block;
    cursor: pointer;
}

.ng-metode-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 16px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    background: #fff;
}

.ng-metode-inner i { font-size: 1.6rem; color: #94a3b8; }
.ng-metode-inner span { font-size: 0.85rem; }
.ng-metode-inner small { font-size: 0.75rem; color: #94a3b8; }

.ng-metode-card.selected .ng-metode-inner {
    border-color: var(--ng-primary);
    background: #f3f0ff;
}

.ng-metode-card.selected .ng-metode-inner i { color: var(--ng-primary); }

.ng-metode-card:hover .ng-metode-inner {
    border-color: var(--ng-primary);
    background: #faf8ff;
}

/* History Cards */
.ng-history-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(124,58,237,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.ng-history-card:hover {
    box-shadow: 0 6px 24px rgba(124,58,237,0.12);
}

.ng-history-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #faf8ff;
    border-bottom: 1px solid #f1f0ff;
    font-size: 0.9rem;
}

.ng-history-body { padding: 16px 20px; }

/* Pay CTA Card */
.ng-pay-cta-card {
    background: #faf8ff;
    border: 2px dashed rgba(124,58,237,0.3);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
}

/* ==========================================
   TIPE SEWA CARDS
   ========================================== */
.ng-tipe-sewa-card {
    display: block;
    cursor: pointer;
    height: 100%;
}

.ng-tipe-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    transition: all 0.2s;
}

.ng-tipe-sewa-card.selected .ng-tipe-inner,
.ng-tipe-sewa-card:has(input:checked) .ng-tipe-inner {
    border-color: var(--ng-primary);
    background: #f3f0ff;
}

.ng-tipe-sewa-card:hover .ng-tipe-inner {
    border-color: var(--ng-primary);
}

.ng-tipe-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.ng-tipe-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ng-primary);
}

.ng-tipe-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 0 16px 12px;
}

.ng-tipe-check {
    color: #e2e8f0;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.ng-tipe-sewa-card.selected .ng-tipe-check,
.ng-tipe-sewa-card:has(input:checked) .ng-tipe-check {
    color: var(--ng-primary);
}

/* Rental info box */
.ng-rental-info {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #92400e;
    line-height: 1.6;
}

/* Tanggal kembali info */
.ng-tanggal-kembali {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.88rem;
    color: #166534;
}

/* ==========================================
   TIPE SEWA — PERBAIKAN BORDER & STATE
   ========================================== */

/* Reset card default */
.ng-tipe-sewa-card .ng-tipe-inner {
    border: 2px solid var(--color-border, #e2e8f0);
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

/* Hover state */
.ng-tipe-sewa-card:hover .ng-tipe-inner {
    border-color: #a78bfa;
    background: #faf8ff;
}

/* SELECTED — Sewa di Tempat (ungu) */
.ng-tipe-sewa-card.ng-tipe-selected .ng-tipe-inner {
    border-color: var(--ng-primary) !important;
    background: #f3f0ff !important;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

/* SELECTED — override warna untuk bawa pulang (amber) */
#cardBawaPulang.ng-tipe-selected .ng-tipe-inner {
    border-color: #d97706 !important;
    background: #fffbeb !important;
    box-shadow: 0 0 0 3px rgba(217,119,6,0.15);
}

/* Check icon state */
.ng-tipe-check { color: #d1d5db; font-size: 1.25rem; transition: color 0.2s; }
.ng-tipe-selected .ng-tipe-check { color: var(--ng-primary); }
#cardBawaPulang.ng-tipe-selected .ng-tipe-check { color: #d97706; }

/* Badges tipe */
.ng-optional-badge {
    display: inline-block;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 50px;
    padding: 1px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    vertical-align: middle;
}

.ng-required-badge {
    display: inline-block;
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
    border-radius: 50px;
    padding: 1px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    vertical-align: middle;
}

/* Jaminan warning box (untuk bawa pulang) */
.ng-jaminan-warning {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #9f1239;
    line-height: 1.6;
}

/* Border section jaminan saat required */
.ng-jaminan-required {
    border: 1.5px solid #fda4af !important;
    border-radius: 12px;
}

/* ==========================================
   TUNAI INFO BOX
   ========================================== */
.ng-tunai-info {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 12px;
    padding: 1.2rem;
    margin-top: 12px;
}

.ng-tunai-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #dcfce7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #16a34a;
    flex-shrink: 0;
}

.ng-tunai-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #bbf7d0;
}

.ng-tunai-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #166534;
}

.ng-tunai-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ==========================================
   QRIS DISPLAY
   ========================================== */
.ng-qris-display { }

.ng-qris-box {
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid #bfdbfe;
}

.ng-qris-header {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 0.9rem;
}

.ng-qris-body {
    background: #fff;
    padding: 1.5rem;
}

.ng-qris-img-wrap {
    display: flex;
    justify-content: center;
}

.ng-qris-img {
    max-width: 260px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 8px;
    background: #fff;
}

.ng-qris-nominal {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 12px;
}

.ng-qris-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1d4ed8;
    letter-spacing: -0.5px;
}

.ng-qris-note {
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.82rem;
    color: #92400e;
}

/* Metode card update */
.ng-metode-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ng-metode-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.ng-metode-check {
    color: #d1d5db;
    font-size: 1.2rem;
    transition: color 0.2s;
    margin: 0 auto;
}

.ng-tipe-selected .ng-metode-check { color: var(--ng-primary); }
.ng-tipe-selected .ng-metode-inner {
    border-color: var(--ng-primary) !important;
    background: #f3f0ff !important;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}