/* ============================================
   Design System - mAuthor Project Auto Translator
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* CSS Variables - Design System */
:root {
    /* Background Colors */
    --bg-primary: #0f172a;        /* Deep slate - główne tło */
    --bg-secondary: #1e293b;      /* Slate 800 - sidebar, navbar */
    --bg-card: #1e293b;            /* Slate 800 - karty */
    --bg-hover: #334155;           /* Slate 700 - hover states */
    
    /* Accent Colors */
    --accent-primary: #667eea;     /* Purple-blue gradient start */
    --accent-secondary: #764ba2;   /* Purple gradient end */
    --accent-success: #10b981;     /* Emerald green */
    --accent-warning: #f59e0b;     /* Amber */
    --accent-error: #ef4444;       /* Red */
    --accent-info: #3b82f6;        /* Blue */
    
    /* Text Colors */
    --text-primary: #f1f5f9;       /* Slate 100 - główny tekst */
    --text-secondary: #cbd5e1;     /* Slate 300 - drugorzędny tekst */
    --text-muted: #94a3b8;         /* Slate 400 - przygaszony tekst */
    
    /* Borders */
    --border-color: #334155;       /* Slate 700 */
    --divider: #475569;            /* Slate 600 */
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);
    --glow-primary: 0 0 20px rgba(102, 126, 234, 0.3);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', "Helvetica Neue", sans-serif;
    font-weight: 300;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    font-size: 16px; /* Base: 1rem */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

/* Layout Base */
.layout {
    display: flex;
    margin-top: 64px;
    min-height: calc(100vh - 64px);
}

.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

.page-header {
    margin-bottom: 20px;
}

.page-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 4px;
}

