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

:root {
    --primary-orange: #fc5705;
    --sidebar-bg: #1f2029;
    --main-bg: #f4f7fc;
    --panel-bg: #ffffff;
    --text-dark: #1c1c1c;
    --text-light: #ffffff;
    --text-gray: #888888;
    --border-color: #e0e0e0;
    --table-header-bg: #f9fafb;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--main-bg);
    margin: 0;
    padding: 0;
}

/* --- LAYOUT --- */
/* Mobile First: Stacked */
.dashboard-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Desktop: Sidebar Left, Content Right */
@media (min-width: 768px) {
    .dashboard-container {
        flex-direction: row;
        height: 100vh;
        overflow: hidden;
    }
}

/* --- SIDEBAR --- */
.sidebar {
    width: 260px;
    background-color: var(--sidebar-bg);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
    flex-shrink: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
}

.sidebar-header h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem; /* Explicit font size for consistency */
    margin: 5px 0;
    transition: background-color 0.2s ease;
}

.sidebar-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-nav a.active {
    background-color: var(--primary-orange);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* --- RIGHT CONTENT WRAPPER --- */
.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background-color: var(--main-bg);
}

.v1-main-content {
    flex-grow: 1;
    padding: 30px;
    overflow-y: auto;
    height: 100%;
}

@media (max-width: 768px) {
    .sidebar { display: none; } /* Hidden on mobile, injected via JS logic usually or controlled separately */
    .content-wrapper { height: auto; overflow: visible; }
    .v1-main-content { height: auto; overflow: visible; padding: 20px; }
}

/* --- UTILITIES --- */
.card-shadow { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

/* --- BUTTONS --- */
.v1-btn {
    background-color: var(--primary-orange);
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
}
.v1-btn:hover { background-color: #e14d04; }
.v1-btn-settings { background-color: #eef2f7; color: var(--text-dark); border: 1px solid var(--border-color); }
.v1-btn-settings:hover { background-color: #e1e6ec; }
