/* assets/css/style.css */
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #f8fafc;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #4f46e5;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6366f1;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.glass-sidebar {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    width: 260px;
    min-height: 100vh;
    transition: margin 0.25s ease-out;
}

.glass-navbar {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-dropdown {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sidebar toggled state */
#wrapper.toggled #sidebar-wrapper {
    margin-left: -260px;
}

/* Sidebar Links */
.sidebar-heading {
    letter-spacing: 1px;
}
.list-group-item {
    transition: all 0.3s ease;
    border: none;
    padding: 15px 25px;
}
.list-group-item:hover, .active-link {
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.2) 0%, transparent 100%) !important;
    border-left: 4px solid #6366f1;
    color: #fff !important;
}

/* Custom Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    transition: all 0.3s ease;
}
.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
}

.btn-ai {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
}
.btn-ai:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

/* Tables */
.table-glass {
    color: #e2e8f0;
}
.table-glass thead th {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.table-glass tbody td {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}
.table-glass tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Cards */
.metric-card {
    transition: transform 0.3s ease;
}
.metric-card:hover {
    transform: translateY(-5px);
}
.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Login Page specific */
.login-box {
    max-width: 400px;
    width: 100%;
    padding: 40px;
}

/* Form Controls */
.form-control-glass {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}
.form-control-glass:focus {
    background: rgba(15, 23, 42, 0.8);
    border-color: #6366f1;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

.cursor-pointer {
    cursor: pointer;
}
