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

:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --bg-dark: #0f172a;
    --sidebar-bg: #1e293b;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-main: #f8fafc;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, .brand-text {
    font-family: 'Outfit', sans-serif;
}

/* Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    transition: all 0.3s ease;
}

.brand-section {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.nav-links {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.nav-item {
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    color: var(--text-main);
    opacity: 0.8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
}

.nav-item:hover {
    background: var(--card-bg);
    color: var(--text-main);
    opacity: 1;
    transform: translateX(5px);
}

.nav-item.active {
    background: var(--accent-gradient);
    color: white;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex-grow: 1;
    padding: 2rem;
}

/* Premium Components */
.card-premium {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-premium {
    background: var(--accent-gradient);
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.5rem;
    color: white;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-premium:hover {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}

/* Forms */
.form-control-premium {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--glass-border) !important;
    color: white !important;
    border-radius: 10px !important;
    padding: 0.75rem !important;
}

/* Dropdown specific fixes */
.form-control-premium option,
.form-select option,
select option {
    background-color: var(--bg-dark) !important;
    color: var(--text-main) !important;
}

.form-control-premium:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3) !important;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
    animation: fadeIn 0.5s ease forwards;
}

/* Manual text-muted override if Bootstrap reinjects it */
.text-muted {
    color: inherit !important;
    opacity: 0.8;
}