﻿/* ============================================================
   APREXIO – Global Styles
   Variables · Typography · Resets · Page-Header
   Wird in den Layouts vor site.css eingebunden (mit asp-append-version).
   ============================================================ */

/* ===== ROOT VARIABLEN ===== */
:root {
    /* Farben */
    --primary-gradient: linear-gradient(135deg, #Cffe25, 0%, #d2ff00 100%);
    --primary-color: #d2ff00;
    --primary-dark: #b2c73;
    --primary-color-0: #f9ffe2;
    --primary-color-1: #f3ffcc;
    --primary-color-2: #e7ff9a;
    --primary-color-3: #daff64;
    --primary-color-4: #cfff38;
    --primary-color-5: #c8ff1d;
    --primary-color-6: #c2ff00;
    --primary-color-7: #ace300;
    --primary-color-8: #98ca00;
    --primary-color-9: #81ae00;
    --primary-button-bg: #c2ff00;
    --primary-button-txt: #000;
    --primary-button-hover: #98ca00;
    /* Text- und Icon-Farbe auf Primary-Grün (z. B. Checkbox-Häkchen, Toggle-Buttons) */
    --primary-contrast: #343a40;
    --success-color: #10b981;
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --warning-color: #f59e0b;
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --danger-color: #ef4444;
    --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --info-color: #06b6d4;
    --info-gradient: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    /* Graustufen */
    --primary-grey: #1a202c;
    --secondary-grey: #718096;
    --border-color: #e2e8f0;
    --hover-bg: #f7fafc;
    --text-primary: #1a202c;
    --text-secondary: #718096;
    --text-muted: #a0aec0;
    /* Abstände */
    --navbar-height: 70px;
    --sidebar-width: 260px;
    /* Höhe der Benachrichtigungs-Leiste unter dem Header (per JS gesetzt) */
    --apx-notifybar-offset: 0px;
    /* Schatten */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
}

/* ===== GLOBALE RESETS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ===== SCHRIFTART: ROBOTO ===== */
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f8f9fc;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Alle Elemente verwenden Roboto */
input, textarea, select, button {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== TYPOGRAPHIE ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 0.875rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.1rem;
    margin-bottom: 0.625rem;
}

h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

h6 {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* ===== PAGE HEADER  ===== */
.page-header {
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);

}

    .page-header h1 {
        font-size: 1.6rem;
        font-weight: 700;
        color: var(--text-primary);
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 5px;
    }

        .page-header h1 i {
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

    .page-header p {
        color: var(--text-secondary);
        margin: 0;
    }

/* Kompakter Page-Header (Icon-Badge + Breadcrumb) liegt in site.css,
   damit CSS-Änderungen über asp-append-version cache-sicher ausgeliefert werden. */

