:root {
    --bg-body: #030407;
    --bg-sidebar: #030407;
    --bg-card: #0b0c15;
    --bg-card-hover: #121420;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --accent-purple: #7c3aed;
    --accent-blue: #2563eb;
    --border-color: #1f2937;
    --success-color: #10b981;
    --danger-color: #ef4444;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Layout */
#sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--bg-sidebar);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    overflow-y: auto;
    z-index: 1000;
}

main {
    margin-left: 260px;
    padding: 2rem;
    min-height: 100vh;
    background-image: radial-gradient(circle at 50% 0%, #1a1d3d 0%, #030407 40%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.text-muted {
    color: var(--text-secondary) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-danger {
    color: var(--danger-color) !important;
}

/* Sidebar Menu */
.sidebar-brand {
    padding: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-category {
    padding: 0.75rem 1.5rem 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.nav-link {
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link i {
    width: 20px;
    text-align: center;
}

/* Active Menu Item - Special Style */
.nav-link.active {
    color: white;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border-left: 3px solid #6366f1;
    position: relative;
    margin: 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

/* Special "Market Overview" button style from image 2 */
.nav-item-special {
    margin: 0.5rem 1rem;
}

.nav-link-special {
    background: linear-gradient(90deg, #1e1b4b 0%, #172554 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: white !important;
    padding: 0.8rem 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.nav-link-special::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.2), transparent 70%);
    pointer-events: none;
}

/* Stars/Dots decoration */
.nav-link-special::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 
        -5px -8px 0 -0.5px rgba(255,255,255,0.5),
        5px -5px 0 0 white,
        8px 4px 0 -0.5px rgba(255,255,255,0.6),
        -3px 6px 0 -0.5px rgba(255,255,255,0.4),
        3px 9px 0 -0.8px rgba(255,255,255,0.3);
    opacity: 0.8;
}

.nav-link-special:hover {
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

/* Header */
.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-primary);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-primary-glow {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    color: white;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

/* Dashboard Cards */
.dashboard-card {
    background: linear-gradient(180deg, rgba(20, 22, 30, 0.6) 0%, rgba(10, 11, 16, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.5rem;
    height: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
}

/* Hover Effect - Blue Style */
.dashboard-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.25) 0%, rgba(15, 23, 42, 0.6) 100%);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.2);
}

/* Separator Line */
.dashboard-card > .text-center {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.2rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: border-color 0.3s ease;
}

.dashboard-card:hover > .text-center {
    border-color: rgba(59, 130, 246, 0.2);
}

.card-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: var(--text-secondary);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.dashboard-card:hover .card-icon-wrapper {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05));
    border-color: rgba(59, 130, 246, 0.5);
    color: #60a5fa;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
    transform: scale(1.1);
}

.card-title-custom {
    font-size: 0.95rem;
    color: #e2e8f0;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.dashboard-card:hover .card-title-custom {
    color: #ffffff;
}

.card-value {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #ffffff 20%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.dashboard-card:hover .card-value {
    background: linear-gradient(180deg, #ffffff 20%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.5));
}

.card-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.card-badge.positive {
    color: #34d399;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.15);
}

.card-badge.negative {
    color: #f87171;
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.15);
}

.dashboard-card:hover .card-badge {
    color: #60a5fa !important;
    background: rgba(59, 130, 246, 0.15) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.card-badge-text {
    color: #64748b;
    font-size: 0.8rem;
    margin-left: 0.2rem;
    transition: color 0.3s ease;
}

.dashboard-card:hover .card-badge-text {
    color: #94a3b8;
}

/* Charts Section */
.chart-container {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    min-height: 450px;
    height: auto;
    display: flex;
    flex-direction: column;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.time-filters .btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    color: var(--text-secondary);
    border: none;
}

.time-filters .btn.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 6px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body); 
}
 
::-webkit-scrollbar-thumb {
    background: #374151; 
    border-radius: 3px;
}

@media (max-width: 992px) {
    #sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }
    
    #sidebar.show {
        transform: translateX(0);
    }
    
    main {
        margin-left: 0;
    }
}

/* Login Page Styles */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #111827 0%, #030407 100%);
}

/* Animated Background Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: float 10s infinite ease-in-out;
    opacity: 0.6;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #6366f1;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #10b981;
    bottom: -50px;
    right: -50px;
    animation-delay: -2s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: #ef4444;
    top: 40%;
    right: 20%;
    animation-delay: -5s;
    opacity: 0.4;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.login-card {
    width: 100%;
    max-width: 460px;
    z-index: 1;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
}

.login-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.login-header h2 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.form-floating > .form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 12px;
}

.form-floating > .form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    color: white;
}

.form-floating > label {
    color: var(--text-secondary);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--accent-purple);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.btn-login {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: none;
    padding: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
}

.btn-login::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-login:hover::after {
    left: 100%;
}

.social-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-secondary);
    margin: 1.5rem 0;
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider::before {
    margin-right: 1rem;
}

.divider::after {
    margin-left: 1rem;
}

/* UI Kit Presentation Styles */
.ui-kit-section {
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.ui-kit-header {
    margin-bottom: 2rem;
    color: var(--accent-purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.color-swatch {
    height: 100px;
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.swatch-info {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.component-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
}


/* Wizard / Step Form Styles */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
    z-index: 0;
}

.wizard-step {
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.wizard-step.active {
    border-color: var(--accent-purple);
    background: var(--accent-purple);
    color: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.wizard-step.completed {
    border-color: var(--accent-success);
    background: var(--bg-card);
    color: var(--accent-success);
}

/* Rich Text Editor Simulation */
.rich-text-editor {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.rte-toolbar {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    gap: 0.5rem;
}

.rte-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.rte-btn:hover, .rte-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.rte-content {
    min-height: 150px;
    padding: 1rem;
    color: var(--text-primary);
    outline: none;
}


/* Alerts */
.alert-glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.alert-glass.success {
    border-left: 4px solid var(--accent-success);
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0) 100%);
}

.alert-glass.danger {
    border-left: 4px solid var(--accent-danger);
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0) 100%);
}

.alert-glass.info {
    border-left: 4px solid var(--accent-blue);
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0) 100%);
}

.alert-icon {
    font-size: 1.25rem;
    margin-top: 2px;
}

.alert-glass.success .alert-icon { color: var(--accent-success); }
.alert-glass.danger .alert-icon { color: var(--accent-danger); }
.alert-glass.info .alert-icon { color: var(--accent-blue); }

/* Toasts */
.toast-glass {
    background: rgba(11, 12, 21, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    min-width: 300px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.toast-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.toast-success .toast-icon-wrapper {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-success);
}

.toast-info .toast-icon-wrapper {
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-purple);
}

.toast-content h6 {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.toast-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
}

.toast-close:hover {
    color: white;
}


/* Toast Positioning */
.toast-overlay-container {
    position: fixed;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    pointer-events: none; /* Allow clicks to pass through container */
    max-height: 100vh;
    overflow: hidden;
}

.toast-overlay-container .toast-glass {
    pointer-events: auto; /* Re-enable clicks on toasts */
    margin-bottom: 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.toast-pos-top-right { top: 0; right: 0; }
.toast-pos-top-left { top: 0; left: 0; }
.toast-pos-bottom-right { bottom: 0; right: 0; flex-direction: column-reverse; }
.toast-pos-bottom-left { bottom: 0; left: 0; flex-direction: column-reverse; }
.toast-pos-top-center { top: 0; left: 50%; transform: translateX(-50%); align-items: center; }
.toast-pos-bottom-center { bottom: 0; left: 50%; transform: translateX(-50%); align-items: center; flex-direction: column-reverse; }

/* Optional: Remove Alert Border */
.alert-glass.no-border {
    border-left: none;
    padding-left: 1rem;
}


/* Marketplace Styles */
.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-purple);
}

.domain-card-header {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.domain-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.metric-box {
    text-align: center;
    padding: 0.5rem;
}

.metric-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.metric-value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.product-details {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.filter-sidebar {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    position: sticky;
    top: 2rem;
}

.filter-group {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-primary);
}

/* Product Detail Styles */
.detail-image-container {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.trait-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem;
    text-align: center;
    transition: all 0.2s;
}

.trait-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-purple);
}

.trait-type {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.trait-value {
    font-weight: 600;
    color: var(--text-primary);
}

.history-table th {
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.history-table td {
    padding: 1rem 0;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.history-table tr:last-child td {
    border-bottom: none;
}


/* Glass Pagination */
.pagination-glass .page-item {
    margin: 0 0.25rem;
}

.pagination-glass .page-link {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    font-weight: 500;
}

.pagination-glass .page-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.pagination-glass .page-item.active .page-link {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.pagination-glass .page-item.disabled .page-link {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}


/* Glass Input & Select */
.input-glass, .select-glass {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 12px;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.input-glass:focus, .select-glass:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.5) !important;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2) !important;
    outline: none;
}

.input-glass::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.input-group-text-glass {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-right: none !important;
    color: rgba(255, 255, 255, 0.5) !important;
    border-radius: 12px 0 0 12px !important;
}

.input-group .input-glass {
    border-left: none !important;
    border-radius: 0 12px 12px 0 !important;
}

/* Custom Select Arrow */
.select-glass {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

.select-glass option {
    background-color: #0b0c15;
    color: white;
}


/* Ensure product card is a positioning context for stretched-link */
.product-card {
    position: relative;
}

