:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --success: #4cc9f0;
    --danger: #f72585;
    --warning: #f8961e;
    --info: #4895ef;
    --light: #f8f9fa;
    --dark: #212529;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --orange: #ff9900;
}

/* Navbar Styling */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar .container {
    padding: 0.5rem 15px;
    max-width: 1000px;
    display: flex;
    align-items: center;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand i {
    font-size: 1.8rem;
}

/* Navbar Toggler - Bootstrap Default Styling (tidak diubah) */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.nav-item {
    display: inline-block;
}

.nav-link {
    color: white !important;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem !important;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 0.8;
}

body {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fa;
    color: #333;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

h1 i {
    margin-right: 10px;
    /* color:#4361ee; */
}

h2 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.25em;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 20px;
}

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

.payment-button {
    margin-top: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
}

/* ========== BUTTON STYLING ==========
   IMPORTANT: All button styles are scoped to specific contexts to avoid conflicts.
   - navbar-toggler: EXCLUDED - uses Bootstrap default styling
   - .form-section button: Blue buttons for general forms
   - .modal-footer button: Blue buttons for modals
   - Specific button classes: .btn-filter, .btn-clear, .btn-search, .btn-reset, etc.
   - Pricing page buttons: Defined in user-prabayar-pricing.php (scoped styles)
   ===================================== */

/* Specific form button styling - untuk form umum saja */
.form-section button,
.modal-footer button {
    background-color: #4361ee;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s;
}

.form-section button:hover,
.modal-footer button:hover {
    background-color: #2641c3;
}

.token-list {
    border: 1px solid var(--gray-light);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.token-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--gray-light);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.token-item:last-child {
    border-bottom: none;
}

.token-item.selected {
    background-color: rgba(255, 153, 0, 0.1);
    border-left: 3px solid var(--orange);
}

.token-name {
    font-weight: 500;
}

.token-price {
    color: var(--primary);
    font-weight: 600;
}

.selected .token-price {
    color: var(--orange);
}

.error {
    color: #d9534f;
    background-color: #fdf7f7;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #ebccd1;
}

.error i {
    font-size: 18px;
}

.success {
    color: #3c763d;
    background-color: #dff0d8;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #d6e9c6;
}

.transaction-details {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    border-left: 4px solid #4361ee;
}

.mt-4 {
    margin-top: 15px;
}

.info-box {
    background-color: #f9f9f9;
    border-left: 4px solid #0056b3;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 5px 5px 0;
}

.info-box h3 {
    margin-top: 0;
    color: #0056b3;
}



.back-btn {
    background-color: #6c757d;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    width: 100%;
}

.back-btn:hover {
    background-color: #5a6268;
}

.refresh-btn {
    background-color: #17a2b8;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    width: 100%;
}

.refresh-btn:hover {
    background-color: #138496;
}

.print-btn {
    background-color: #28a745;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.print-btn:hover {
    background-color: #218838;
}

/* Generic button styling for unclassified buttons */
button[type="submit"]:not(.payment-button):not(.back-btn):not(.refresh-btn):not(.print-btn) {
    background-color: #4361ee;
    color: white;
    /* padding: 12px 24px; */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    width: 100%;
}

button[type="submit"]:not(.payment-button):not(.back-btn):not(.refresh-btn):not(.print-btn):hover {
    background-color: #2641c3;
}

.form-submit-btn {
    background-color: #4361ee;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    width: 100%;
}

.form-submit-btn:hover {
    background-color: #2641c3;
}

.hidden {
    display: none;
}

.loading {
    text-align: center;
    padding: 20px;
}

/**
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}
**/
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #0056b3;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.data-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.data-option {
    padding: 15px;
    border-radius: 8px;
    background-color: var(--light);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.data-option:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.data-option.selected {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--primary);
}

.data-option .info {
    flex: 1;
    text-align: left;
}

.data-option .price {
    font-weight: 600;
    margin-left: 15px;
}

.data-option h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.data-option .masa-aktif {
    font-size: 12px;
    color: inherit;
    opacity: 0.8;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

.info-divider {
    border-top: 1px dashed #ddd;
    margin: 15px 0;
}

.total-row {
    font-weight: bold;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin-top: 10px;
}

.refresh-loading {
    pointer-events: none;
}

.period-details {
    border-left: 2px solid #eee;
    padding-left: 10px;
}

/* Style untuk print A4 */
@media print {
    body * {
        visibility: hidden;
    }

    .transaction-details,
    .transaction-details * {
        visibility: visible;
    }

    .transaction-details {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        border: none;
        box-shadow: none;
        padding: 20px;
        background-color: white !important;
    }

    .print-buttons,
    .save-image-btn {
        display: none;
    }

    .receipt-container,
    .receipt-container * {
        visibility: visible;
    }

    .receipt-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        border: none;
        box-shadow: none;
        padding: 20px;
        background-color: white !important;
        display: block !important;
    }

    .no-print,
    .no-print * {
        display: none !important;
    }
}

/* Style print khusus untuk ukuran 80mm & 58mm */
@media print and (width: 80mm) {
    body {
        font-size: 12px;
    }

    .transaction-details {
        padding: 10px;
        background-color: white !important;
    }

    .receipt-container {
        width: 100%;
        padding: 10px;
        background-color: white !important;
        display: block !important;
    }

    .receipt-80mm {
        display: block !important;
    }

    .receipt-a4,
    .receipt-58mm {
        display: none !important;
    }
}

@media print and (width: 58mm) {
    body {
        font-size: 10px;
    }

    .transaction-details {
        padding: 5px;
        background-color: white !important;
    }

    .receipt-container {
        width: 100%;
        padding: 5px;
        background-color: white !important;
        display: block !important;
    }

    .receipt-58mm {
        display: block !important;
    }

    .receipt-a4,
    .receipt-80mm {
        display: none !important;
    }
}

/* Receipt Styles (baru) */
.receipt-print {
    width: 80mm;
    margin: 0 auto;
    padding: 10px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    background-color: white;
    display: none;
}

.receipt-print .header {
    text-align: center;
    margin-bottom: 10px;
}

.receipt-print .title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

.receipt-print .divider {
    border-top: 1px dashed #000;
    margin: 10px 0;
}

.receipt-print .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.receipt-print .bold {
    font-weight: bold;
}

.receipt-print .center {
    text-align: center;
}

@media print {
    body * {
        visibility: hidden;
    }

    .receipt-print,
    .receipt-print * {
        visibility: visible;
    }

    .receipt-print {
        position: absolute;
        left: 0;
        top: 0;
        width: 80mm;
        display: block !important;
        background-color: white;
        height: 100%;
    }
}


/* Receipt styles (lama) */
.receipt-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
}

.receipt-a4 {
    width: 210mm;
    min-height: 297mm;
    padding: 20mm;
}

.receipt-80mm {
    width: 80mm;
    padding: 5mm;
}

.receipt-58mm {
    width: 58mm;
    padding: 2mm;
    font-size: 12px;
}

.receipt-header {
    text-align: center;
    margin-bottom: 15px;
    border-bottom: 1px dashed #000;
    padding-bottom: 10px;
}

.receipt-title {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.receipt-address {
    font-size: 0.9em;
    margin-bottom: 5px;
}

.receipt-detail {
    margin-bottom: 15px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.receipt-bold {
    font-weight: bold;
}

.receipt-center {
    text-align: center;
}

.receipt-divider {
    border-top: 1px dashed #000;
    margin: 10px 0;
}

.receipt-template {
    display: none;
}

.receipt-footer {
    padding-top: 15px;
}

.print-options {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.print-options button {
    flex: 1;
}

/* Tab Menu */

.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 10px 20px;
    background-color: #6c757d;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
}

.tab-btn:hover {
    background-color: #444444;
}

.tab-btn.active {
    background-color: #4361ee;
    color: white;
}

.tab-content {
    display: none;
}

.category-filter {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.category-filter label {
    margin-right: 10px;
    font-weight: bold;
}

.category-filter select {
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 14px;
    width: 250px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    background-color: var(--gray-light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-card.selected {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    background-color: var(--orange);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-price {
    color: #009522;
    font-size: 18px;
    margin-bottom: 5px;
}

.product-code {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.product-desc {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px dashed #eee;
}

.price-summary {
    padding: 12px;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 13px;
}

.price-row:last-child {
    margin-bottom: 0;
}

.balance-amount {
    font-weight: bold;
    color: #ffffff;
}

.no-products {
    text-align: center;
    padding: 20px;
    color: #6c757d;
    font-style: italic;
}

.operator-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.operator-btn {
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.operator-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.operator-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--white);
}

.operator-btn.active {
    background: #ff9900 !important;
    /* Orange color for active state */
    color: black !important;
    box-shadow: 0 0 0 2px white, 0 0 0 4px #ff9900 !important;
}

.debug-info {
    margin-top: 20px;
}

/** CSS PRODUK **/

/* Tambahan untuk Token PLN */
.token-list {
    border: 1px solid var(--gray-light);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.token-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--gray-light);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.token-item:last-child {
    border-bottom: none;
}

.token-item:hover {
    background-color: var(--gray-light);
}

.token-item.selected {
    background-color: rgba(255, 153, 0, 0.1);
    border-left: 3px solid var(--orange);
}

.token-name {
    font-weight: 500;
    padding-right: 8px;
}

.token-price {
    color: var(--primary);
    font-weight: 600;
    text-align: right;
}

.selected .token-price {
    color: var(--orange);
}


/* Tambahan style untuk tampilan list kecuali Token Listrik */
.product-list {
    border: 1px solid var(--gray-light);
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    cursor: pointer;
}

.product-list th {
    background-color: #f5f5f5;
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.product-list td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.product-list tr:hover {
    background-color: #f9f9f9;
}

.product-list tr.selected {
    background-color: var(--orange);
}

.product-list .product-price {
    text-align: right;
    color: #2e7d32;
}

.product-list .product-type {
    color: #666;
    font-size: 0.9em;
}

.product-list-container {
    max-height: 400px;
    overflow-y: auto;
}

.product-item.selected {
    background-color: var(--orange);
}

/* Tambahan style untuk info produk yang dipilih */
.selected-product-info {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    display: none;
}

.selected-product-info h4 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.selected-product-details {
    display: flex;
    justify-content: space-between;
}

.selected-product-name {
    font-weight: bold;
    flex: 2;
}

.selected-product-type {
    color: #666;
    flex: 1;
}

.selected-product-price {
    font-weight: bold;
    color: #2e7d32;
    text-align: right;
    flex: 1;
}



/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.detail-label {
    font-weight: bold;
    color: #555;
    text-align: left;
}

.detail-value {
    text-align: right;
}

.detail-value.token {
    font-family: monospace;
    font-size: 18px;
    letter-spacing: 2px;
    color: #2c3e50;
    font-weight: bold;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-success {
    background-color: #d4edda;
    color: #155724;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-failed {
    background-color: #f8d7da;
    color: #721c24;
}

/* Untuk loading */
.refresh-btn .spinner {
    display: none;
    margin-left: 5px;
}

.refresh-btn.loading .spinner {
    display: inline-block;
}

/* Untuk print button */
.print-options {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.print-options button {
    flex: 1;
    min-width: 120px;
}

/* Tambahan untuk search box history */
#searchContainer {
    display: none;
    margin-top: 10px;
    margin-bottom: 15px;
}

#searchProduct {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#searchProduct:focus {
    outline: none;
    border-color: #4CAF50;
}

/* Style untuk halaman history transaksi */
.search-form {
    margin-bottom: 20px;
}

.btn-search {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

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

.btn-reset {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 0px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.btn-reset:hover {
    background-color: #5a6268;
}

.btn-copy {
    background-color: #4361ee;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: auto;
    transition: background-color 0.3s;
}

.transaction-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.transaction-table th,
.transaction-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
}

.transaction-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 500;
}

.transaction-table tr:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

.no-data {
    text-align: center;
    padding: 20px;
    color: var(--gray);
    font-style: italic;
    background-color: var(--gray-light);
    border-radius: 5px;
}

.no-data i {
    margin-right: 8px;
    color: var(--info);
}

.btn-detail {
    color: var(--primary);
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

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

/* Responsive table history */
.table-responsive {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .transaction-table {
        display: block;
        width: 100%;
    }

    .transaction-table thead {
        display: none;
    }

    .transaction-table tbody,
    .transaction-table tr,
    .transaction-table td {
        display: block;
        width: 100%;
    }

    .transaction-table tr {
        margin-bottom: 15px;
        border: 1px solid var(--gray-light);
        border-radius: 5px;
    }

    .transaction-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .transaction-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        padding-right: 10px;
        font-weight: bold;
        text-align: left;
    }
}

.btn-refresh {
    background: none;
    border: none;
    color: #ffc107;
    cursor: pointer;
    padding: 0 5px;
    font-size: 0.8em;
}

.btn-refresh:hover {
    color: #e0a800;
}

.btn-detail.disabled {
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}


/* CSS untuk Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 5px;
}

.page-link {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 3px;
    background-color: #f8f9fa;
    color: #007bff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.page-link:hover {
    background-color: #e9ecef;
    color: #0056b3;
    border-color: #dee2e6;
}

.page-link.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.page-link.disabled {
    color: #6c757d;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.page-link i {
    margin: 0 3px;
}

@media (max-width: 576px) {
    .page-link {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Filter Tanggal Responsive */
.filter-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-group {
    width: 100%;
}

.date-filter-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

.date-group {
    width: 100%;
}

.button-group {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.button-group button {
    width: 100%;
}

/* Mobile responsive untuk filter tanggal */
@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        gap: 12px;
    }

    .date-filter-group {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .date-group {
        width: 100%;
    }

    .search-group {
        width: 100%;
    }

    .button-group {
        width: 100%;
    }

    .button-group button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .filter-container {
        flex-direction: column;
        gap: 10px;
    }

    .date-filter-group {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .search-group {
        width: 100%;
    }

    .date-group {
        width: 100%;
    }

    .button-group {
        width: 100%;
    }

    .button-group button {
        width: 100%;
    }

    input[type="text"],
    input[type="date"] {
        font-size: 16px;
    }
}

/* ===== PRABAYAR PRICING PAGE STYLES ===== */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.page-header h1 {
    color: #333;
    font-size: 28px;
    font-weight: 700;
    flex: 1;
}

.btn-back {
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
    white-space: nowrap;
}

.btn-back:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

.header-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
}

.alert-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #dc3545;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-section {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    align-items: flex-end;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-group {
    flex: 1;
    min-width: 150px;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 13px;
}

.filter-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 13px;
    background: white;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.filter-actions {
    display: flex;
    gap: 8px;
}

.btn-filter {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s;
    white-space: nowrap;
    font-weight: 500;
}

.btn-filter:hover {
    background: #0056b3;
}

.btn-reset {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s;
    white-space: nowrap;
    font-weight: 500;
}

.btn-reset:hover {
    background: #5a6268;
}

.btn-clear {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.3s;
    white-space: nowrap;
    font-weight: 500;
}

.btn-clear:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

.result-count {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    background: white;
    padding: 10px 15px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-update-all {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 200;
    transition: background 0.3s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-update-all:hover {
    background: #138496;
    color: white;
    text-decoration: none;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 90%;
    padding: 25px;
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.modal-body {
    margin-bottom: 20px;
}

.modal-body label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 13px;
}

.modal-body input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-modal-cancel {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-modal-cancel:hover {
    background: #5a6268;
}

.btn-modal-submit {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-modal-submit:hover {
    background: #138496;
}

.table-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-name {
    font-weight: 600;
    color: #333;
    font-size: 13px;
    white-space: normal;
}

.product-brand {
    color: #666;
    font-size: 12px;
}

.price-cell {
    text-align: right;
    font-weight: 600;
    color: #333;
    font-size: 13px;
}

.price-input {
    width: 100px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    text-align: right;
    font-family: 'Poppins', sans-serif;
}

.margin-cell {
    text-align: right;
    font-weight: 600;
    font-size: 13px;
}

.margin-display {
    color: #666;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    background: white;
    border-radius: 8px;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.empty-state p {
    font-size: 16px;
}

.footer {
    text-align: center;
    margin-top: 40px;
    opacity: 0.8;
    color: #666;
    font-size: 13px;
}

/* Mobile Responsive for Prabayar Pricing */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-header h1 {
        font-size: 22px;
    }

    .filter-section {
        flex-direction: column;
        padding: 15px;
    }

    .filter-group {
        width: 100%;
    }

    .filter-actions {
        width: 100%;
    }

    .btn-filter,
    .btn-clear {
        flex: 1;
    }

    .table {
        font-size: 12px;
    }

    .table thead th,
    .table tbody td {
        padding: 10px 8px;
    }

    .price-input {
        width: 80px;
    }
}

@media (max-width: 480px) {
    /** .container {
        padding: 15px;
    } **/

    .filter-section {
        padding: 12px;
    }

    .table {
        font-size: 11px;
    }

    .table thead th,
    .table tbody td {
        padding: 8px 6px;
    }

    .price-input {
        width: 70px;
        font-size: 11px;
    }
}

.page-container h1 {
    color: #333;
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 30px;
    text-align: center;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.bank-transfer-info {
    background: #f0f7ff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #2196F3;
}

.bank-transfer-info h4 {
    color: #0c5394;
    margin-bottom: 15px;
    margin-top: 0;
}

.bank-transfer-grid {
    display: grid;
    gap: 12px;
}

.bank-transfer-grid .transfer-item {
    margin-bottom: 0;
}

.bank-transfer-grid small {
    color: #666;
    font-weight: 500;
}

.bank-transfer-grid .transfer-value {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 5px;
}

.transfer-account-number {
    font-family: 'Courier New', monospace;

}

.transaction-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #666;
    font-weight: 500;
}

.info-detail {
    color: #333;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

.bank-info {
    background: #e7f3ff;
    border-left: 4px solid #2196F3;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #0c5394;
}

.copy-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    margin: 5px 5px 5px 0;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.copy-buttons-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn-deposit-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-deposit-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.deposit-again-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.deposit-again-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

.info-section {
    background: #fff3cd;
    border-left: 4px solid #ff9800;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #7d6608;
    line-height: 1.6;
}

.info-section ol {
    margin-top: 10px;
    padding-left: 20px;
}

.current-saldo {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 20px;
}

.current-saldo .label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.current-saldo .amount {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 5px;
}

/* Form Helper Text */
.form-helper-text {
    color: #666;
    margin-top: 5px;
    display: block;
}

/* Deposit Instructions */
.deposit-instructions {
    margin-top: 10px;
    padding-left: 20px;
}

/* Page Container - Global untuk Deposit & Profile */
.page-container {
    max-width: 1000px;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
    background-color: white;
    box-sizing: border-box;
}

/* Page Container - Khusus untuk Prabayar & Pascabayar */
.pascabayar-container,
.prabayar-container {
    max-width: 1000px;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
    background-color: white;
    box-sizing: border-box;
}

/* Subtitle */
.subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 30px;
    text-align: center;
}

/* Responsive Navbar */
@media (max-width: 991px) {
    .navbar-collapse {
        padding-top: 10px;
    }

    .navbar-collapse.show .navbar-nav {
        flex-direction: column;
        gap: 0 !important;
        align-items: stretch !important;
    }

    .navbar-collapse.show .nav-item {
        width: 100%;
    }

    .navbar-collapse.show .nav-link {
        padding: 8px 15px !important;
        display: flex !important;
        align-items: center !important;
    }
}

/* Profile Page Styles */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.card-title {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.card-value {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    margin: 5px 0 0 0;
}

.card-subtitle {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.user-info {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.user-info h2 {
    margin-bottom: 15px;
    color: #333;
}



.transactions-section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.transactions-section h2 {
    margin-bottom: 20px;
    color: #333;
}

.transaction-table {
    width: 100%;
    border-collapse: collapse;
}

.transaction-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border: none;
}

.transaction-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.transaction-table tr:hover {
    background-color: #f9f9f9;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-pending {
    background-color: #fff3cd;
    color: #856404;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.no-data {
    text-align: center;
    padding: 30px;
    color: #666;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background-color: #e9ecef;
    color: #333;
}

.btn-secondary:hover {
    background-color: #dee2e6;
    text-decoration: none;
}

/* Table Styling */
.table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.table thead th {
    color: white;
    font-weight: 600;
    padding: 15px 12px;
    text-align: left;
    border: none;
    font-size: 14px;
}

.table tbody td {
    padding: 14px 12px;
    border-color: #e9ecef;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

/* Deposit History Section */
.deposit-history-section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.deposit-history-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.deposit-history-table {
    overflow-x: auto;
}

.deposit-history-table table {
    width: 100%;
    border-collapse: collapse;
}

.deposit-history-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.deposit-history-table thead th {
    color: white;
    font-weight: 600;
    padding: 15px 12px;
    text-align: left;
    border: none;
    font-size: 14px;
}

.deposit-history-table tbody td {
    padding: 14px 12px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.deposit-history-table tbody tr:hover {
    background-color: #f9f9f9;
}

.deposit-history-table code {
    background-color: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

/* ===== REGISTER PAGE STYLING ===== */
.register-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 40px;
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.register-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 5px;
}

.register-header p {
    color: #666;
    font-size: 14px;
}

.btn-register {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    margin-top: 10px;
}

.btn-register:hover {
    transform: translateY(-2px);
}

.alert {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.register-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.register-footer p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.register-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.register-footer a:hover {
    color: #764ba2;
}

.back-home {
    text-align: center;
    margin-top: 15px;
}

.back-home a {
    color: #667eea;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.back-home a:hover {
    color: #764ba2;
}

.required-mark {
    color: red;
}

.alert-success a {
    color: #155724;
    font-weight: bold;
}

.alert-success div {
    margin-top: 10px;
}

/* Register page form styling */
.register-box .form-group {
    margin-bottom: 15px;
}

.register-box .form-group label {
    display: block;
    margin-bottom: 6px;
    color: #333;
    font-weight: 500;
    font-size: 13px;
}

.register-box .form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 13px;
    transition: border-color 0.3s;
}

.register-box .form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ===== LOGIN PAGE STYLING ===== */
.login-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 5px;
}

.login-header p {
    color: #666;
    font-size: 14px;
}

.login-box .form-group {
    margin-bottom: 20px;
}

.login-box .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.login-box .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.login-box .form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    margin-top: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.login-footer p {
    color: #666;
    font-size: 14px;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.login-footer a:hover {
    color: #764ba2;
}

/* Mobile responsive untuk page-container */
@media (max-width: 768px) {

    .page-container,
    .pascabayar-container,
    .prabayar-container {
        margin: 30px 10px;
    }

    h1 {
        font-size: 20px;
    }
}