:root {
    --brand-blue: #0078D4;
    /* RGClouds Signature Blue */
    --brand-navy: #1B1B1B;
    /* Deep Slate for High Contrast */
    --bg-main: #FFFFFF;
    --sidebar-bg: #F9F9F9;
    --text-primary: #1E1E1E;
    --text-secondary: #5F6368;
    --border-subtle: #EBEBEB;
    --card-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --radius-md: 4px;
    /* More sober corners */
    --radius-lg: 8px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    line-height: 1.5;
}

/* Typography with Class */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--brand-navy);
    letter-spacing: -0.025em;
}

.text-muted {
    color: var(--text-secondary) !important;
}

/* Minimalist Sidebar */
.app-sidebar {
    width: 280px;
    height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-subtle);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    z-index: 100;
}

.app-main {
    margin-left: 280px;
    padding: 3rem 4rem;
    min-height: 100vh;
}

/* Premium Navigation */
.nav-link-sober {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none !important;
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-link-sober:hover {
    background-color: #f1f5f9;
    color: var(--brand-blue);
}

.nav-link-sober.active {
    background-color: rgba(0, 154, 224, 0.08);
    color: var(--brand-blue);
}

.nav-link-sober i {
    margin-right: 12px;
    font-size: 1.25rem;
}

/* Corporate Cards */
.sober-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

/* Elegant Inputs */
.sober-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    background: white;
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sober-input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 154, 224, 0.1);
}

/* Classy Buttons */
.btn-sober {
    background: var(--brand-blue);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-sober:hover {
    background: #0089c8;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-sober:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

/* Table Refinement */
.table-sober {
    width: 100%;
    border-collapse: collapse;
}

.table-sober th {
    text-align: left;
    padding: 1rem;
    background: #f8fafc;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border-subtle);
}

.table-sober td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

/* Utility Animations */
.animate-fade {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo placement */
.sidebar-logo {
    max-width: 150px;
    margin-bottom: 2.5rem;
}