/* style_2026.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700;900&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(to right, #43e97b 0%, #38f9d7 100%);
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --bg-dark: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --sidebar-width: 280px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark) !important;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%) !important;
    background-attachment: fixed !important;
    color: var(--text-primary) !important;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: #fff !important;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow) !important;
    border-radius: 20px !important;
    color: var(--text-primary) !important;
}

.glass-header {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--glass-border) !important;
}

.glass-sidebar {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-right: 1px solid var(--glass-border) !important;
    color: #cbd5e1 !important;
}

.glass-input {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    transition: all 0.3s ease;
}

.glass-input:focus {
    background: rgba(0, 0, 0, 0.5) !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

/* Animations */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Text Gradients */
.text-gradient-2026 {
    background: linear-gradient(to right, #c084fc, #6366f1, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: textGradient 3s linear infinite;
}

@keyframes textGradient {
    to {
        background-position: 200% center;
    }
}

/* Navigation */
.nav-item {
    transition: all 0.3s ease;
    border-radius: 12px;
    margin-bottom: 6px;
    position: relative;
    overflow: hidden;
    color: #cbd5e1 !important;
}

.nav-item a,
.nav-item span {
    color: inherit !important;
    text-decoration: none !important;
}

.nav-item:hover,
.nav-item.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0) 100%) !important;
    color: #fff !important;
    border-left: 3px solid #6366f1 !important;
}

.nav-icon {
    width: 24px;
    text-align: center;
    margin-right: 12px;
    transition: transform 0.3s ease;
    color: #94a3b8 !important;
}

.nav-item:hover .nav-icon,
.nav-item.active .nav-icon {
    transform: scale(1.1);
    color: #818cf8 !important;
}

/* Dragon Animation Replacement - Floating Orb */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float 20s infinite;
}

.orb-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, 0.3);
}

.orb-2 {
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(236, 72, 153, 0.2);
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -50px);
    }

    66% {
        transform: translate(-20px, 20px);
    }
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 100px !important;
    padding: 10px 24px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.4) !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.5) !important;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 100px !important;
    padding: 8px 20px !important;
    transition: all 0.3s ease !important;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* ==========================================================================
   LEGACY & BOOTSTRAP OVERRIDES
   ========================================================================== */

/* Force backgrounds to be transparent/glassy and text to be light */
.bg-white,
.bg-gray-100,
.bg-gray-50,
.bg-blue-50,
.card,
.modal-content,
.list-group-item {
    background-color: var(--glass-bg) !important;
    background-image: none !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow) !important;
    backdrop-filter: blur(12px) !important;
}

/* Bootstrap Card specifics */
.card-header,
.card-footer,
.modal-header,
.modal-footer {
    background-color: rgba(0, 0, 0, 0.2) !important;
    border-bottom: 1px solid var(--glass-border) !important;
    border-top: 1px solid var(--glass-border) !important;
    color: #fff !important;
}

/* Fix text colors */
.text-gray-700,
.text-gray-800,
.text-gray-900,
.text-black,
.text-black-500,
.text-muted,
.text-dark,
body .text-body {
    color: #cbd5e1 !important;
    /* slate-300 */
}

/* Links */
a {
    color: #60a5fa !important;
}

/* Inputs & Form Controls */
.form-control,
select,
textarea,
input {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--glass-border) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    /* Increased padding */
    height: auto !important;
    /* Override bootstrap height */
}

.form-control:focus {
    background-color: rgba(0, 0, 0, 0.4) !important;
    color: #fff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25) !important;
}

/* Password Toggle */
.password-wrapper {
    position: relative;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    z-index: 10;
    padding: 4px;
}

.password-toggle-btn:hover {
    color: #fff;
}

/* Better Form Spacing */
.form-group {
    margin-bottom: 1.5rem !important;
}

label {
    display: block !important;
    margin-bottom: 0.5rem !important;
    color: #cbd5e1 !important;
    /* light slate */
    font-weight: 500 !important;
    text-align: left !important;
}

/* Ensure inputs take full width in form groups if not already */
.form-group .form-control {
    width: 100% !important;
}

/* Tables */
table,
tr,
td,
th,
.table,
.table td,
.table th {
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--text-primary) !important;
    background-color: transparent !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.03) !important;
}

.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

thead.bg-gray-100 {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Alerts */
.close {
    color: #fff !important;
    opacity: 0.8 !important;
}

.close:hover {
    opacity: 1 !important;
}

/* Utilities (Tailwind-like) */
.text-xs {
    font-size: 0.75rem !important;
}

.text-sm {
    font-size: 0.875rem !important;
}

.uppercase {
    text-transform: uppercase !important;
}

.font-bold {
    font-weight: 700 !important;
}

.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.text-gray-400 {
    color: #94a3b8 !important;
}

/* Sticky Right Column */
.sticky-right {
    position: sticky !important;
    right: 0 !important;
    z-index: 10 !important;
    background: #0f172a !important;
    /* Solid dark color */
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3) !important;
}

.table-striped tbody tr:nth-of-type(odd) .sticky-right,
.table-striped tbody tr:nth-of-type(odd) td.sticky-right {
    background: #151d30 !important;
    /* Slightly lighter for striped rows */
}