/* ==============================================
   West Side Shooter — Minimal Black Glass Theme
   Single unified CSS file (replaces gangster-theme,
   darkmode, winghorizon & shop inline styles)
   ============================================== */

/* ── Fonts ────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Teko:wght@400;500;600;700&family=Mitr&display=swap');

/* ── Design Tokens ────────────────────────── */
:root {
    --bg-base: #0a0a0a;
    --bg-glass: rgba(18, 18, 18, 0.65);
    --bg-glass-heavy: rgba(12, 12, 12, 0.80);
    --bg-card: rgba(20, 20, 20, 0.70);
    --bg-elevated: rgba(30, 30, 30, 0.60);
    --bg-input: rgba(25, 25, 25, 0.80);

    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-border-hover: rgba(255, 255, 255, 0.12);
    --glass-blur: 16px;

    --red-primary: #dc2626;
    --red-dark: #b91c1c;
    --red-light: #ef4444;
    --red-glow: rgba(220, 38, 38, 0.25);
    --red-glow-strong: rgba(220, 38, 38, 0.45);

    --text-primary: #f0f0f0;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #6366f1;
    --discord: #5865F2;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--red-glow);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* ── Reset & Base ─────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    background-image: url('../images/gaming.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text-primary);
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.80) 0%, rgba(10,10,10,0.90) 100%);
    z-index: -1;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-primary);
}

.mitr {
    font-family: 'Mitr', sans-serif !important;
}

.swal2-popup {
    font-family: 'Mitr', sans-serif;
    background: var(--bg-glass-heavy) !important;
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    color: var(--text-primary) !important;
}

.swal2-styled.swal2-cancel {
    background-color: #52525b !important;
    border-radius: var(--radius-sm);
}

.swal2-styled.swal2-confirm {
    background-color: var(--red-primary) !important;
    border-radius: var(--radius-sm);
}

.swal2-title, .swal2-html-container {
    color: var(--text-primary) !important;
}

a {
    color: var(--red-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--red-primary);
}

::selection {
    background: var(--red-primary);
    color: white;
}

/* ── Scrollbar ────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(220, 38, 38, 0.4);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-primary);
}

/* ── Dark Mode Bootstrap Overrides ────────── */
[data-bs-theme="dark"] {
    --bs-body-color: var(--text-primary);
    --bs-body-bg: var(--bg-base);
}

[data-bs-theme="dark"] .dropdown-menu {
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

[data-bs-theme="dark"] .dropdown-item {
    color: var(--text-primary);
    transition: background var(--transition-fast);
}

[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:focus {
    background: rgba(220, 38, 38, 0.1);
    color: var(--red-light);
}

/* ── Navbar ───────────────────────────────── */
.navbar {
    background: var(--bg-glass-heavy) !important;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--red-primary);
    box-shadow: 0 1px 24px rgba(220, 38, 38, 0.15);
    padding: 8px 0;
    transition: background var(--transition-base);
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand img {
    filter: drop-shadow(0 0 6px var(--red-glow));
}

.navbar-nav .nav-item .nav-link {
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    position: relative;
    transition: color var(--transition-base);
}

.navbar-nav .nav-item .nav-link:hover {
    color: var(--red-light);
}

.navbar-nav .nav-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--red-primary);
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: 1px;
}

.navbar-nav .nav-item .nav-link:hover::after {
    width: 60%;
}

.navbar-toggler {
    border: 1px solid var(--glass-border);
    padding: 4px 8px;
}

/* ── Cards (Glass) ────────────────────────── */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--glass-border-hover);
}

.card-header {
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid var(--red-primary);
    padding: 14px 20px;
}

.card-header h5 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--red-light);
    font-weight: 600;
}

.card-body {
    padding: 20px;
}

[data-bs-theme="dark"] .card {
    background: var(--bg-card);
    border-color: var(--glass-border);
}

[data-bs-theme="dark"] .card-title {
    color: var(--text-primary);
}

/* ── Buttons ──────────────────────────────── */
.btn-primary {
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    border: none;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px var(--red-glow);
    transition: all var(--transition-base);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--red-light), var(--red-primary));
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--red-glow-strong);
    color: white;
}

.btn-outline-primary {
    color: var(--red-primary);
    border-color: var(--red-primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    color: white;
}

.btn-outline-danger {
    color: var(--red-light);
    border-color: rgba(239, 68, 68, 0.4);
    background: transparent;
    transition: all var(--transition-base);
}

.btn-outline-danger:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    color: white;
}

/* Discord Button */
.btn-discord {
    background: linear-gradient(135deg, var(--discord), #4752C4);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
    transition: all var(--transition-base);
}

.btn-discord:hover {
    background: linear-gradient(135deg, #4752C4, #3b44a8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
    color: white;
}

.btn-discord img {
    width: 24px;
    height: 24px;
}

/* ── Forms ────────────────────────────────── */
.form-control {
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    background: var(--bg-input);
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px var(--red-glow);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

[data-bs-theme="dark"] .form-control {
    background: var(--bg-input);
    color: var(--text-primary) !important;
    border-color: var(--glass-border);
}

[data-bs-theme="dark"] .form-control:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px var(--red-glow);
}

[data-bs-theme="dark"] .form-check-label,
label.form-label {
    color: var(--text-primary);
}

.input-group-text {
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    font-size: 0.875rem;
}

.form-select {
    background-color: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.form-select:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px var(--red-glow);
}

.form-select option {
    background-color: #1a1a1a;
    color: var(--text-primary);
}

/* ── Hero Section ─────────────────────────── */
.hero-section {
    position: relative;
    padding: 60px 0 20px;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--red-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ── Login Box ────────────────────────────── */
.login-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box .card {
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(220, 38, 38, 0.08);
}

.login-box .card:hover {
    transform: none;
}

.logo-img {
    margin-bottom: 16px;
}

.logo-img img {
    filter: drop-shadow(0 0 16px var(--red-glow));
}

/* ── Profile Section ──────────────────────── */
.profile-section {
    padding: 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-md);
    border-left: 3px solid var(--red-primary);
    margin-bottom: 20px;
}

.profile-card:hover {
    transform: none;
}

.profile-image {
    position: relative;
    border-radius: var(--radius-full);
    border: 2px solid var(--red-primary);
    width: 130px;
    height: 130px;
    margin: 0 auto 16px;
    box-shadow: 0 0 24px var(--red-glow);
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Character Cards ──────────────────────── */
.qb-character-card {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 16px;
}

.qb-character-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(220, 38, 38, 0.3);
}

.qb-character-card .card-body {
    padding: 20px;
}

.qb-character-avatar {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    background-size: cover;
    background-position: center;
    align-content: center;
}

.char-av {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
}

.qb-character-card:hover .qb-character-avatar {
    border-color: rgba(220, 38, 38, 0.3);
}

.qb-character-name {
    font-family: 'Teko', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--red-light);
    letter-spacing: 1px;
    text-align: center;
    padding: 6px 10px;
    background: rgba(220, 38, 38, 0.08);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--red-primary);
}

.qb-character-cid {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    padding: 4px 0;
}

.qb-character-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.qb-character-stat {
    flex: 1 0 calc(50% - 3px);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    backdrop-filter: blur(8px);
}

.cash-stat {
    background: rgba(34, 197, 94, 0.1);
    border-left: 3px solid var(--success);
}

.bank-stat {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid var(--danger);
}

.job-stat {
    background: rgba(245, 158, 11, 0.1);
    border-left: 3px solid var(--warning);
}

.qb-inventory-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: white;
    border: none;
    padding: 10px 0;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Teko', sans-serif;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px var(--red-glow);
    transition: all var(--transition-base);
}

.qb-inventory-btn:hover {
    background: linear-gradient(135deg, var(--red-light), var(--red-primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--red-glow-strong);
    color: white;
}

.character-stat {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.character-stat:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.character-stat i {
    margin-right: 10px;
    color: var(--red-light);
    width: 20px;
    text-align: center;
}

/* ── Money Display ────────────────────────── */
.money-display {
    font-family: 'Teko', sans-serif;
    color: var(--red-light);
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.money-display i {
    margin-right: 8px;
}

/* ── Badges ───────────────────────────────── */
.badge {
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}

.badge-primary {
    background: var(--red-primary);
    color: white;
}

.badge-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.badge-accent {
    background: var(--red-primary);
    color: white;
}

.text-bg-success {
    background-color: var(--success) !important;
}

.text-bg-warning {
    background-color: var(--warning) !important;
    color: black !important;
}

.text-bg-danger {
    background-color: var(--danger) !important;
}

/* ── Role Badges ──────────────────────────── */
.role-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 4px;
    margin-bottom: 6px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--glass-border);
}

.role-icon {
    max-width: 18px;
    max-height: 18px;
    vertical-align: middle;
    margin-right: 4px;
}

/* ── Shop Page ────────────────────────────── */
.shop-header {
    border-bottom: 1px solid var(--red-primary);
    margin-bottom: 24px;
    padding-bottom: 14px;
}

.shop-title {
    font-family: 'Teko', sans-serif;
    font-size: 2.4rem;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--text-primary), var(--red-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    margin: 0;
}

.shop-points {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--glass-blur));
    border-left: 3px solid var(--red-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.shop-points i {
    color: var(--red-light);
    margin-right: 8px;
}

.shop-item-card {
    height: 100%;
    transition: all var(--transition-base);
}

.shop-item-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow) !important;
    border-color: rgba(220, 38, 38, 0.3);
}

.shop-item-image {
    height: 170px;
    object-fit: contain;
    padding: 14px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    border: 1px solid var(--glass-border);
    transition: border-color var(--transition-base);
}

.shop-item-card:hover .shop-item-image {
    border-color: rgba(220, 38, 38, 0.2);
}

.item-label {
    background: rgba(0, 0, 0, 0.3);
    color: var(--red-light);
    border-color: var(--red-primary) !important;
    font-family: 'Teko', sans-serif;
    font-size: 1.25rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-sm) !important;
}

.item-detail {
    background: rgba(0, 0, 0, 0.15);
    margin-bottom: 6px;
    border-radius: var(--radius-sm) !important;
}

.item-detail span:first-child i {
    color: var(--red-light);
    width: 18px;
    text-align: center;
    margin-right: 4px;
}

.btn-buy {
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: white;
    text-transform: uppercase;
    font-family: 'Teko', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 1px;
    padding: 10px 0;
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px var(--red-glow);
    transition: all var(--transition-base);
}

.btn-buy:hover {
    background: linear-gradient(135deg, var(--red-light), var(--red-primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--red-glow-strong);
    color: white;
}

.item-count {
    font-family: 'Inter', sans-serif;
    background: var(--bg-input);
    border: 1px solid var(--glass-border);
    color: var(--text-primary) !important;
    text-align: center;
}

/* Character select in shop */
.character-select {
    background: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.character-select:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px var(--red-glow);
}

.character-select option {
    background: #1a1a1a;
    color: var(--text-primary);
}

.character-label {
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    color: var(--red-light);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.character-label i {
    margin-right: 6px;
}

/* ── Shop Popovers & Info Button ──────────── */
.popover {
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

.popover-body {
    color: var(--text-primary);
}

.btn-info {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.btn-info:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    color: var(--red-light);
}

/* ── Shop Description Modal ───────────────── */
.modal-content {
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.modal-header {
    border-bottom: 1px solid var(--glass-border);
}

.modal-footer {
    border-top: 1px solid var(--glass-border);
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
    margin: 1.75rem auto;
}

#descriptionModalBody {
    max-height: 60vh;
    overflow-y: auto;
    padding: 20px;
}

.item-description-content {
    width: 100%;
    overflow-wrap: break-word;
}

#descriptionModalBody::-webkit-scrollbar {
    width: 6px;
}

#descriptionModalBody::-webkit-scrollbar-thumb {
    background: rgba(220, 38, 38, 0.3);
    border-radius: var(--radius-full);
}

#descriptionModalBody::-webkit-scrollbar-track {
    background: transparent;
}

/* ── Limited / Hot Item Overlays ──────────── */
.limited-item {
    position: relative;
    overflow: hidden;
}

.limited-item::before {
    content: "LIMITED";
    position: absolute;
    top: 18px;
    right: -38px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 40px;
    transform: rotate(45deg);
    z-index: 2;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px var(--red-glow);
}

.hot-item {
    position: relative;
    overflow: hidden;
}

.hot-item::before {
    content: "HOT";
    position: absolute;
    top: 18px;
    right: -38px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 40px;
    transform: rotate(45deg);
    z-index: 2;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.hidden-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(220, 38, 38, 0.8);
    border-radius: 0 0 var(--radius-sm) 0;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    z-index: 2;
}

/* ── History Tables ───────────────────────── */
.history-section .card:hover {
    transform: none;
}

.nav-tabs-glass {
    border-bottom: 1px solid var(--glass-border);
    gap: 4px;
}

.nav-tabs-glass .nav-link {
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    padding: 10px 20px;
    transition: all var(--transition-fast);
    background: transparent;
}

.nav-tabs-glass .nav-link:hover {
    color: var(--red-light);
    border-color: transparent;
    background: rgba(220, 38, 38, 0.05);
}

.nav-tabs-glass .nav-link.active {
    color: var(--red-light);
    background: rgba(220, 38, 38, 0.1);
    border-color: var(--glass-border) var(--glass-border) transparent;
    border-bottom: 2px solid var(--red-primary);
}

.table-glass {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
    --bs-table-border-color: var(--glass-border);
    font-size: 0.875rem;
}

.table-glass thead th {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--red-primary);
    padding: 12px 16px;
}

.table-glass tbody tr {
    transition: background var(--transition-fast);
}

.table-glass tbody tr:hover {
    background: rgba(220, 38, 38, 0.04);
}

.table-glass tbody td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--glass-border);
}

.badge-status {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.badge-status.completed {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.badge-status.pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.badge-status.failed {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.empty-history {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}

.empty-history i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.4;
}

/* ── Utility ──────────────────────────────── */
.banklogo {
    max-width: 20px;
}

.text-green {
    color: var(--success);
}

.text-accent {
    color: var(--red-light) !important;
}

.badge-big {
    font-size: 1.5rem;
    border-radius: var(--radius-md);
    padding: 0 10px;
}

.font-big {
    font-size: 1.5rem;
}

.image-item-size {
    max-width: 200px;
    max-height: 200px;
}

/* ── Footer ───────────────────────────────── */
.footer {
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(var(--glass-blur));
    border-top: 1px solid var(--red-primary);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--red-light);
}

/* ── Animations ───────────────────────────── */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.pulse-animation {
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 8px var(--red-glow); }
    50% { box-shadow: 0 0 20px var(--red-glow-strong); }
}

/* ── Admin sidebar styles (kept for compatibility) ── */
.left-sidebar {
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(var(--glass-blur));
    color: var(--text-primary);
    border-right: 1px solid var(--glass-border);
}

.brand-logo a {
    color: var(--text-primary);
}

.app-header {
    background: var(--bg-glass-heavy);
    backdrop-filter: blur(var(--glass-blur));
}

.sidebar-nav ul .sidebar-item .sidebar-link:hover {
    background: rgba(220, 38, 38, 0.1);
    color: var(--text-primary);
}

.sidebar-nav ul .sidebar-item a {
    color: var(--text-primary);
}

.sidebar-item {
    color: var(--text-primary) !important;
}

.nav-small-cap {
    color: var(--text-secondary);
}

.admin-body {
    color: var(--text-primary) !important;
}

.role-bg,
.bgd {
    background: rgba(30, 30, 30, 0.5);
}

.wt {
    color: var(--text-primary);
}

.wt::placeholder {
    color: var(--text-muted);
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 768px) {
    .navbar {
        padding: 8px 12px;
    }

    .card-body {
        padding: 16px;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .shop-title {
        font-size: 1.8rem;
    }

    #descriptionModalBody {
        max-height: 50vh;
    }

    .table-glass {
        font-size: 0.8rem;
    }

    .table-glass thead th,
    .table-glass tbody td {
        padding: 8px 10px;
    }
}

@media (max-width: 576px) {
    .shop-header {
        flex-direction: column;
        gap: 10px;
    }

    .shop-points {
        width: 100%;
        text-align: center;
    }

    .nav-tabs-glass .nav-link {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}
