/* Style Reset & Core Variables */
:root {
    --bg-main: #f8fafc;
    --bg-sidebar: #0f172a; /* Slate 900: Deep elegant corporate navy/black */
    --card-border: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --primary-blue: #2563eb;
    --accent-green: #10b981;
    --sidebar-active: #1e293b;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Master Grid Structure */
.app-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    background-color: var(--bg-sidebar);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-right: 1px solid var(--card-border);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #1e293b;
}

.brand-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.brand-text h1 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Sidebar Menu Items */
.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.menu-item:hover, .menu-item.active {
    color: #ffffff;
    background-color: var(--sidebar-active);
}

.menu-item i {
    font-size: 1.1rem;
}

/* Premium Consulting Callout */
.sidebar-footer-cta {
    background-color: #1e293b;
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: auto;
    border: 1px solid #334155;
}

.sidebar-footer-cta h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #f1f5f9;
}

.sidebar-footer-cta p {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.btn-sidebar-cta {
    display: block;
    text-align: center;
    background-color: var(--primary-blue);
    color: #ffffff;
    text-decoration: none;
    padding: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn-sidebar-cta:hover {
    background-color: #1d4ed8;
}

/* Main Workspace Frame */
.main-content {
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--card-border);
}

.top-bar h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.top-bar .subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.badge-status {
    background-color: #e2e8f0;
    color: var(--text-primary);
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

/* Two-Column Responsive Workspace Grid */
.workspace-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Elegant Cards */
.dashboard-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.placeholder-text {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.9rem;
}

/* Responsive breakpoint for smaller monitors */
@media (max-width: 1024px) {
    .workspace-grid {
        grid-template-columns: 1fr;
    }
}
