/* Dashboard Layout */
.main-container {
    display: flex;
    min-height: 100vh;
    padding-top: 82px;
    position: relative;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 80px;
    min-height: calc(100vh - 82px);
    position: relative;
    z-index: 1;
    padding-top: 10px;
    padding-bottom: 0;
}

.main-content::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../img/backgrounds/48.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.main-content::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Dashboard Hero */
.dashboard-hero {
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.breadcrumb {
    justify-content: center;
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 16px;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.8);
}

/* Dashboard Content */
.dashboard-content {
    position: relative;
    z-index: 1;
    padding-bottom: 40px;
}

.content-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Left Column */
.left-column {
    flex: 0 0 350px;
    margin-left: 40px;
}

.user-profile-card {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.user-profile-card:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.16) 0%,
        rgba(255, 255, 255, 0.1) 100%
    );
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.profile-picture {
    margin-bottom: 20px;
}

.profile-picture img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.2);
}

.profile-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4a90e2, #74b9ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin: 0 auto;
    border: 6px solid rgba(255, 255, 255, 0.2);
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.profile-username {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.profile-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.profile-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.profile-details-header span:first-child {
    font-weight: 600;
    color: var(--white);
}

.membership-plan-label.disabled {
    cursor: not-allowed !important;
    opacity: 0.6;
    transform: none !important;
}

.membership-plan-label.disabled:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.02) 100%
    ) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    transform: none !important;
    box-shadow: none !important;
}

.membership-plan-item.current-active .current-plan-badge {
    background: linear-gradient(45deg, #6c757d, #adb5bd);
    color: white;
}

.badge-membership {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.profile-details {
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.detail-item span:first-child {
    color: rgba(255, 255, 255, 0.7);
}

.detail-item span:last-child {
    color: var(--white);
    font-weight: 500;
}

/* Right Column */
.right-column {
    flex: 1;
    margin-right: 40px;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

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

.right-card {
    animation: fadeInUp 0.3s ease;
}

.right-card.active {
    display: block;
}

.balance-card {
    background: linear-gradient(120deg, #11998e 0%, #38ef7d 100%);
    border-radius: 15px;
    padding: 30px;
    color: white;
    height: 100%;
}

.balance-card h5 {
    margin-bottom: 15px;
    opacity: 0.9;
}

.balance-card h3 {
    font-size: 32px;
    font-weight: 700;
}

.balance-card small {
    opacity: 0.8;
}

.total-transaction-card {
    background: linear-gradient(120deg, #003fff 0%, #4a90e2 100%);
    border-radius: 15px;
    padding: 30px;
    color: white;
    height: 100%;
}

.total-transaction-card h5 {
    margin-bottom: 15px;
    opacity: 0.9;
}

.total-transaction-card h3 {
    font-size: 32px;
    font-weight: 700;
}

.total-transaction-card small {
    opacity: 0.8;
}

.content-card {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(5px);
}

/* Payment Success Specific Styles */
.payment-success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
    animation: bounceIn 1s ease-in-out;
}

.payment-pending-icon {
    font-size: 4rem;
    color: #ffc107;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.payment-expired-icon {
    font-size: 4rem;
    color: #9ca3af;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.payment-success-header {
    text-align: center;
    margin-bottom: 2rem;
    color: #28a745;
}

.payment-pending-header {
    text-align: center;
    margin-bottom: 2rem;
    color: #ffc107;
}

.payment-expired-header {
    text-align: center;
    margin-bottom: 2rem;
    color: #9ca3af;
}

.badge-expired {
    background: linear-gradient(135deg, #e5e7eb 0%, #9ca3af 100%);
    color: white;
}

.transaction-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.detail-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.detail-value {
    font-weight: 700;
    color: var(--white);
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.badge-pending {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
}

@media (max-width: 768px) {
    .transaction-detail-row {
        flex-direction: column;
        text-align: left;
        gap: 0.5rem;
    }
}

/* Transaction Info Box */
.transaction-info-box {
    margin-top: 20px;
    padding: 15px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.transaction-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.transaction-info-icon {
    color: #4a90e2;
    margin-right: 10px;
    font-size: 18px;
}

.transaction-info-title {
    color: #4a90e2;
}

.transaction-info-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.transaction-info-content .order-summary-table {
    margin-bottom: 0;
}

.transaction-info-content .order-summary-table td {
    padding: 8px 0;
}

.transaction-info-content .order-summary-table tbody tr {
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
}

.transaction-info-content .order-summary-table tbody tr:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

/* Forms */
.form-label {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    padding: 12px 16px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    color: var(--white);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* File Input Styling */
.form-control[type="file"]::-webkit-file-upload-button {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    margin-right: 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-control[type="file"]::-webkit-file-upload-button:hover {
    background: linear-gradient(135deg, #4a90e2 0%, #74b9ff 100%);
    border-color: #4a90e2;
    color: white;
}

.form-control[type="file"]::file-selector-button {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    margin-right: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-control[type="file"]::file-selector-button:hover {
    background: linear-gradient(135deg, #4a90e2 0%, #74b9ff 100%);
    border-color: #4a90e2;
    color: white;
}

/* Table */
.history-table {
    color: var(--white);
}

.history-table th {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: var(--white);
    padding: 15px 10px;
}

.history-table td {
    border: none;
    padding: 15px 10px;
}

.badge-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-status.complete {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.badge-status.pending {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.badge-status.processing {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

/* Main wrapper styling */
#transactionTable_wrapper.dataTables_wrapper {
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: "Inter", sans-serif !important;
    margin-top: 1rem;
}

/* Length dropdown styling */
#transactionTable_wrapper .dataTables_length {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 1rem;
}

#transactionTable_wrapper .dataTables_length label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#transactionTable_wrapper .dataTables_length select {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 100%
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    font-size: 14px;
    min-width: 80px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

#transactionTable_wrapper .dataTables_length select:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.16) 0%,
        rgba(255, 255, 255, 0.1) 100%
    ) !important;
    border-color: rgba(74, 144, 226, 0.4) !important;
}

#transactionTable_wrapper .dataTables_length select:focus {
    outline: none !important;
    border-color: #4a90e2 !important;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.25) !important;
}

#transactionTable_wrapper .dataTables_length select option {
    background: #1a1a2e !important;
    color: white !important;
    padding: 4px 8px;
}

/* Search filter styling */
#transactionTable_wrapper .dataTables_filter {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 1rem;
    text-align: right;
}

#transactionTable_wrapper .dataTables_filter label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 14px;
    margin: 0;
}

#transactionTable_wrapper .dataTables_filter input[type="search"] {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 100%
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    margin-left: 8px !important;
    font-size: 14px;
    width: 220px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

#transactionTable_wrapper
    .dataTables_filter
    input[type="search"]::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    font-style: italic;
}

#transactionTable_wrapper
    .dataTables_filter
    input[type="search"]::-moz-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    font-style: italic;
}

#transactionTable_wrapper .dataTables_filter input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    font-style: italic;
}

#transactionTable_wrapper .dataTables_filter input[type="search"]:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.16) 0%,
        rgba(255, 255, 255, 0.1) 100%
    ) !important;
    border-color: rgba(74, 144, 226, 0.3) !important;
}

#transactionTable_wrapper .dataTables_filter input[type="search"]:focus {
    outline: none !important;
    border-color: #4a90e2 !important;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.25) !important;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.12) 100%
    ) !important;
}

/* Table styling */
#transactionTable.dataTable {
    color: white !important;
    border-collapse: collapse;
    width: 100% !important;
}

#transactionTable.dataTable thead th {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.1) 100%
    ) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 15px 12px !important;
    text-align: left;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

#transactionTable.dataTable tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 15px 12px !important;
    vertical-align: middle;
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

#transactionTable.dataTable tbody tr {
    background: transparent !important;
}

#transactionTable.dataTable tbody tr:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

#transactionTable.dataTable tbody tr:hover td {
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Pagination styling */
#transactionTable_wrapper .dataTables_paginate {
    text-align: right;
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
}

#transactionTable_wrapper .dataTables_paginate .paginate_button {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 100%
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 8px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    transition: all 0.3s ease !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    backdrop-filter: blur(5px);
    position: relative;
}

#transactionTable_wrapper .dataTables_paginate .paginate_button:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.15) 100%
    ) !important;
    border-color: rgba(74, 144, 226, 0.4) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#transactionTable_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #4a90e2 0%, #74b9ff 100%) !important;
    border-color: #4a90e2 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
    transform: translateY(-1px);
}

#transactionTable_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: linear-gradient(135deg, #3d7bd0 0%, #6ab7ff 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.5);
}

#transactionTable_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.3) !important;
}

#transactionTable_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Special styling for previous/next buttons */
#transactionTable_wrapper .dataTables_paginate .paginate_button.previous,
#transactionTable_wrapper .dataTables_paginate .paginate_button.next {
    font-size: 16px;
    font-weight: 600;
}

#transactionTable_wrapper .dataTables_paginate .paginate_button.first,
#transactionTable_wrapper .dataTables_paginate .paginate_button.last {
    font-size: 14px;
    font-weight: 600;
}

/* Balance History Table Styling */
#balanceHistoryTable tbody tr.balance-row.increase {
    background: rgba(40, 167, 69, 0.1) !important;
    border: none !important;
}

#balanceHistoryTable tbody tr.balance-row.increase td {
    background: rgba(40, 167, 69, 0.1) !important;
    border: none !important;
}

#balanceHistoryTable tbody tr.balance-row.decrease {
    background: rgba(220, 53, 69, 0.1) !important;
    border: none !important;
}

#balanceHistoryTable tbody tr.balance-row.decrease td {
    background: rgba(220, 53, 69, 0.1) !important;
    border: none !important;
}

#balanceHistoryTable tbody tr.balance-row.increase:hover {
    background: rgba(40, 167, 69, 0.15) !important;
}

#balanceHistoryTable tbody tr.balance-row.increase:hover td {
    background: rgba(40, 167, 69, 0.15) !important;
}

#balanceHistoryTable tbody tr.balance-row.decrease:hover {
    background: rgba(220, 53, 69, 0.15) !important;
}

#balanceHistoryTable tbody tr.balance-row.decrease:hover td {
    background: rgba(220, 53, 69, 0.15) !important;
}

/* Override DataTables default background untuk balance history */
#balanceHistoryTable tbody tr {
    background: transparent !important;
}

#balanceHistoryTable tbody tr:nth-child(even) {
    background: transparent !important;
}

#balanceHistoryTable tbody tr:nth-child(odd) {
    background: transparent !important;
}

/* Balance History DataTable - Copy dari transaction table styling */
#balanceHistoryTable_wrapper.dataTables_wrapper {
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: "Inter", sans-serif !important;
    margin-top: 1rem;
}

#balanceHistoryTable_wrapper .dataTables_length {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 1rem;
}

#balanceHistoryTable_wrapper .dataTables_length label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#balanceHistoryTable_wrapper .dataTables_length select {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 100%
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    font-size: 14px;
    min-width: 80px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

#balanceHistoryTable_wrapper .dataTables_length select:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.16) 0%,
        rgba(255, 255, 255, 0.1) 100%
    ) !important;
    border-color: rgba(74, 144, 226, 0.4) !important;
}

#balanceHistoryTable_wrapper .dataTables_length select:focus {
    outline: none !important;
    border-color: #4a90e2 !important;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.25) !important;
}

#balanceHistoryTable_wrapper .dataTables_length select option {
    background: #1a1a2e !important;
    color: white !important;
    padding: 4px 8px;
}

#balanceHistoryTable_wrapper .dataTables_filter {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 1rem;
    text-align: right;
}

#balanceHistoryTable_wrapper .dataTables_filter label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 14px;
    margin: 0;
}

#balanceHistoryTable_wrapper .dataTables_filter input[type="search"] {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 100%
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    margin-left: 8px !important;
    font-size: 14px;
    width: 220px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

#balanceHistoryTable_wrapper
    .dataTables_filter
    input[type="search"]::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    font-style: italic;
}

#balanceHistoryTable_wrapper
    .dataTables_filter
    input[type="search"]::-moz-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    font-style: italic;
}

#balanceHistoryTable_wrapper
    .dataTables_filter
    input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    font-style: italic;
}

#balanceHistoryTable_wrapper .dataTables_filter input[type="search"]:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.16) 0%,
        rgba(255, 255, 255, 0.1) 100%
    ) !important;
    border-color: rgba(74, 144, 226, 0.3) !important;
}

#balanceHistoryTable_wrapper .dataTables_filter input[type="search"]:focus {
    outline: none !important;
    border-color: #4a90e2 !important;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.25) !important;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.12) 100%
    ) !important;
}

#balanceHistoryTable.dataTable {
    color: white !important;
    border-collapse: collapse;
    width: 100% !important;
}

#balanceHistoryTable.dataTable thead th {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.1) 100%
    ) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 15px 12px !important;
    text-align: left;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

#balanceHistoryTable.dataTable tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 15px 12px !important;
    vertical-align: middle;
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

#balanceHistoryTable_wrapper .dataTables_paginate {
    text-align: right;
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
}

#balanceHistoryTable_wrapper .dataTables_paginate .paginate_button {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 100%
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 8px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    transition: all 0.3s ease !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    backdrop-filter: blur(5px);
    position: relative;
}

#balanceHistoryTable_wrapper .dataTables_paginate .paginate_button:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.15) 100%
    ) !important;
    border-color: rgba(74, 144, 226, 0.4) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#balanceHistoryTable_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #4a90e2 0%, #74b9ff 100%) !important;
    border-color: #4a90e2 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
    transform: translateY(-1px);
}

#balanceHistoryTable_wrapper
    .dataTables_paginate
    .paginate_button.current:hover {
    background: linear-gradient(135deg, #3d7bd0 0%, #6ab7ff 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.5);
}

#balanceHistoryTable_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.3) !important;
}

#balanceHistoryTable_wrapper
    .dataTables_paginate
    .paginate_button.disabled:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    transform: none !important;
    box-shadow: none !important;
}

#balanceHistoryTable_wrapper .dataTables_info {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
    margin-top: 1rem;
    font-weight: 400;
}

.amount-value {
    font-weight: 600;
}

.badge-type {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.badge-type.balance {
    background: rgba(13, 110, 253, 0.2);
    color: #0d6efd;
    border: 1px solid rgba(13, 110, 253, 0.3);
}

.badge-type.product {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.badge-type.membership {
    background: rgba(111, 66, 193, 0.2);
    color: #6f42c1;
    border: 1px solid rgba(111, 66, 193, 0.3);
}

/* Badge styling for status */
.badge-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-status.complete {
    background: linear-gradient(
        45deg,
        rgba(40, 167, 69, 0.2),
        rgba(32, 201, 151, 0.2)
    );
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.4);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

/* Button styling in table */
.btn-outline-primary {
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    color: #4a90e2;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: rgba(74, 144, 226, 0.2);
    border-color: #4a90e2;
    color: #74b9ff;
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #transactionTable_wrapper .dataTables_length,
    #transactionTable_wrapper .dataTables_filter {
        text-align: center;
        margin-bottom: 1rem;
    }

    #transactionTable_wrapper .dataTables_length label {
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }

    #transactionTable_wrapper .dataTables_filter input[type="search"] {
        width: 180px;
        margin-left: 0 !important;
        margin-top: 8px;
    }

    #transactionTable_wrapper .dataTables_info,
    #transactionTable_wrapper .dataTables_paginate {
        text-align: center;
        margin-top: 1rem;
    }

    #transactionTable_wrapper .dataTables_paginate {
        justify-content: center;
        flex-wrap: wrap;
        gap: 2px;
    }

    #transactionTable_wrapper .dataTables_paginate .paginate_button {
        padding: 8px 10px !important;
        font-size: 12px;
        min-width: 36px;
        height: 36px;
    }

    #transactionTable_wrapper .dataTables_info {
        font-size: 13px;
        margin-bottom: 1rem;
    }
} /* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .main-content {
        margin-left: 0;
    }

    .left-sidebar {
        transform: translateX(-100%);
    }

    .left-sidebar.show {
        transform: translateX(0);
        width: 280px;
        padding: 20px;
    }

    .left-sidebar.show .sidebar-nav-icons .nav-icon-item {
        width: auto;
        justify-content: flex-start;
        padding: 10px 15px;
        margin: 5px 0;
    }

    .left-sidebar.show .sidebar-nav-icons .nav-icon-item i {
        margin-right: 10px;
    }

    .left-sidebar.show .sidebar-nav-icons .nav-icon-item:after {
        content: attr(title);
        color: var(--white);
        font-size: 14px;
    }

    .sidebar-close {
        display: block;
    }

    .sidebar-overlay.show {
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .content-layout {
        flex-direction: column;
        gap: 20px;
    }

    .left-column {
        flex: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .category-nav {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .balance-card {
        padding: 20px;
    }

    .balance-card h3 {
        font-size: 24px;
    }

    .hero-title {
        font-size: 28px;
    }

    .content-card {
        padding: 20px;
    }
}

/* Balance Top Up Styles */
.amount-input-wrapper {
    position: relative;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-prefix {
    position: absolute;
    left: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 16px;
    z-index: 2;
}

.amount-input {
    padding-left: 50px !important;
    font-size: 18px;
    font-weight: 600;
    text-align: right;
}

.quick-amounts {
    margin-top: 20px;
}

.quick-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.btn-quick-amount {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.btn-quick-amount:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.12) 100%
    );
    border-color: rgba(74, 144, 226, 0.4);
    transform: translateY(-1px);
}

.btn-quick-amount.active {
    background: linear-gradient(135deg, #4a90e2 0%, #74b9ff 100%);
    border-color: #4a90e2;
    color: white;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.total-display {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    backdrop-filter: blur(5px);
}

.total-label,
.admin-fee-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

.total-amount,
.admin-fee-amount {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 600;
}

.total-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 16px 0;
}

.final-total-label {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.final-total-amount {
    color: #4a90e2;
    font-size: 20px;
    font-weight: 700;
}

/* Payment Methods */
.payment-category-nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.payment-methods-container {
    position: relative;
}

.payment-methods-group {
    display: none;
    animation: fadeInUp 0.3s ease;
}

.payment-methods-group.active {
    display: block;
}

.payment-method-item {
    position: relative;
    height: 100%;
}

.payment-method-radio {
    display: none;
}

.payment-method-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    height: 100%;
    min-height: 90px;
}

.payment-method-label:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    border-color: rgba(74, 144, 226, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.payment-method-radio:checked + .payment-method-label {
    background: linear-gradient(
        135deg,
        rgba(74, 144, 226, 0.2) 0%,
        rgba(116, 185, 255, 0.1) 100%
    );
    border-color: #4a90e2;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.2);
}

.payment-info {
    flex: 1;
    min-width: 0;
    margin-right: 12px;
}

.payment-title {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    word-break: break-word;
}

.payment-fee {
    font-size: 12px;
    color: rgba(255, 165, 0, 0.8);
    font-weight: 500;
    margin-bottom: 4px;
}

.payment-balance {
    font-size: 12px;
    color: rgba(255, 165, 0, 0.8);
    font-weight: 500;
    margin-bottom: 4px;
}

.payment-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    line-height: 1.3;
}

.payment-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 60px;
    height: auto;
}

.payment-icon-img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    height: auto;
    width: auto;
}

.payment-icon-placeholder {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
}

.no-payment-methods {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.btn-topup {
    font-size: 16px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 10px;
}

.btn-topup:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Membership Plan Styles */
.membership-plan-item {
    position: relative;
    height: 100%;
}

.membership-plan-radio {
    display: none;
}

.membership-plan-label {
    display: block;
    padding: 20px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.membership-plan-label:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    border-color: rgba(74, 144, 226, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.membership-plan-radio:checked + .membership-plan-label {
    background: linear-gradient(
        135deg,
        rgba(74, 144, 226, 0.2) 0%,
        rgba(116, 185, 255, 0.1) 100%
    );
    border-color: #4a90e2;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.2);
}

.plan-header {
    text-align: center;
    margin-bottom: 16px;
}

.plan-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 24px;
    font-weight: 700;
    color: #4a90e2;
    margin-bottom: 4px;
    text-align: center;
}

.plan-body {
    text-align: left;
}

.plan-description {
    font-size: 14px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.4;
}

.plan-duration {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    justify-content: center;
    display: flex;
    gap: 6px;
}

.current-plan-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* Mobile Responsive for Membership */
@media (max-width: 768px) {
    .membership-plan-label {
        padding: 16px;
    }

    .plan-title {
        font-size: 18px;
    }

    .plan-price {
        font-size: 20px;
    }

    .plan-description {
        font-size: 13px;
    }
}

.alert-success {
    background: linear-gradient(
        180deg,
        rgba(40, 167, 69, 0.15) 0%,
        rgba(40, 167, 69, 0.1) 100%
    );
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 10px;
    color: #28a745;
    backdrop-filter: blur(5px);
}
.alert-success .btn-close {
    filter: brightness(0) saturate(100%) invert(48%) sepia(94%) saturate(1230%)
        hue-rotate(119deg) brightness(101%) contrast(85%);
}

.alert-danger {
    background: linear-gradient(
        180deg,
        rgba(220, 53, 69, 0.15) 0%,
        rgba(220, 53, 69, 0.1) 100%
    );
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 10px;
    color: #dc3545;
    backdrop-filter: blur(5px);
}
.alert-danger .btn-close {
    filter: brightness(0) saturate(100%) invert(17%) sepia(96%) saturate(7149%)
        hue-rotate(356deg) brightness(91%) contrast(135%);
}

.bank-info {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 25px;
    border-radius: 15px;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 0;
}

.bank-logo {
    flex-shrink: 0;
}

.bank-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: contain;
    padding: 10px;
}

.bank-details {
    flex: 1;
}

.bank-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bank-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.bank-detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    min-width: 120px;
}

.bank-detail-value {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-summary-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.order-summary-card:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.1) 100%
    );
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.order-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.order-item-description {
    text-align: left;
}

.order-item-price {
    text-align: left;
}

.order-divider {
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    margin: 20px 0;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border-radius: 10px;
    padding: 15px 20px;
    margin-top: 15px;
}

.order-total-label {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
}

.order-total-amount {
    color: #4a90e2;
    font-size: 18px;
    font-weight: 700;
}

/* Order Summary Table */
.order-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.order-summary-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* .order-summary-table tbody tr:last-child {
    border-bottom: none;
} */

.order-summary-table td {
    padding: 15px 0;
    vertical-align: top;
}

.order-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    width: 180px;
    white-space: nowrap;
}

.order-value {
    color: var(--white);
    font-weight: 400;
    text-align: left;
}

@media (max-width: 768px) {
    .bank-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .bank-detail-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .bank-detail-label {
        min-width: auto;
    }

    .order-label {
        width: 140px;
        font-size: 13px;
    }

    .order-value {
        font-size: 13px;
    }

    .order-summary-table td {
        padding: 12px 0;
    }
}

/* SweetAlert2 Custom Styling for Balance Payment */
.balance-payment-popup .swal2-popup {
    background: linear-gradient(
        135deg,
        rgba(10, 10, 26, 0.98) 0%,
        rgba(44, 44, 58, 0.95) 100%
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

.balance-payment-popup .swal2-title {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.balance-payment-popup .swal2-html-container {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.balance-payment-popup .swal2-confirm {
    background: linear-gradient(45deg, #4a90e2, #6aa8ff) !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    box-shadow: 0 4px 15px 0 rgba(74, 144, 226, 0.4) !important;
    transition: all 0.3s ease !important;
}

.balance-payment-popup .swal2-confirm:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px 0 rgba(74, 144, 226, 0.6) !important;
    background: linear-gradient(45deg, #6aa8ff, #4a90e2) !important;
}

.balance-payment-popup .swal2-cancel {
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05)
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
}

.balance-payment-popup .swal2-cancel:hover {
    transform: translateY(-2px) !important;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.1)
    ) !important;
    box-shadow: 0 4px 15px 0 rgba(255, 255, 255, 0.2) !important;
}

.balance-payment-popup .swal2-actions {
    margin-top: 25px !important;
    gap: 15px !important;
}

.balance-payment-popup .swal2-icon.swal2-question {
    border-color: #4a90e2 !important;
    color: #4a90e2 !important;
}

.balance-payment-popup .swal2-icon.swal2-error {
    border-color: #ff6b6b !important;
    color: #ff6b6b !important;
}

.va-payment-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.va-bank-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.va-bank-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 16px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.va-bank-logo .bank-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.va-bank-name h4 {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 600;
}

.va-bank-name p {
    margin: 4px 0 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.va-number-section,
.va-amount-section {
    margin-bottom: 20px;
}

.va-number-label,
.va-amount-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.va-number-container,
.va-amount-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.va-number,
.va-amount {
    flex: 1;
    font-family: "Courier New", monospace;
    font-size: 16px;
    font-weight: 600;
    color: #6aa8ff;
    letter-spacing: 1px;
}

.va-copy-btn {
    background: rgba(106, 168, 255, 0.2);
    border: 1px solid rgba(106, 168, 255, 0.4);
    color: #6aa8ff;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.va-copy-btn:hover {
    background: rgba(106, 168, 255, 0.3);
    border-color: rgba(106, 168, 255, 0.6);
}

/* Payment Instructions */
.payment-instructions {
    margin-top: 16px;
}

.instruction-method {
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.instruction-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #6aa8ff;
    font-weight: 600;
    font-size: 14px;
}

.instruction-header i {
    margin-right: 8px;
    font-size: 16px;
}

.instruction-steps {
    margin: 0;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.instruction-steps li {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.5;
}

.instruction-steps strong {
    color: #6aa8ff;
    font-family: "Courier New", monospace;
}

/* Responsive */
@media (max-width: 768px) {
    .va-number-container,
    .va-amount-container {
        flex-direction: column;
        gap: 8px;
    }

    .va-copy-btn {
        align-self: flex-end;
    }

    .va-number,
    .va-amount {
        font-size: 14px;
    }
}

/* Virtual Account Styles */
.va-payment-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.va-bank-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.va-bank-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 16px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.va-bank-logo .bank-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.va-bank-name h4 {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 600;
}

.va-bank-name p {
    margin: 4px 0 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.va-number-section,
.va-amount-section {
    margin-bottom: 20px;
}

.va-number-label,
.va-amount-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.va-number-container,
.va-amount-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.va-number,
.va-amount {
    flex: 1;
    font-family: "Courier New", monospace;
    font-size: 16px;
    font-weight: 600;
    color: #6aa8ff;
    letter-spacing: 1px;
}

.va-copy-btn {
    background: rgba(106, 168, 255, 0.2);
    border: 1px solid rgba(106, 168, 255, 0.4);
    color: #6aa8ff;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.va-copy-btn:hover {
    background: rgba(106, 168, 255, 0.3);
    border-color: rgba(106, 168, 255, 0.6);
}

/* E-Wallet Styles */
.ewallet-payment-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ewallet-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ewallet-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 16px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ewallet-logo .bank-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.ewallet-name h4 {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 600;
}

.ewallet-name p {
    margin: 4px 0 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.ewallet-amount-section {
    margin-bottom: 24px;
}

.ewallet-amount-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.ewallet-amount-display {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.ewallet-amount {
    font-family: "Courier New", monospace;
    font-size: 24px;
    font-weight: 700;
    color: #7bc96f;
    letter-spacing: 1px;
}

.ewallet-redirect-section {
    margin-top: 20px;
}

.ewallet-note {
    text-align: center;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Payment Instructions */
.payment-instructions {
    margin-top: 16px;
}

.instruction-method {
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.instruction-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #6aa8ff;
    font-weight: 600;
    font-size: 14px;
}

.instruction-header i {
    margin-right: 8px;
    font-size: 16px;
}

.instruction-steps {
    margin: 0;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.instruction-steps li {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.5;
}

.instruction-steps strong {
    color: #6aa8ff;
    font-family: "Courier New", monospace;
}

/* Payment Detail Responsive */
@media (max-width: 768px) {
    .ewallet-amount {
        font-size: 20px;
    }

    .ewallet-payment-info,
    .va-payment-info {
        padding: 16px;
    }

    .va-bank-header,
    .ewallet-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
    }

    .va-bank-logo,
    .ewallet-logo {
        margin-right: 0;
        margin-bottom: 12px;
    }
}

.qr-code-image {
    width: 300px;
    height: 300px;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    background: transparent;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.qris-instruction {
    margin-top: 15px;
    color: #6c757d;
}

.qris-instruction i {
    color: #28a745;
}

/* Responsive design for QR code */
@media (max-width: 576px) {
    .qr-code-image {
        width: 250px;
        height: 250px;
        padding: 8px;
    }
}

/* Dashboard Phone Input Styling (simplified from auth.css) */
.dashboard-content .iti {
    width: 100%;
    position: relative;
}

.dashboard-content .iti__flag-container {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px 0 0 8px;
    border-right: none;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    z-index: 5;
}

.dashboard-content .iti__selected-flag {
    padding: 12px 16px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    cursor: pointer;
}

.dashboard-content .iti__arrow {
    border-top-color: rgba(255, 255, 255, 0.6);
    margin-left: 4px;
}

.dashboard-content .iti--allow-dropdown input[type="tel"] {
    padding-left: 130px !important;
    border-radius: 8px !important;
    width: 100% !important;
    position: relative;
    z-index: 1;
}

.dashboard-content .iti--allow-dropdown .iti__flag-container:focus-within {
    border-color: #4a90e2 !important;
}

/* Country dropdown - higher z-index than cards but keep position absolute */
.dashboard-content .iti__country-list {
    background: #1a1a2e !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
    z-index: 1005 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    max-height: 300px;
    width: 350px;
    margin-top: 4px !important;
}

.dashboard-content .iti__country {
    color: var(--white) !important;
    background: transparent !important;
    padding: 8px 16px;
    border: none !important;
}

.dashboard-content .iti__country:hover,
.dashboard-content .iti__country.iti__highlight {
    background: rgba(74, 144, 226, 0.2) !important;
    color: var(--white) !important;
}

.dashboard-content .iti__country-name {
    color: rgba(255, 255, 255, 0.9) !important;
}

.dashboard-content .iti__dial-code {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Rating Input */
.rating-input {
    display: flex;
    gap: 5px;
    align-items: center;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input .star {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.2s;
}

.rating-input .star:hover {
    color: #ffc107;
}

.rating-input input[type="radio"]:checked + .star {
    color: #ffc107;
}

/* Highlight all stars up to the selected one */
.rating-input input[type="radio"]:checked ~ input[type="radio"] + .star {
    color: #ddd;
}

.rating-input input[type="radio"]:checked + .star,
.rating-input
    input[type="radio"]:checked
    ~ input[type="radio"]:checked
    + .star {
    color: #ffc107;
}

/* Modal Styling */
.modal-content {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 15px !important;
    color: white !important;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.modal-title {
    color: white !important;
}

.btn-close {
    filter: invert(1) !important;
}

/* Form styling in modal */
.modal .form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.modal .form-control:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(74, 144, 226, 0.5) !important;
    box-shadow: 0 0 0 0.25rem rgba(74, 144, 226, 0.25) !important;
    color: white !important;
}

.modal .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.modal .form-label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

/* Button styling in modal */
.modal .btn-primary {
    background: linear-gradient(135deg, #4a90e2, #357abd) !important;
    border: none !important;
}

.modal .btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22) !important;
    border: none !important;
}

.modal .btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.modal .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
}

/* Refined DataTable styling - preserve original design */
#transactionTable tbody td {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Force thead styling to prevent white background */
#transactionTable.dataTable thead th,
#transactionTable thead th.sorting,
#transactionTable thead th.sorting_asc,
#transactionTable thead th.sorting_desc {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2) !important;
}

#transactionTable.dataTable {
    width: 100% !important;
}

#transactionTable.dataTable tbody td,
#transactionTable.dataTable thead th {
    width: auto !important;
    max-width: none !important;
}

.history-table tbody tr.increase {
    background: rgba(40, 167, 69, 0.1) !important;
}

.history-table tbody tr.increase td {
    background: rgba(40, 167, 69, 0.1) !important;
    color: #28a745 !important;
}

.history-table tbody tr.increase:hover {
    background: rgba(40, 167, 69, 0.15) !important;
}

.history-table tbody tr.increase:hover td {
    background: rgba(40, 167, 69, 0.15) !important;
}

.history-table tbody tr.decrease {
    background: rgba(220, 53, 69, 0.1) !important;
}

.history-table tbody tr.decrease td {
    background: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
}

.history-table tbody tr.decrease:hover {
    background: rgba(220, 53, 69, 0.15) !important;
}

.history-table tbody tr.decrease:hover td {
    background: rgba(220, 53, 69, 0.15) !important;
}

/* Icon colors for amount column */
.history-table tbody tr.increase .fw-semibold {
    color: #28a745 !important;
}

.history-table tbody tr.decrease .fw-semibold {
    color: #dc3545 !important;
}

.plan-image img {
    width: 200px;
    height: auto;
    object-fit: contain;
}
/* Container utama */
.payment-status-widget {
    margin-top: 0px;
    background: linear-gradient(135deg, #040404, #000000);
    border-radius: 16px;
    padding: 20px;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.35);
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        sans-serif;
}

/* Inner layout */
.payment-status-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Countdown circle */
.countdown-circle {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.countdown-number {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.countdown-label {
    font-size: 10px;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Text area */
.payment-status-text h6 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
}

/* Animated dots */
.dots {
    display: inline-block;
    animation: blink 1.5s infinite both;
}

@keyframes blink {
    0% {
        opacity: 0.2;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0.2;
    }
}

/* Button */
.payment-status-action {
    margin-top: 6px;
}

.btn-check-payment {
    background: #ffffff;
    color: #0c13a1;
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-check-payment:hover {
    transform: translateY(-2px);
    background: #eef2ff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.btn-check-payment:active {
    transform: scale(0.97);
}
@media (max-width: 992px) {
    .payment-status-widget {
        margin-top: 16px;
    }
}
