/* Modern SaaS Design System - NewsAI (Colorful Light Mode) */
:root {
    --bg-dark: #f8fafc; /* Kept variable name for compatibility, but it's light now */
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-border: rgba(255, 255, 255, 0.5);
    --sidebar-bg: rgba(255, 255, 255, 0.9);
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --accent-purple: #d946ef;
    --text-main: #1e293b;
    --text-muted: #64748b;
}

body {
    background: linear-gradient(135deg, #e0e7ff 0%, #fae8ff 50%, #dcfce7 100%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 0.875rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    backdrop-filter: blur(12px);
}

.table-dark {
    --bs-table-bg: rgba(255, 255, 255, 0.6);
    --bs-table-border-color: rgba(0, 0, 0, 0.05);
    color: var(--text-main);
}

.table-dark th {
    color: var(--text-main);
}

.navbar-custom {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
}

.sidebar {
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--card-border);
    min-height: calc(100vh - 56px);
    backdrop-filter: blur(12px);
}

.sidebar .nav-link {
    color: #475569;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    border-radius: 0.5rem;
    margin: 0.15rem 0.75rem;
    transition: all 0.2s ease-in-out;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    color: #ffffff;
    background: linear-gradient(90deg, #6366f1, #d946ef);
    border-left: 3px solid #ec4899;
}

.sidebar .nav-link i {
    margin-right: 0.75rem;
    font-size: 1.15rem;
}

.badge-plan {
    background: linear-gradient(135deg, #6366f1, #d946ef);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    font-weight: 600;
}

.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-main);
    border-radius: 0.5rem;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    color: var(--text-main);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #d946ef);
    border: none;
    font-weight: 500;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5, #c026d3);
}

.glass-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
