/* NoteVault SA - Main Stylesheet */

:root {
    --bg: #0D0D0D;
    --panel: #1A1A1A;
    --input-bg: #1A1A1A;
    --accent: #00FF85;
    --text: #FFFFFF;
    --subtitle: #E0E0E0;
}

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

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    line-height: 1.6;
}

/* Content Area - Standardized layout with sidebar */
/* Header is fixed at 72px height, so content starts below it */
#content-area {
    margin-left: 270px;
    width: calc(100% - 270px);
    min-height: calc(100vh - 72px);
    padding-top: 72px;
    margin-top: 0;
    background: var(--bg);
    overflow-x: hidden;
}

/* Remove sidebar margin on home pages (when sidebar is not present) */
body:not(:has(.global-sidebar)) #content-area {
    margin-left: 0;
    width: 100%;
}

/* Main content wrapper */
.main-content {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #content-area {
        margin-left: 0;
        width: 100%;
        padding-top: 64px; /* Header is 64px on mobile */
        min-height: calc(100vh - 64px);
    }
    
    .main-content {
        padding: 24px 16px;
    }
}

