/*
=============================================================
MK TimeSuite – Hauptstil Frontend
=============================================================

Datei:
    frontend/styles/hauptstil.css

Speicherort:
    frontend/styles

Beschreibung:
    Globales Styling für Login- und Ersteinrichtungsseiten
    der MK TimeSuite.

Aufgaben:
    - Grundlayout definieren
    - Login-Box gestalten
    - Formularfelder stylen
    - Buttons stylen
    - Fehlermeldungen und Erfolgsmeldungen darstellen

Abhängigkeiten:
    frontend/login.html
    frontend/ersteinrichtung.html

Letzte Änderung:
    12.03.2026
=============================================================
*/


/* ----------------------------------------------------------
GLOBAL
---------------------------------------------------------- */

*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Segoe UI, Roboto, Arial, sans-serif;
    background:linear-gradient(120deg,#2c7be5,#4e95ff);
    color:#2b2b2b;
    min-height:100vh;
}


/* ----------------------------------------------------------
LAYOUT
---------------------------------------------------------- */

.seite-wrapper{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:30px;
}

.karte{
    width:100%;
    max-width:420px;
    background:white;
    border-radius:14px;
    box-shadow:0 14px 35px rgba(0,0,0,0.20);
    padding:34px;
}

.karte h1{
    margin-top:0;
    margin-bottom:12px;
    font-size:28px;
    color:#1f2d3d;
}

.karte h2{
    margin-top:0;
    margin-bottom:18px;
    font-size:22px;
    color:#1f2d3d;
}

.info-text{
    font-size:14px;
    line-height:1.6;
    color:#5a6775;
    margin-bottom:22px;
}


/* ----------------------------------------------------------
FORMULAR
---------------------------------------------------------- */

label{
    display:block;
    font-size:13px;
    font-weight:600;
    margin-bottom:6px;
    color:#415161;
}

input{
    width:100%;
    padding:11px 12px;
    margin-bottom:14px;
    border:1px solid #d9e0e7;
    border-radius:8px;
    font-size:14px;
    transition:all .15s ease;
}

input:focus{
    outline:none;
    border-color:#2c7be5;
    box-shadow:0 0 0 3px rgba(44,123,229,0.14);
}


/* ----------------------------------------------------------
BUTTONS
---------------------------------------------------------- */

button{
    width:100%;
    background:#2c7be5;
    color:white;
    border:none;
    border-radius:8px;
    padding:12px 14px;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    transition:all .15s ease;
}

button:hover{
    background:#1f68c7;
}


/* ----------------------------------------------------------
STATUSBOXEN
---------------------------------------------------------- */

.meldung{
    display:none;
    margin-top:16px;
    padding:12px 14px;
    border-radius:8px;
    font-size:13px;
    line-height:1.5;
}

.meldung.fehler{
    background:#fdeaea;
    color:#b42318;
    border:1px solid #f5c2c0;
}

.meldung.erfolg{
    background:#e8f7ed;
    color:#1d7a3c;
    border:1px solid #bfe3c9;
}

.meldung.info{
    background:#eef4ff;
    color:#2455a8;
    border:1px solid #cddcfb;
}


/* ----------------------------------------------------------
FOOTER HINWEIS
---------------------------------------------------------- */

.fussnote{
    margin-top:18px;
    font-size:12px;
    color:#7a8795;
    text-align:center;
}