/* Fon2Go – Glassmorphism-Oberfläche (Hintergrundbild + Frosted-Glass-Fenster) */

:root {
    --fon-orange: #E0702A;
    --fon-orange-dark: #C65F1F;
}

/* ---------- Vollflächiger Hintergrund ---------- */
html, body { min-height: 100%; }

body {
    background: #0b0b0e url('../img/background.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* Hintergrund durch das MudBlazor-Layout durchscheinen lassen */
.mud-layout,
.mud-main-content { background: transparent !important; }

/* Mehr Luft rund um den Inhalt, damit das Fenster deutlich vom Rand abgesetzt „schwebt" */
.mud-main-content {
    padding-top: 88px !important;
    padding-left: clamp(12px, 2vw, 28px) !important;
    padding-right: clamp(12px, 2vw, 28px) !important;
}

/* ---------- Frosted App-Bar & Navigations-Drawer ---------- */
.mud-appbar {
    background-color: rgba(255, 255, 255, 0.55) !important;
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22) !important;
}

.mud-drawer {
    background-color: rgba(255, 255, 255, 0.50) !important;
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.mud-drawer .mud-navmenu .mud-nav-link {
    border-radius: 10px;
    margin: 2px 8px;
}

/* ---------- Inhalts-"Fenster" (transparenter Rahmen, runde Ecken) ---------- */
.fon-window {
    background: rgba(255, 255, 255, 0.66);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    backdrop-filter: blur(22px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.30);
    padding: clamp(16px, 3vw, 32px);
    margin-bottom: 24px;
}

/* Karten im Fenster als leichte, abgerundete Ebenen */
.fon-window .mud-paper {
    border-radius: 16px;
}

/* ---------- Anmeldung (Login) ---------- */
.fon-auth {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.fon-auth-card {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.78) !important;
    -webkit-backdrop-filter: blur(26px) saturate(160%);
    backdrop-filter: blur(26px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.50);
    border-radius: 24px !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45) !important;
}

/* Breite Glaskarte für die Registrierung (gleiche Optik wie Login) */
.fon-auth-card.wide {
    max-width: 680px;
}

.fon-auth-foot {
    margin-top: 22px;
    text-align: center;
    line-height: 1.5;
}
.fon-auth-foot .row1 {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.fon-auth-foot .row2 {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
