/* ============================================
   Noriks Analytics Dashboard - FIRMA STYLE
   PIXEL PERFECT Match to Firma Design
   ============================================ */

:root {
    /* SIDEBAR - EXACT SPECS FROM FIRMA */
    --sidebar-width: 240px;
    --sidebar-bg: #1A3A2A;
    --sidebar-active-bg: #2D5A3A;
    --sidebar-text: rgba(255, 255, 255, 0.7);
    --sidebar-text-active: #FFFFFF;
    
    /* HEADER */
    --header-height: 60px;
    --header-bg: #FFFFFF;
    --header-border: #E5E7EB;
    
    /* MAIN CONTENT */
    --content-bg: #F3F4F6;
    --card-bg: #FFFFFF;
    --card-radius: 8px;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --content-padding: 24px;
    
    /* ACCENT */
    --logo-blue: #60A5FA;
    --primary: #3b82f6;
    --success: #22c55e;
    --success-soft: rgba(34, 197, 94, 0.15);
    --warning: #f59e0b;
    --warning-soft: rgba(245, 158, 11, 0.15);
    --danger: #ef4444;
    --danger-soft: rgba(239, 68, 68, 0.15);
    
    /* TEXT */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* BORDERS */
    --border-color: #e2e8f0;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    background: var(--content-bg);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

/* ============================================
   SIDEBAR - 240px fixed, #1E3A5F
   ============================================ */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow: hidden;
}

/* LOGO AREA */
.sidebar-header {
    padding: 20px;
    margin-bottom: 24px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-logo {
    width: 36px;
    height: 36px;
    background: var(--logo-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

.sidebar-subtitle {
    font-size: 11px;
    color: var(--sidebar-text);
    margin-top: 2px;
}

/* SIDEBAR NAV */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0 16px;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

.nav-section {
    margin-bottom: 20px;
}

.nav-section-title {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    padding: 0 12px;
    margin-bottom: 8px;
}

/* NAV LINK - 40px height, 14px font */
.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 40px;
    padding: 0 12px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    border-radius: 6px;
    transition: all 0.15s ease;
    cursor: pointer;
    border-left: 3px solid transparent;
    margin-bottom: 4px;
}

.nav-icon {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--sidebar-text-active);
}

/* ACTIVE ITEM - #2D4A7A with white left border */
.nav-item.active {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-text-active);
    border-left-color: #FFFFFF;
}

/* Sidebar Footer */
.sidebar-collapse {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.collapse-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--sidebar-text);
    cursor: pointer;
    font-size: 13px;
    transition: all 0.15s ease;
}

.collapse-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--sidebar-text-active);
}

.collapse-icon {
    transition: transform 0.3s ease;
}

.sidebar.collapsed .collapse-icon {
    transform: rotate(180deg);
}

.sidebar.collapsed .collapse-text,
.sidebar.collapsed .nav-section-title,
.sidebar.collapsed .sidebar-subtitle,
.sidebar.collapsed .sidebar-title {
    display: none;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar.collapsed .nav-item {
    justify-content: center;
    padding: 12px;
}

.sidebar.collapsed .nav-item span:not(.nav-icon) {
    display: none;
}

.sidebar.collapsed .sidebar-brand {
    justify-content: center;
}

.sidebar.collapsed .sidebar-logo {
    margin: 0;
}

.sidebar.collapsed + .main {
    margin-left: 70px;
}

/* ============================================
   MAIN CONTENT - margin-left: 240px
   ============================================ */
.main {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--content-bg);
    overflow-x: hidden;
    max-width: calc(100vw - var(--sidebar-width));
}

@media (max-width: 992px) {
    .main {
        max-width: 100vw;
    }
}

/* ============================================
   HEADER - 60px, #FFFFFF, border #E5E7EB
   ============================================ */
.topbar {
    background: var(--header-bg);
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid var(--header-border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Refresh Button */
.refresh-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: 'Inter', sans-serif;
}
.refresh-btn:hover {
    background: #2563eb;
    transform: scale(1.02);
}
.refresh-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}
.refresh-btn.loading {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Theme Toggle - Firma Style */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--content-bg);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 13px;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    background: var(--border-color);
}

/* Status Badge */
.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--success-soft);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--success);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ============================================
   CONTENT WRAPPER - padding: 24px
   ============================================ */
.content {
    flex: 1;
    padding: var(--content-padding);
    max-width: 1600px;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================
   CARDS - white, 8px radius, shadow
   ============================================ */
.data-info-banner {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.info-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-icon { font-size: 18px; }

.info-text {
    font-size: 13px;
    color: var(--text-secondary);
}

.info-text strong { 
    color: var(--text-primary);
    font-weight: 500;
}

.info-sep { 
    margin: 0 8px; 
    color: var(--text-light); 
}

.info-badge {
    background: var(--content-bg);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Filters Section */
.filters-section {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.filters-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.preset-tabs {
    display: flex;
    background: var(--content-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 3px;
    gap: 2px;
}

.preset-tab {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.preset-tab:hover {
    color: var(--text-secondary);
    background: var(--card-bg);
}

.preset-tab.active {
    color: white;
    background: var(--primary);
    font-weight: 600;
}

.date-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-input {
    padding: 8px 12px;
    background: var(--content-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    transition: all 0.15s ease;
}

.date-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.date-sep {
    color: var(--text-light);
    font-size: 14px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   ERROR
   ============================================ */
.error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--danger-soft);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--card-radius);
    color: var(--danger);
    margin-bottom: 20px;
    font-size: 13px;
}

/* ============================================
   COUNTRY SUMMARY CARDS
   ============================================ */
.country-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.country-card {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    border-top: 3px solid var(--country-color, var(--primary));
}

.country-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.country-card.hr { --country-color: #ef4444; }
.country-card.cz { --country-color: #22c55e; }
.country-card.pl { --country-color: #f59e0b; }
.country-card.gr { --country-color: #3b82f6; }
.country-card.it { --country-color: #a855f7; }
.country-card.hu { --country-color: #f97316; }
.country-card.sk { --country-color: #14b8a6; }

.country-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.country-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.country-flag {
    font-size: 28px;
}

.country-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.country-roas {
    font-size: 20px;
    font-weight: 700;
}

.country-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 6px;
}

.country-stats:last-child {
    margin-bottom: 0;
}

.country-row-3 {
    grid-template-columns: repeat(3, 1fr);
}

.country-row-4 {
    grid-template-columns: repeat(4, 1fr);
}

.country-stat {
    text-align: center;
    padding: 10px 8px;
    background: var(--content-bg);
    border-radius: 6px;
}

.country-stat-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.country-stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
}

/* ============================================
   METRIC CARDS GRID
   ============================================ */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.metric-card {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.metric-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: var(--content-bg);
}

.metric-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.metric-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.metric-sub {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ============================================
   METRICS ROW OVERRIDES
   ============================================ */
.metrics-row-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.metrics-row-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

.metrics-row-5 {
    grid-template-columns: repeat(5, 1fr) !important;
}

.metrics-row-6 {
    grid-template-columns: repeat(6, 1fr) !important;
}

.metrics-grid {
    margin-bottom: 16px;
}

/* ============================================
   REAL MONEY DROPDOWN
   ============================================ */
.real-money-dropdown {
    margin-top: 8px;
}

.real-money-toggle {
    cursor: pointer;
    padding: 10px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    transition: all 0.2s;
    width: 100%;
    list-style: none;
}

.real-money-toggle::-webkit-details-marker {
    display: none;
}

.dropdown-arrow {
    margin-left: auto;
    font-size: 11px;
    transition: transform 0.2s;
}

.real-money-dropdown[open] .dropdown-arrow {
    transform: rotate(180deg);
}

.real-money-toggle:hover {
    background: var(--hover-bg, #f1f5f9);
    color: var(--text-primary);
}

.real-money-dropdown[open] .real-money-toggle {
    margin-bottom: 8px;
    background: var(--hover-bg, #f1f5f9);
}

.real-money-general {
    margin-bottom: 16px;
}

/* ============================================
   CHARTS GRID
   ============================================ */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.chart-card {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 20px;
    transition: all 0.2s ease;
}

.chart-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.chart-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.chart-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: var(--content-bg);
}

/* ============================================
   TABLE
   ============================================ */
.table-card {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin-bottom: 24px;
}

.table-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.table-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.table-scroll {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 600px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

th {
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: var(--content-bg);
    border-bottom: 1px solid var(--border-color);
}

td {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

tr:last-child td { border-bottom: none; }

tbody tr {
    transition: background 0.1s ease;
}

tbody tr:hover {
    background: var(--content-bg);
}

tr.today td {
    background: rgba(59, 130, 246, 0.08);
}

tr.future td {
    opacity: 0.5;
}

/* ============================================
   TEXT COLORS
   ============================================ */
.text-green { color: var(--success); }
.text-amber { color: var(--warning); }
.text-blue { color: var(--primary); }
.text-purple { color: #a855f7; }
.text-orange { color: #f97316; }
.text-teal { color: #14b8a6; }
.text-red { color: var(--danger); }
.text-primary { color: var(--primary); }
.text-cyan { color: #06b6d4; }

.profit-positive { color: var(--success); font-weight: 600; }
.profit-negative { color: var(--danger); font-weight: 600; }

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 100px;
}

.badge-green { background: var(--success-soft); color: var(--success); }
.badge-amber { background: var(--warning-soft); color: var(--warning); }
.badge-red { background: var(--danger-soft); color: var(--danger); }
.badge-blue { background: rgba(59, 130, 246, 0.15); color: var(--primary); }

/* Cell styles */
.cell-split {
    display: flex;
    align-items: center;
    gap: 4px;
}

.split-new { color: var(--success); font-weight: 500; }
.split-ret { color: #06b6d4; font-weight: 500; }
.split-sep { color: var(--text-light); }

.cell-products {
    display: flex;
    gap: 8px;
    font-size: 12px;
}

/* ============================================
   LOADING & SPINNER
   ============================================ */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    color: var(--text-muted);
    font-size: 13px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   MOBILE SIDEBAR
   ============================================ */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.sidebar-overlay.active {
    display: block;
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 20px;
}

.mobile-menu-btn:hover {
    background: var(--content-bg);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1400px) {
    .metrics-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1200px) {
    .metrics-grid { grid-template-columns: repeat(3, 1fr); }
    .country-summary { grid-template-columns: repeat(2, 1fr); }
    .charts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main {
        margin-left: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    .content {
        padding: 16px;
    }
    
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .country-summary { grid-template-columns: 1fr; }
    
    .topbar {
        padding: 0 16px;
    }
    
    .filters-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters-left {
        flex-direction: column;
        align-items: stretch;
    }
    
    .preset-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
}

@media (max-width: 600px) {
    .metrics-grid { grid-template-columns: 1fr; }
    .topbar { height: 56px; }
    .content { padding: 12px; }
    .metric-card { padding: 16px; }
    .metric-value { font-size: 20px; }
    .preset-tab { padding: 6px 8px; font-size: 11px; }
    .country-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   LOGIN PAGE - FIRMA STYLE
   ============================================ */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--content-bg);
    padding: 20px;
}

.login-container {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 40px;
    width: 100%;
    max-width: 400px;
}

.login-container .logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-container .logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.login-container .logo p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    background: var(--content-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.15s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--primary);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.submit-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.error-message {
    background: var(--danger-soft);
    color: var(--danger);
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 20px;
    display: none;
}
