/* ============================================================
   AuksiPro - Premium Clean Design System
   Modern, Professional, High-Class & User-Friendly
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   CSS VARIABLES - Premium Color Palette
   ============================================================ */
:root {
    /* Primary - Emerald */
    --primary: #10B981;
    --primary-hover: #059669;
    --primary-light: #D1FAE5;
    --primary-dark: #047857;

    /* Secondary - Indigo */
    --secondary: #6366F1;
    --secondary-hover: #4F46E5;
    --secondary-light: #E0E7FF;

    /* Accent Colors */
    --accent-gold: #F59E0B;
    --accent-blue: #3B82F6;
    --accent-red: #EF4444;
    --accent-purple: #8B5CF6;

    /* Neutral - Slate */
    --text-dark: #0F172A;
    --text-primary: #1E293B;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-light: #CBD5E1;

    /* Background */
    --bg-page: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-hover: #F1F5F9;
    --bg-dark: #0F172A;

    /* Borders */
    --border-light: #E2E8F0;
    --border-default: #CBD5E1;
    --border-dark: #94A3B8;

    /* Status Colors */
    --success: #10B981;
    --success-light: #D1FAE5;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --danger: #EF4444;
    --danger-light: #FEE2E2;
    --info: #3B82F6;
    --info-light: #DBEAFE;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing Scale */
    --space-1: 0.25rem;
    /* 4px */
    --space-2: 0.5rem;
    /* 8px */
    --space-3: 0.75rem;
    /* 12px */
    --space-4: 1rem;
    /* 16px */
    --space-5: 1.25rem;
    /* 20px */
    --space-6: 1.5rem;
    /* 24px */
    --space-8: 2rem;
    /* 32px */
    --space-10: 2.5rem;
    /* 40px */
    --space-12: 3rem;
    /* 48px */
    --space-16: 4rem;
    /* 64px */

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE STYLES
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-page);
}

/* ============================================================
   NAVBAR - Modern Sticky Navbar
   ============================================================ */
.navbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-4) 0;
    transition: all var(--transition-base);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar.scrolled {
    padding: var(--space-2) 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-secondary) !important;
    padding: var(--space-2) var(--space-3);
    transition: all var(--transition-fast);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    border-radius: var(--radius-md);
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    background: var(--bg-hover);
}

.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.7;
}

small,
.small {
    font-size: 0.875rem;
    color: var(--text-muted);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

/* ============================================================
   NAVBAR - Premium Sticky Navigation
   ============================================================ */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-3) 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all var(--transition-base);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    letter-spacing: -0.02em;
}

.navbar-brand:hover {
    color: var(--primary-hover) !important;
}

.navbar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: var(--space-2) var(--space-4) !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

.navbar .nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.navbar .nav-link.active {
    color: var(--primary) !important;
}

.navbar .dropdown-menu {
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    padding: var(--space-2);
    margin-top: var(--space-2);
    min-width: 220px;
    animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar .dropdown-item {
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.navbar .dropdown-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.navbar .dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--text-muted);
}

.navbar .dropdown-item:hover i {
    color: var(--primary);
}

/* Search Bar */
.navbar .form-control {
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    padding: var(--space-2) var(--space-4);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
    background: var(--bg-page);
}

.navbar .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
    background: var(--bg-card);
}

.navbar .btn-light {
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    border: 1px solid var(--border-light);
    border-left: none;
    background: var(--bg-page);
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 0.65rem;
    padding: 2px 5px;
    border-radius: var(--radius-full);
    background: var(--danger) !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ============================================================
   BUTTONS - Premium Button Styles
   ============================================================ */
.btn {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn:active {
    transform: scale(0.98);
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

/* Secondary Button */
.btn-secondary {
    background: var(--text-secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: white;
}

/* Outline Primary */
.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Outline Secondary */
.btn-outline-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-default);
}

.btn-outline-secondary:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Warning Button */
.btn-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #D97706 100%);
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: white;
}

/* Danger Button */
.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #DC2626 100%);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: white;
}

/* Info Button */
.btn-info {
    background: linear-gradient(135deg, var(--info) 0%, #2563EB 100%);
    color: white;
}

.btn-info:hover {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: white;
}

/* Light Button */
.btn-light {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-light:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--border-default);
}

/* Outline variants */
.btn-outline-danger {
    background: transparent;
    color: var(--danger);
    border: 2px solid var(--danger);
}

.btn-outline-danger:hover {
    background: var(--danger);
    color: white;
}

.btn-outline-info {
    background: transparent;
    color: var(--info);
    border: 2px solid var(--info);
}

.btn-outline-info:hover {
    background: var(--info);
    color: white;
}

.btn-outline-success {
    background: transparent;
    color: var(--success);
    border: 2px solid var(--success);
}

.btn-outline-success:hover {
    background: var(--success);
    color: white;
}

.btn-outline-warning {
    background: transparent;
    color: var(--warning);
    border: 2px solid var(--warning);
}

.btn-outline-warning:hover {
    background: var(--warning);
    color: white;
}

/* Button Sizes */
.btn-lg {
    padding: var(--space-4) var(--space-6);
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: var(--space-2) var(--space-3);
    font-size: 0.8125rem;
    border-radius: var(--radius-sm);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================================
   FORMS - Clean Form Styles
   ============================================================ */
.form-control,
.form-select {
    font-family: var(--font-family);
    font-size: 0.9375rem;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.form-text {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: var(--space-1);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.input-group-text {
    background: var(--bg-hover);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* ============================================================
   CARDS - Premium Card Styles
   ============================================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-4) var(--space-5);
    font-weight: 600;
}

.card-body {
    padding: var(--space-5);
}

.card-footer {
    background: var(--bg-hover);
    border-top: 1px solid var(--border-light);
    padding: var(--space-4) var(--space-5);
}

/* ============================================================
   AUCTION CARD - Premium Auction Item Card
   ============================================================ */
.auction-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.auction-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.auction-card-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 4:3 aspect ratio */
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-hover) 0%, var(--bg-page) 100%);
}

.auction-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.auction-card:hover .auction-card-image img {
    transform: scale(1.05);
}

.auction-status-badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    z-index: 10;
}

.auction-status-badge .badge {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #D97706 100%) !important;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.auction-timer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
    padding: var(--space-6) var(--space-3) var(--space-3);
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.auction-card-content {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.auction-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-2);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.auction-card-title a {
    color: inherit;
    text-decoration: none;
}

.auction-card-title a:hover {
    color: var(--primary);
}

.auction-card-category {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.auction-card-price {
    margin-bottom: var(--space-3);
    padding: var(--space-3);
    background: var(--bg-hover);
    border-radius: var(--radius-md);
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-1);
}

.price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.auction-card-stats {
    display: flex;
    gap: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-light);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.stat-item i {
    font-size: 0.75rem;
}

.auction-card-seller {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: auto;
    padding-top: var(--space-3);
}

.auction-card-seller i {
    color: var(--primary);
}

/* ============================================================
   BADGES - Status Badges
   ============================================================ */
.badge {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.75rem;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.bg-primary {
    background: var(--primary) !important;
}

.badge.bg-success {
    background: var(--success) !important;
}

.badge.bg-warning {
    background: var(--warning) !important;
    color: white !important;
}

.badge.bg-danger {
    background: var(--danger) !important;
}

.badge.bg-info {
    background: var(--info) !important;
}

.badge.bg-secondary {
    background: var(--text-muted) !important;
}

/* Soft Badges */
.badge-soft-primary {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.badge-soft-success {
    background: var(--success-light);
    color: var(--primary-dark);
}

.badge-soft-warning {
    background: var(--warning-light);
    color: #B45309;
}

.badge-soft-danger {
    background: var(--danger-light);
    color: #B91C1C;
}

.badge-soft-info {
    background: var(--info-light);
    color: #1D4ED8;
}

/* ============================================================
   TABLES - Clean Table Styles
   ============================================================ */
.table {
    background: var(--bg-card);
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.table th {
    background: var(--bg-hover);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border-light);
}

.table td {
    padding: var(--space-4);
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.table tbody tr {
    transition: background var(--transition-fast);
}

.table tbody tr:hover {
    background: var(--bg-hover);
}

.table-hover tbody tr:hover {
    background: var(--bg-hover);
}

/* ============================================================
   ALERTS - Modern Alert Styles
   ============================================================ */
.alert {
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: 0.9375rem;
}

.alert i {
    margin-top: 2px;
}

.alert-primary {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.alert-success {
    background: var(--success-light);
    color: #047857;
}

.alert-warning {
    background: var(--warning-light);
    color: #B45309;
}

.alert-danger {
    background: var(--danger-light);
    color: #B91C1C;
}

.alert-info {
    background: var(--info-light);
    color: #1D4ED8;
}

.alert-secondary {
    background: var(--bg-hover);
    color: var(--text-secondary);
}

/* ============================================================
   PAGINATION - Modern Pagination
   ============================================================ */
.pagination {
    display: flex;
    gap: var(--space-1);
}

.page-item .page-link {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--space-2) var(--space-3);
    transition: all var(--transition-fast);
}

.page-item .page-link:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-item.disabled .page-link {
    background: var(--bg-hover);
    color: var(--text-muted);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: var(--space-4);
}

.breadcrumb-item {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--text-secondary);
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: var(--text-muted);
}

/* ============================================================
   LISTS
   ============================================================ */
.list-group {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.list-group-item {
    border: none;
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-4);
    transition: background var(--transition-fast);
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item-action:hover {
    background: var(--bg-hover);
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-content {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
}

.modal-header {
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-5);
}

/* Judul modal putih di header primary (Konfirmasi Bid dll) */
.modal-header.bg-primary.text-white .modal-title {
    color: #fff !important;
}

.modal-body {
    padding: var(--space-5);
}

.modal-footer {
    border-top: 1px solid var(--border-light);
    padding: var(--space-4) var(--space-5);
}

/* ============================================================
   TABS
   ============================================================ */
.nav-tabs {
    border-bottom: 1px solid var(--border-light);
    gap: var(--space-2);
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--space-3) var(--space-4);
    transition: all var(--transition-fast);
    border-radius: 0;
}

.nav-tabs .nav-link:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.nav-tabs .nav-link.active {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #059669 100%);
    position: relative;
    overflow: hidden;
}

/* Glowing Blobs */
.hero-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: blobFloat 20s infinite alternate ease-in-out;
}

.hero-blob-1 {
    top: -100px;
    right: -50px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
}

.hero-blob-2 {
    bottom: -150px;
    left: -100px;
    animation-duration: 25s;
    animation-delay: -5s;
}

.hero-blob-3 {
    top: 20%;
    left: 10%;
    width: 200px;
    height: 200px;
    animation-duration: 15s;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, 50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-section h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section p,
.hero-section .lead {
    color: rgba(255, 255, 255, 0.95) !important;
}

.hero-section .text-warning {
    color: #FBBF24 !important;
    /* Brighter amber for hero context */
    font-weight: 800;
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
    /* Glowing Text */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section .badge {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white !important;
}

.hero-section .small {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Shine Animation for Buttons */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    transition: none;
}

.btn-shine:hover::after {
    left: 150%;
    transition: all 0.6s ease-in-out;
}

.btn-primary.btn-shine,
.btn-warning.btn-shine {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-warning.btn-shine {
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* ============================================================
   STATS CARDS
   ============================================================ */
.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    border: 1px solid var(--border-light);
    transition: all var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Gradient Icon Backgrounds */
.stat-icon-primary {
    background: linear-gradient(135deg, var(--primary-light) 0%, #A7F3D0 100%);
    color: var(--primary);
}

.stat-icon-info {
    background: linear-gradient(135deg, var(--info-light) 0%, #BFDBFE 100%);
    color: var(--info);
}

.stat-icon-warning {
    background: linear-gradient(135deg, var(--warning-light) 0%, #FDE68A 100%);
    color: var(--warning);
}

.stat-icon-danger {
    background: linear-gradient(135deg, var(--danger-light) 0%, #FECACA 100%);
    color: var(--danger);
}

/* ============================================================
   WALLET CARD - Credit Card Style
   ============================================================ */
.wallet-card {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-radius: var(--radius-xl);
    color: white !important;
    overflow: hidden;
    position: relative;
}

.wallet-card p,
.wallet-card h2,
.wallet-card span,
.wallet-card i,
.wallet-card div {
    color: white !important;
}

.wallet-card .opacity-75,
.wallet-card .opacity-90 {
    color: rgba(255, 255, 255, 0.85) !important;
    opacity: 1 !important;
    /* Reset opacity to use rgba for better rendering */
}

.wallet-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.wallet-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-align: center;
    transition: all var(--transition-smooth);
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--space-3);
    transition: transform var(--transition-smooth);
}

.category-card:hover i {
    transform: scale(1.1);
}

.category-card h6 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-1);
}

.category-card small {
    color: var(--text-muted);
}

/* ============================================================
   SECTION STYLES
   ============================================================ */
section {
    padding: var(--space-16) 0;
}

section.bg-light {
    background: var(--bg-page);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-2);
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: var(--space-8);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--bg-dark);
    color: white;
}

footer h5,
footer h6 {
    color: white;
    margin-bottom: var(--space-4);
}

footer a {
    color: var(--text-light);
    transition: color var(--transition-fast);
}

footer a:hover {
    color: var(--primary);
}

footer .text-muted {
    color: var(--text-light) !important;
}

footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all var(--transition-fast);
}

footer .social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.toast-header {
    border-bottom: 1px solid var(--border-light);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ============================================================
   LOADING STATES
   ============================================================ */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-hover) 25%, var(--bg-page) 50%, var(--bg-hover) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-warning {
    color: var(--warning) !important;
}

.text-info {
    color: var(--info) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-dark {
    color: var(--text-dark) !important;
}

.bg-primary {
    background: var(--primary) !important;
}

.bg-success {
    background: var(--success) !important;
}

.bg-warning {
    background: var(--warning) !important;
}

.bg-danger {
    background: var(--danger) !important;
}

.bg-info {
    background: var(--info) !important;
}

.bg-light {
    background: var(--bg-page) !important;
}

.bg-dark {
    background: var(--bg-dark) !important;
}

.border {
    border: 1px solid var(--border-light) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.rounded-sm {
    border-radius: var(--radius-sm) !important;
}

.rounded-md {
    border-radius: var(--radius-md) !important;
}

.rounded-lg {
    border-radius: var(--radius-lg) !important;
}

.rounded-xl {
    border-radius: var(--radius-xl) !important;
}

.rounded-full {
    border-radius: var(--radius-full) !important;
}

/* Hover Effects */
.hover-lift {
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.hover-scale {
    transition: transform var(--transition-smooth);
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */
@media (max-width: 991.98px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    section {
        padding: var(--space-10) 0;
    }

    .card-body {
        padding: var(--space-4);
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.375rem;
    }

    .btn-lg {
        padding: var(--space-3) var(--space-5);
        font-size: 0.9375rem;
    }

    section {
        padding: var(--space-8) 0;
    }

    .navbar .form-control {
        min-width: auto !important;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.4s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.4s ease-out;
}

/* Staggered Animation */
.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
}

/* ============================================================
   COUNTDOWN TIMER STYLES
   ============================================================ */
.countdown-timer {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.countdown-timer.ending-soon {
    color: var(--danger);
    animation: pulse 1s infinite;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {

    .navbar,
    footer,
    .btn,
    .no-print {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}