:root {
    --gradient-1: #6a11cb;
    --gradient-2: #2575fc;
    --gradient-3: #ff6a00;
    --gradient-4: #ee0979;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-brd: rgba(255, 255, 255, 0.35);
    --chip-bg: rgba(0,0,0,0.06);
}
[data-bs-theme="dark"] {
    --glass-bg: rgba(20, 24, 29, 0.55);
    --glass-brd: rgba(255, 255, 255, 0.15);
    --chip-bg: rgba(255,255,255,0.06);
}

/* Light theme: tăng tương phản viền cho bề mặt glass */
[data-bs-theme="light"] .navbar-glass,
[data-bs-theme="light"] .card-glass,
[data-bs-theme="light"] .footer-glass { border-color: rgba(0,0,0,.08); }

/* Font mặc định của Bootstrap (dashboard) */
body { font-family: var(--bs-body-font-family); }
/* Sticky footer: body là flex column, footer luôn ở dưới cùng */
html, body { height: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
footer.footer-glass { margin-top: auto; }

/* Nền trung tính, hiện đại (không màu mè) */
.bg-canvas {
    min-height: 100vh;
    background-color: var(--bs-body-bg);
    background-image: radial-gradient(rgba(0,0,0,.03) 1px, transparent 1px);
    background-size: 22px 22px;
    background-attachment: fixed;
    position: relative;
}

/* Glass */
.navbar-glass, .card-glass, .footer-glass {
    background: var(--glass-bg);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border: 1px solid var(--glass-brd);
}
.navbar-glass { box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.card-glass { box-shadow: 0 12px 40px rgba(0,0,0,.12); border-radius: 16px; }
.footer-glass { box-shadow: 0 -8px 30px rgba(0,0,0,.08); }

/* Brand & buttons */
.gradient-text {
    background: linear-gradient(90deg, var(--gradient-3), var(--gradient-4));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.btn-gradient {
    background-image: linear-gradient(90deg, var(--gradient-3), var(--gradient-4));
    border: 0; color: #fff;
    box-shadow: 0 8px 24px rgba(238, 9, 121, .35);
}
.btn-gradient:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* Avatars / navbar */
.navbar-brand img {
    height: 28px; width: 28px; object-fit: cover; border-radius: 6px; margin-right: .5rem;
}
/* Logo dạng chỉ ảnh, hiển thị full không crop */
.navbar-brand .brand-logo {
    height: 96px; width: auto; max-height: 110px; object-fit: contain; border-radius: 0; margin-right: 0;
}
@media (max-width: 576px) {
    .navbar-brand .brand-logo { height: 64px; max-height: 72px; }
}

/* Footer logo */
.footer-logo { height: 120px; width: auto; max-height: 140px; object-fit: contain; }
@media (max-width: 576px) { .footer-logo { height: 84px; max-height: 100px; } }

.user-avatar { height: 32px; width: 32px; border-radius: 50%; object-fit: cover; }
.dropdown-menu-end .dropdown-header { font-size: .8rem; }

/* VIP ribbon overlay trên avatar */
.avatar-wrap { position: relative; display: inline-block; }
.vip-ribbon {
    position: absolute;
    left: -8px;
    bottom: -4px;
    transform: none;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    color: #fff;
    font-size: 10px;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    pointer-events: none;
    white-space: nowrap;
}

/* 2FA Modal Styles */
#twoFAModal .form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

#twoFAModal .form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

#twoFAModal .form-floating > .form-control:focus ~ label,
#twoFAModal .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--bs-body-color);
}

#twoFAModal .form-floating > .form-control.is-invalid:focus ~ label {
    color: #dc3545;
}

/* Google 2FA input styling */
#googleCode {
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

/* 2FA Modal responsive */
@media (max-width: 576px) {
    #twoFAModal .modal-dialog {
        margin: 1rem;
    }
    
    #twoFAModal .modal-body {
        padding: 1rem;
    }
}
@media (min-width: 992px) { .vip-ribbon { font-size: 11px; } }

/* Nav main: to hơn và căn giữa */
.nav-main { justify-content: center; }
.nav-main .nav-link { font-size: 1.125rem; font-weight: 600; padding: .5rem .9rem; }
@media (min-width: 992px) {
    .nav-main .nav-link { font-size: 1.25rem; padding: .6rem 1.1rem; }
}

/* Table tinh gọn */
.table thead th { cursor: pointer; user-select: none; }
.table-modern thead th { background: rgba(0,0,0,.03); border-bottom: 1px solid var(--glass-brd); }
.table-modern tbody tr:hover { background-color: rgba(0,0,0,.04); }
.robux-icon { height: 16px; width: 16px; object-fit: contain; margin-right: .25rem; vertical-align: -2px; }
.badge-warranty-yes { background: linear-gradient(90deg, #16a34a, #22c55e); }
.badge-warranty-no { background: linear-gradient(90deg, #6b7280, #9ca3af); }
.badge-2fa-yes { background: linear-gradient(90deg, #16a34a, #22c55e); }
.badge-2fa-no { background: linear-gradient(90deg, #6b7280, #9ca3af); }
.chip { display: inline-block; padding: .35rem .6rem; border-radius: 999px; background: var(--chip-bg); }
.chip-type-giftcard { color: #d946ef; background: rgba(217, 70, 239, .12); }
.chip-type-acc { color: #06b6d4; background: rgba(6, 182, 212, .12); }
.chip-type-transfer { color: #22c55e; background: rgba(34, 197, 94, .12); }

/* Table responsive cho mobile */
@media (max-width: 768px) {
    .table-responsive {
        border: 0;
        border-radius: 0;
    }
    
    .table-modern {
        font-size: 0.875rem;
    }
    
    .table-modern thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .table-modern tbody td {
        padding: 0.75rem 0.5rem;
        vertical-align: middle;
    }
    
    .table-modern .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .table-modern .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .table-modern .chip {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .robux-icon {
        height: 14px;
        width: 14px;
    }
}

/* ========= Shared CTA Buttons & Animations (Moved to header.php) ========= */

/* SweetAlert gift modal custom */
.swal-gift-popup { border-radius: 20px !important; background: linear-gradient(135deg, #fff, #f8f9fa) !important; box-shadow: 0 20px 60px rgba(255,215,0,.3) !important; }
.swal-gift-popup .swal2-title { color: #ffd700 !important; font-weight: 700 !important; text-shadow: 0 2px 4px rgba(0,0,0,.1) !important; }

/* SweetAlert2 Mobile Responsive */
@media (max-width: 768px) {
    .swal2-popup-mobile {
        width: 95% !important;
        max-width: 350px !important;
        margin: 0 auto !important;
        padding: 1rem !important;
    }
    
    .swal2-title-mobile {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.8rem !important;
    }
    
    .swal2-content-mobile {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        padding: 0 !important;
    }
    
    .swal2-content-mobile .row {
        margin: 0 !important;
    }
    
    .swal2-content-mobile .col-6,
    .swal2-content-mobile .col-12 {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.8rem !important;
    }
    
    .swal2-content-mobile .h5 {
        font-size: 1rem !important;
        margin: 0.5rem 0 !important;
    }
    
    .swal2-content-mobile .alert {
        padding: 0.5rem !important;
        font-size: 0.8rem !important;
        margin: 0.5rem 0 !important;
    }
    
    .swal2-actions {
        gap: 0.5rem !important;
        margin-top: 0.8rem !important;
    }
    
    .swal2-confirm, .swal2-cancel {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.85rem !important;
    }
}

/* Mobile tweaks for the CTAs (Moved to header.php) */

@media (max-width: 576px) {
    .table-modern {
        font-size: 0.8rem;
    }
    
    .table-modern thead th {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
    }
    
    .table-modern tbody td {
        padding: 0.5rem 0.25rem;
    }
    
    .table-modern .btn-sm {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
    
    .table-modern .badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
    
    .table-modern .chip {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
    
    .robux-icon {
        height: 12px;
        width: 12px;
    }
}

/* Footer */
.footer-gradient-bar { height: 2px; background: linear-gradient(90deg, var(--gradient-3), var(--gradient-4)); opacity: .35; }
.social-link { display:inline-flex; align-items:center; gap:.5rem; padding:.5rem .75rem; border-radius: 999px; background: rgba(0,0,0,.06); text-decoration:none; }
[data-bs-theme="dark"] .social-link { background: rgba(255,255,255,.08); }

/* Mobile: User dropdown full width + menu centered */
@media (max-width: 991.98px) {
    .navbar-glass .dropdown > .btn.dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
    .navbar-glass .dropdown-menu {
        max-width: 92vw;
        width: auto;
        margin-top: .5rem;
    }
    .navbar-glass .dropdown-menu-end {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    }
}

/* Login page enhancements */
.login-card { position: relative; overflow: hidden; }
.login-card .card-body { background: linear-gradient(180deg, rgba(74, 144, 226, 0.08), rgba(238, 9, 121, 0.08)); }
[data-bs-theme="dark"] .login-card .card-body { background: linear-gradient(180deg, rgba(74, 144, 226, 0.06), rgba(238, 9, 121, 0.06)); }
.login-title { background: linear-gradient(90deg, var(--gradient-3), var(--gradient-4)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login-card .form-control:focus { border-color: #ee0979; box-shadow: 0 0 0 .25rem rgba(238, 9, 121, 0.15); }
.login-card .btn-gradient { box-shadow: 0 12px 28px rgba(238, 9, 121, 0.35); }
.login-image { filter: saturate(1.05) contrast(1.02); }
.login-card::before { content: ""; position: absolute; top: -60px; right: -60px; width: 260px; height: 260px; background: radial-gradient(closest-side, rgba(238, 9, 121, .35), rgba(238, 9, 121, 0) 70%); filter: blur(25px); pointer-events: none; }
.login-card::after { content: ""; position: absolute; bottom: -60px; left: -60px; width: 260px; height: 260px; background: radial-gradient(closest-side, rgba(37, 117, 252, .35), rgba(37, 117, 252, 0) 70%); filter: blur(25px); pointer-events: none; }

/* Language toggle button */
#languageToggleBtn {
    transition: all 0.3s ease;
    border-width: 2px;
}

#languageToggleBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#languageToggleBtn:active {
    transform: translateY(0);
}

/* Language label animation */
#languageLabel {
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Currency toggle button */
#currencyToggleBtn {
    transition: all 0.3s ease;
    border-width: 2px;
}

#currencyToggleBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#currencyToggleBtn:active {
    transform: translateY(0);
}

.navbar-glass .nav-main { gap: 12px; }
.navbar-glass .nav-main .nav-link {
	position: relative;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 1rem;
	font-weight: 600;
	background: transparent;
	transition: background .2s ease, color .2s ease;
}
.navbar-glass .nav-main .nav-link i { margin-right: .35rem; }

/* Hover/Focus – nhẹ nhàng, không đổ bóng nặng */
[data-bs-theme="light"] .navbar-glass .nav-main .nav-link:hover,
[data-bs-theme="light"] .navbar-glass .nav-main .nav-link:focus {
	background: rgba(0,0,0,.06);
}
[data-bs-theme="light"] .navbar-glass .nav-main .nav-link { border: 1px solid rgba(0,0,0,.08); }
[data-bs-theme="light"] .navbar-glass .nav-main .nav-link:hover { border-color: rgba(102,126,234,.35); }
[data-bs-theme="dark"] .navbar-glass .nav-main .nav-link:hover,
[data-bs-theme="dark"] .navbar-glass .nav-main .nav-link:focus {
	background: rgba(255,255,255,.08);
}

/* Active – gạch chân động thay vì nền gradient */
.navbar-glass .nav-main .nav-link.active { color: inherit; }
.navbar-glass .nav-main .nav-link.active::after {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: -6px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, #667eea, #764ba2);
	opacity: .9;
}

/* Dropdown items – hover nhẹ */
.navbar-glass .dropdown-menu-glass .dropdown-item { border-radius: 8px; transition: background .15s ease; }
[data-bs-theme="light"] .navbar-glass .dropdown-menu-glass .dropdown-item:hover,
[data-bs-theme="light"] .navbar-glass .dropdown-menu-glass .dropdown-item:focus { background: rgba(0,0,0,.06); }
[data-bs-theme="dark"] .navbar-glass .dropdown-menu-glass .dropdown-item:hover,
[data-bs-theme="dark"] .navbar-glass .dropdown-menu-glass .dropdown-item:focus { background: rgba(255,255,255,.08); }

/* Desktop sizing */
@media (min-width: 992px) {
	.navbar-glass .nav-main .nav-link { padding: 10px 14px; font-size: 1.05rem; }
}

/* Mobile sizing */
@media (max-width: 576px) {
	.navbar-glass .nav-main .nav-link { padding: 7px 10px; border-radius: 8px; font-size: .98rem; }
}
    
/* Container và Layout */
.container-fluid {
    max-width: 1100px; /* tạo khoảng trống lớn 2 bên ở màn hình rộng */
    margin: 0 auto;
}

/* Header Card */
.card-header.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.balance-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.current-balance-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.balance-amount {
    text-align: center;
    margin-bottom: 5px;
}

.currency-symbol {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffd700;
}

.amount-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-left: 3px;
}

.balance-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

/* Stats Cards */
.stats-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Controls Section */
.controls-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.form-select-sm, .input-group-sm .form-control {
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 8px;
}

/* Table Styling */
.table-modern {
    border-collapse: separate;
    border-spacing: 0;
}

.table-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
}

.table-header th {
    border: none;
    position: relative;
    font-weight: 600;
}

.table-header th:first-child {
    border-top-left-radius: 10px;
}

.table-header th:last-child {
    border-top-right-radius: 10px;
}

.table-row-hover:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transform: translateY(-1px);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* STT Badge */
.stt-badge {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    padding: 6px 10px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    min-width: 35px;
    display: inline-block;
}

/* Amount Display */
.amount-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.amount-value {
    font-size: 0.9rem;
    font-weight: 600;
}

.currency {
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 500;
}

/* Change Amount */
.change-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.change-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.change-value {
    display: flex;
    align-items: center;
    gap: 2px;
}

.change-sign {
    font-weight: 700;
    font-size: 1rem;
}

/* Content Cell */
.content-cell {
    max-width: 250px;
}

.content-text {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Time Display */
.time-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.time-date {
    font-weight: 600;
    color: #495057;
    font-size: 0.8rem;
}

.time-hour {
    color: #6c757d;
    font-size: 0.7rem;
}

/* Pagination */
.pagination-sm .page-link {
    padding: 8px 12px;
    font-size: 0.9rem;
    border-radius: 8px;
    margin: 0 2px;
    border: 1px solid #e9ecef;
    color: #495057;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination-sm .page-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.pagination-sm .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.pagination-sm .page-item.disabled .page-link {
    color: #adb5bd;
    background: #f8f9fa;
    border-color: #e9ecef;
}

/* Empty State */
.empty-state {
    padding: 30px 15px;
}

.empty-icon {
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
        max-width: 100%;
    }
    
    .card-header .row {
        text-align: center;
    }
    
    .card-header h5 {
        font-size: 1.15rem;
        line-height: 1.35;
        margin-bottom: 6px;
        letter-spacing: 0.2px;
    }
    
    .card-header p {
        font-size: 0.95rem;
        line-height: 1.4;
        word-break: break-word;
        white-space: normal;
        margin-bottom: 0;
    }
    
    .balance-icon-wrapper {
        width: 40px;
        height: 40px;
        margin: 0 auto 15px;
    }
    
    .current-balance-card {
        margin-top: 15px;
        text-align: center;
        padding: 12px;
    }
    
    .stats-icon {
        width: 40px;
        height: 40px;
    }
    
    .controls-section .row {
        text-align: center;
    }
    
    .form-select-sm, .input-group-sm .form-control {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .table-responsive {
        font-size: 0.85rem;
    }
    
    .table-header th {
        font-size: 0.75rem;
        padding: 10px 6px;
    }
    
    .amount-value {
        font-size: 0.85rem;
    }
    
    .content-cell {
        max-width: 180px;
    }
    
    .pagination-section {
        text-align: center;
    }
    
    .pagination-info {
        margin-bottom: 10px;
    }
    
    .pagination-sm .page-link {
        padding: 6px 10px;
        font-size: 0.85rem;
        margin: 1px;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
        max-width: 100%;
    }
    
    .card-header {
        padding: 15px 10px;
    }
    
    .card-header h5 {
        font-size: 1.05rem;
        line-height: 1.3;
        margin-bottom: 6px;
    }
    
    .card-header p {
        font-size: 0.9rem;
        line-height: 1.35;
        word-break: break-word;
        white-space: normal;
        margin-bottom: 0;
    }
    
    .balance-icon-wrapper {
        width: 35px;
        height: 35px;
    }
    
    .stats-icon {
        width: 35px;
        height: 35px;
    }
    
    .table-header th {
        font-size: 0.7rem;
        padding: 8px 4px;
    }
    
    .stt-badge {
        padding: 4px 8px;
        font-size: 0.75rem;
        min-width: 30px;
    }
    
    .amount-value {
        font-size: 0.8rem;
    }
    
    .change-icon {
        width: 25px;
        height: 25px;
    }
    
    .content-cell {
        max-width: 120px;
    }
    
    .content-text {
        font-size: 0.8rem;
    }
    
    .time-date, .time-hour {
        font-size: 0.75rem;
    }
    
    .pagination-sm .page-link {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
}

/* Dark Theme Support */
[data-bs-theme="dark"] .card-glass {
    background: rgba(33, 37, 41, 0.8);
    backdrop-filter: blur(20px);
}

[data-bs-theme="dark"] .controls-section {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%);
}

[data-bs-theme="dark"] .table-row-hover:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

[data-bs-theme="dark"] .content-text {
    color: #adb5bd;
}

[data-bs-theme="dark"] .time-date {
    color: #adb5bd;
}

[data-bs-theme="dark"] .time-hour {
    color: #6c757d;
}
.payment-card {
	appearance: none;
	background: var(--bs-body-bg);
	border: 1px solid var(--glass-brd);
	border-radius: 14px;
	padding: 14px 16px;
	cursor: pointer;
	transition: all .2s ease;
}
.payment-card:hover, .payment-card:focus {
	background: rgba(102,126,234,.08);
	box-shadow: 0 8px 22px rgba(102,126,234,.18);
	transform: translateY(-2px);
}
[data-bs-theme="dark"] .payment-card { background: rgba(33,37,41,.65); }
[data-bs-theme="dark"] .payment-card:hover { background: rgba(102,126,234,.12); }

/* Payment page styles */
.payment-details .detail-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.payment-details .detail-row:last-child {
    border-bottom: none;
}

.payment-details .detail-label {
    flex: 0 0 180px;
    font-weight: 600;
    color: var(--bs-secondary);
}

.payment-details .detail-value {
    flex: 1;
}

.qr-code-container {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.03);
    border-radius: 12px;
    border: 2px dashed var(--bs-border-color);
}

[data-bs-theme="dark"] .qr-placeholder {
    background: rgba(255,255,255,.03);
    border-color: rgba(255,255,255,.1);
}

@media (max-width: 768px) {
    .payment-details .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .payment-details .detail-label {
        flex: none;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .qr-code-container {
        width: 150px;
        height: 150px;
    }
}

.payment-logo-wrap {
	flex: 0 0 54px;
	height: 54px;
	width: 54px;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.payment-logo { width: 100%; height: 100%; object-fit: cover; }
[data-bs-theme="dark"] .payment-logo-wrap { background: #fff; }

.payment-name { font-size: 1.05rem; }
.payment-desc { font-size: .85rem; color: var(--bs-secondary-color); }

@media (max-width: 576px) {
	.payment-logo-wrap { width: 48px; height: 48px; }
	.payment-name { font-size: 1rem; }
	.payment-desc { font-size: .8rem; }
}

/* ========== GIFT LINK STORE STYLES (Moved to header.php) ========== */

