@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* CLEAN LIGHT THEME (Weiß als primäre Hintergrundfarbe) */
    --bs-body-bg: #ffffff;
    --background-color: #f8f9fa;
    --background-secondary: #ffffff;
    --background-tertiary: #f1f3f5;

    --text-color: #212529;
    --text-color-secondary: #6c757d;
    --text-color-muted: #adb5bd;

    --primary-color: #000000;         /* Hauptfarbe Schwarz für maximalen Kontrast auf Weiß */
    --primary-color-dark: #333333;
    --primary-color-light: #e9ecef;
    --secondary-color: #e9ecef;
    --accent-color: #9146ff;          /* Twitch Lila als kleiner Akzent, wenn nötig */

    --input-background: #ffffff;
    --input-border: #dee2e6;
    --input-focus: #f8f9fa;

    --profile-dropdown-bg: #ffffff;
    --profile-dropdown-color: #212529;

    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;

    /* Typografie */
    --font-family: 'Inter', sans-serif;
    --font-size-small: 0.85rem;
    --font-size-normal: 1rem;
    --font-size-large: 1.15rem;

    /* Styling */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

[data-bs-theme="dark"] {
    /* CLEAN DARK THEME */
    --bs-body-bg: #0a0a0a;
    --background-color: #0f0f0f;
    --background-secondary: #141414;
    --background-tertiary: #1a1a1a;

    --text-color: #f8f9fa;
    --text-color-secondary: #a0a0a0;
    --text-color-muted: #6c757d;

    --primary-color: #ffffff;         /* Weiß als Primärfarbe im Dark Mode */
    --primary-color-dark: #cccccc;
    --primary-color-light: #333333;
    --secondary-color: #2a2a2a;

    --input-background: #141414;
    --input-border: #2a2a2a;
    --input-focus: #333333;

    --profile-dropdown-bg: #141414;
    --profile-dropdown-color: #f8f9fa;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.8);
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 { color: var(--text-color); font-weight: 700; }

a { color: var(--primary-color); text-decoration: none; }
a:hover { color: var(--primary-color-dark); }

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bs-body-bg);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.6rem 1.2rem;
    font-weight: 500;
}
.btn-primary:hover {
    background-color: var(--primary-color-dark);
    color: var(--bs-body-bg);
}
.btn-outline-primary {
    background-color: transparent;
    border: 1px solid var(--input-border);
    color: var(--text-color);
}
.btn-outline-primary:hover {
    background-color: var(--input-background);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ALLE DEINE ALTEN KLASSEN (wie z.B. modal, voting-category etc.) LÄSST DU AB HIER DRIN STEHEN,
   da sie die neuen Variablen automatisch nutzen und sich dem cleanen Design anpassen! */