/* ========================================
   SMARTBD - Premium Design System
   Modern, Beautiful, Dynamic Design
   ======================================== */

/* ==== Color System ==== */
:root {
    /* Primary Colors - Vibrant Blue Gradient */
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-gradient-alt: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);

    /* Accent Colors */
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --accent-purple: #a855f7;
    --accent-orange: #f97316;
    --accent-green: #10b981;

    /* Neutral Colors */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Background System */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Typography */
    --font-primary: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-bengali: 'Noto Sans Bengali', sans-serif;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==== Global Resets ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==== Premium Card System ==== */
.premium-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--glass-shadow);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.premium-card-elevated {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.premium-card-gradient {
    background: var(--primary-gradient);
    color: white;
    border: none;
}

/* ==== Gradient Backgrounds ==== */
.gradient-bg-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-bg-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.gradient-bg-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.gradient-bg-mesh {
    background:
        radial-gradient(at 40% 20%, hsla(240, 100%, 80%, 0.3) 0px, transparent 50%),
        radial-gradient(at 80% 0%, hsla(189, 100%, 80%, 0.3) 0px, transparent 50%),
        radial-gradient(at 0% 50%, hsla(355, 100%, 80%, 0.3) 0px, transparent 50%),
        radial-gradient(at 80% 50%, hsla(340, 100%, 80%, 0.3) 0px, transparent 50%),
        radial-gradient(at 0% 100%, hsla(22, 100%, 80%, 0.3) 0px, transparent 50%),
        radial-gradient(at 80% 100%, hsla(242, 100%, 80%, 0.3) 0px, transparent 50%),
        radial-gradient(at 0% 0%, hsla(343, 100%, 80%, 0.3) 0px, transparent 50%);
}

/* ==== Button System ==== */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-premium:active::before {
    width: 300px;
    height: 300px;
}

.btn-premium-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-premium-primary:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

.btn-premium-secondary {
    background: var(--gray-100);
    color: var(--gray-900);
    border: 1px solid var(--gray-300);
}

.btn-premium-secondary:hover {
    background: var(--gray-200);
    border-color: var(--gray-400);
}

.btn-premium-outline {
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-600);
}

.btn-premium-outline:hover {
    background: var(--primary-600);
    color: white;
}

.btn-premium-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--gray-900);
    border: 1px solid var(--glass-border);
}

/* ==== Input System ==== */
.input-premium {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-size: 0.875rem;
    font-family: var(--font-primary);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: var(--bg-primary);
    color: var(--gray-900);
    transition: all var(--transition-base);
    outline: none;
}

.input-premium:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.input-premium::placeholder {
    color: var(--gray-400);
}

.input-premium-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* ==== Badge System ==== */
.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    line-height: 1;
}

.badge-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.badge-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.badge-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.badge-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.badge-info {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
}

/* ==== Icon System ==== */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xl);
    background: var(--gray-100);
    color: var(--gray-700);
    transition: all var(--transition-base);
}

.icon-wrapper:hover {
    transform: scale(1.1) rotate(5deg);
}

.icon-wrapper-gradient {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

/* ==== Animation Classes ==== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out;
}

.animate-slideInUp {
    animation: slideInUp 0.6s ease-out;
}

.animate-scaleIn {
    animation: scaleIn 0.4s ease-out;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* ==== Loading Skeleton ==== */
.skeleton {
    background: linear-gradient(90deg,
            var(--gray-200) 0%,
            var(--gray-100) 50%,
            var(--gray-200) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    border-radius: var(--radius-md);
}

/* ==== Toast Notification ==== */
.toast-premium {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 400px;
    padding: var(--space-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    animation: slideInUp 0.4s ease-out;
    z-index: 9999;
}

.toast-success {
    border-left: 4px solid var(--accent-green);
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-info {
    border-left: 4px solid var(--accent-cyan);
}

/* ==== Utility Classes ==== */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-lift {
    transition: transform var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.hover-scale {
    transition: transform var(--transition-base);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* ==== Responsive Grid System ==== */
.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 768px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ==== Flex Utilities ==== */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

.gap-lg {
    gap: var(--space-lg);
}

/* ==== Scrollbar Styling ==== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
}

/* ==== Premium Selection ==== */
::selection {
    background: var(--primary-500);
    color: white;
}

::-moz-selection {
    background: var(--primary-500);
    color: white;
}

/* ==========================================================================
   Antigravity 3D Metallic Steel-Blue & Gold Overhaul Theme
   ========================================================================== */

:root {
    --app-bg: #0d8a9e url('/bg image.png') no-repeat center center fixed;
    --metallic-card: linear-gradient(135deg, #10273a 0%, #1d3f5c 45%, #132a3f 75%, #081622 100%);
    --metallic-border: rgba(255, 255, 255, 0.28);

    --gold-light: #ffe894;
    --gold-main: #d4af37;
    --gold-dark: #875600;

    --text-gold-gradient: linear-gradient(180deg, #ffeaa3 0%, #d4af37 100%);
    --text-silver-gradient: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);

    --shadow-metallic: 0 12px 30px rgba(8, 20, 32, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.25), 0 0 15px rgba(162, 194, 214, 0.1);
    --shadow-gold-glow: 0 0 20px rgba(212, 175, 55, 0.35);
    --shadow-silver-glow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Base Body Override (Ensure it does not get overridden by individual views) */
.premium-theme-active body,
body.premium-theme-active {
    background: var(--app-bg) !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    color: #ffffff !important;
}

/* 3D Metallic Blue Cards */
.premium-card-3d {
    background: var(--metallic-card) !important;
    border: 2px solid var(--gold-main) !important;
    border-top: 2px solid var(--gold-light) !important;
    border-bottom: 2.5px solid var(--gold-dark) !important;
    border-radius: 20px !important;
    box-shadow: var(--shadow-metallic) !important;
    padding: 16px !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.premium-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: skewX(-25deg);
    animation: shine-sweep-slow 8s infinite;
}

.premium-card-3d:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-metallic), var(--shadow-gold-glow) !important;
}

@keyframes shine-sweep-slow {
    0% {
        left: -100%;
    }

    15% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* 3D Beveled Headers */
.premium-header-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--metallic-card) !important;
    border-bottom: 2.5px solid var(--gold-main) !important;
    box-shadow: 0 8px 25px rgba(8, 20, 32, 0.35), inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.premium-header-title {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.5px;
    background: linear-gradient(to bottom, #ffe894 0%, #d4af37 60%, #a27b16 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

/* Polished Beveled Metallic Buttons */
.premium-btn-gold {
    background: linear-gradient(to bottom, #ffe894 0%, #e5c158 35%, #d4af37 65%, #a27b16 100%) !important;
    border: 1.5px solid #fff3d1 !important;
    border-bottom: 2.5px solid #6b4c00 !important;
    color: #4b3600 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(135, 86, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
    font-weight: 900 !important;
    border-radius: 14px !important;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.premium-btn-gold:active {
    transform: scale(0.96) translateY(1px);
    box-shadow: 0 2px 5px rgba(135, 86, 0, 0.2) !important;
}

.premium-btn-silver {
    background: linear-gradient(to bottom, #ffffff 0%, #e2e8f0 35%, #cbd5e1 65%, #94a3b8 100%) !important;
    border: 1.5px solid #ffffff !important;
    border-bottom: 2.5px solid #475569 !important;
    color: #0f172a !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    box-shadow: 0 5px 15px rgba(71, 85, 105, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;
    font-weight: 900 !important;
    border-radius: 14px !important;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.premium-btn-silver:active {
    transform: scale(0.96) translateY(1px);
    box-shadow: 0 2px 5px rgba(71, 85, 105, 0.15) !important;
}

/* Beveled Glass / Silver Option Pill */
.premium-pill-nav {
    display: flex;
    background: linear-gradient(135deg, #10273a 0%, #0d2132 100%);
    border: 1.5px solid var(--gold-main);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
    padding: 4px;
    border-radius: 14px;
    gap: 4px;
}

.premium-pill-item {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-size: 11px;
    font-weight: 900;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-pill-item.active {
    background: linear-gradient(to bottom, #ffffff 0%, #cbd5e1 100%);
    color: #0f2c59;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15), inset 0 1px 0 #ffffff;
}

/* Inset Steel-Blue Inputs */
.premium-input-wrapper {
    background: rgba(8, 22, 34, 0.6) !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6) !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    display: flex;
    align-items: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.premium-input-wrapper:focus-within {
    border-color: var(--gold-main) !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6), var(--shadow-gold-glow) !important;
}

.premium-input-element {
    flex: 1;
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
}

.premium-input-element::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Text Gradients */
.premium-text-gold {
    background: var(--text-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.premium-text-silver {
    background: var(--text-silver-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

/* Polished Back Button (Circular Beveled Silver badge) */
.premium-back-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #ffffff 0%, #cbd5e1 100%);
    border: 1.5px solid #ffffff;
    border-bottom: 2px solid #94a3b8;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), inset 0 1px 0 #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f2c59;
    text-decoration: none;
    font-size: 13px;
    transition: transform 0.2s;
}

.premium-back-btn:active {
    transform: scale(0.9);
}

/* PREMIUM FLAT BOTTOM MENU WITH GLASS/CHROME OVERRIDES */
.custom-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 60px;
    background: transparent;
    display: flex;
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -5px 15px rgba(13, 33, 52, 0.15);
}

.nav-bg-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.custom-nav-link {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    height: 100%;
}

.custom-nav-link i {
    font-size: 20px;
    transition: transform 0.2s;
}

.custom-nav-link span {
    font-size: 11px;
    font-weight: 800;
}

/* Active tab (Blue metallic area) */
.custom-nav-link.active {
    color: #ffffff;
}

.custom-nav-link.active i {
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.custom-nav-link.active span {
    color: #ffffff;
}

/* Inactive tabs (Silver metallic area) */
.custom-nav-link.inactive {
    color: #0f2c59;
}

.custom-nav-link.inactive i {
    color: #0f2c59;
}

.custom-nav-link.inactive span {
    color: #0f2c59;
}

/* Hover effect for buttons */
.custom-nav-link:active i {
    transform: scale(0.9);
}

/* PREMIUM METALLIC NOTICE MODALS */
.m-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 22, 34, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.m-overlay.show {
    opacity: 1;
    visibility: visible;
}

.m-box {
    width: 100%;
    max-width: 320px;
    background: var(--metallic-card) !important;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-metallic) !important;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(255, 255, 255, 0.18) !important;
}

.m-overlay.show .m-box {
    transform: translateY(0) scale(1);
}

.m-banner {
    height: 90px;
    background: linear-gradient(135deg, #112d46, #091a2a);
    border-bottom: 2px solid var(--gold-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}

.m-banner i {
    font-size: 28px;
    margin-bottom: 6px;
    color: var(--gold-light);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.m-banner h2 {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--gold-light);
    letter-spacing: 0.5px;
}

.m-close-x {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    z-index: 100;
    transition: background 0.2s;
}

.m-close-x:hover {
    background: rgba(255, 255, 255, 0.2);
}

.m-body {
    padding: 18px 16px;
    background: transparent !important;
}

.m-content {
    font-size: 12px;
    color: #e2e8f0 !important;
    line-height: 1.6;
}

.m-list-item {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    align-items: flex-start;
}

.m-list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.m-list-item span {
    color: #ffffff !important;
    font-weight: 700;
}

.m-dot {
    width: 6px;
    height: 6px;
    background: var(--gold-main);
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
    box-shadow: 0 0 5px var(--gold-main);
}

.m-foot {
    padding: 0 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.m-btn {
    padding: 11px;
    border-radius: 12px;
    text-align: center;
    font-weight: 900;
    font-size: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s;
}

.m-btn:active {
    transform: scale(0.97);
}

.btn-cyber {
    background: linear-gradient(to bottom, #ffeaa3 0%, #d4af37 100%) !important;
    border: 1px solid var(--gold-dark) !important;
    color: #3b2800 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
}

.btn-outline {
    background: linear-gradient(to bottom, #ffffff 0%, #f1f5f9 20%, #cbd5e1 55%, #94a3b8 80%, #64748b 100%) !important;
    border: 1px solid #64748b !important;
    color: #0d2134 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
}

/* PREMIUM SWEETALERT OVERRIDES */
.premium-swal-popup {
    background: var(--metallic-card) !important;
    border: 2px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 20px !important;
    box-shadow: var(--shadow-metallic) !important;
    width: 280px !important;
    padding: 16px 12px !important;
}

.premium-swal-popup .swal2-icon {
    transform: scale(0.7) !important;
    margin-top: 8px !important;
    margin-bottom: 4px !important;
}

.premium-swal-title {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 4px !important;
    padding-top: 0 !important;
}

.premium-swal-text {
    color: #cbd5e1 !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    padding: 0 8px !important;
}

.premium-swal-button {
    background: linear-gradient(to bottom, #ffeaa3 0%, #d4af37 100%) !important;
    border: 1px solid var(--gold-dark) !important;
    color: #3b2800 !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    border-radius: 20px !important;
    padding: 7px 18px !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.15s !important;
}

.premium-swal-button:active {
    transform: scale(0.96) !important;
}

.premium-swal-cancel {
    background: linear-gradient(to bottom, #ffffff 0%, #f1f5f9 20%, #cbd5e1 55%, #94a3b8 80%, #64748b 100%) !important;
    border: 1px solid #64748b !important;
    color: #0d2134 !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    border-radius: 20px !important;
    padding: 7px 18px !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.15s !important;
    margin-left: 6px !important;
}

.premium-swal-cancel:active {
    transform: scale(0.96) !important;
}

/* SweetAlert inputs */
.premium-swal-popup input[type="number"] {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.premium-swal-popup input[type="number"]:focus {
    border-color: var(--gold-main) !important;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.2) !important;
}

.footer-inner .nav-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    margin: 0 auto 4px;
}

.footer-inner a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.footer-inner .nav-label {
    font-size: 11px;
    line-height: 1;
}