/*
DRK Grundfarben
Primär
ROT: #e60005
WEISS: #ffffff
Schwarz: #000000

Sekundär
Dunkelblau: #002d55
Hellblau: #ebf5ff

Abstufungen
Rot: #eb8264 und #fac3af
Blau: #698caf und #b4c3d7
*/

/* Grund-Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh; /* besser als height:100vh auf Mobile */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #698caf 0%, #b4c3d7 100%);
}

/* Container & Karte */
.login-container {
    width: 100%;
    max-width: 400px;
}

.login-form,
.login-container form {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Überschriften/Text */
.login-container h2 {
    margin-bottom: 10px;
    color: #333;
    font-size: 24px;
}

.login-container p {
    color: #777;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Eingabefelder */
.input-group {
    text-align: left;
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
    font-size: 16px; /* wichtig: verhindert iOS Zoom */
    background: #fff;
}

.input-group input:focus {
    border-color: #002d55;
}

/* Standard Button */
.btn-submit {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #002d55;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-submit:hover {
    background: #eb8264;
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

/* SSO Button (falls du ihn aus dem Inline-CSS rausziehen willst) */
.btn-sso {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #e60005;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s, transform 0.2s;
}

.btn-sso:hover {
    background: #eb8264;
    transform: translateY(-2px);
}

.btn-sso:active {
    transform: translateY(0);
}

/* Divider */
.divider {
    margin: 18px 0;
    text-align: center;
    border-bottom: 1px solid #ccc;
    line-height: 0.1em;
}

.divider span {
    background: #fff;
    padding: 0 10px;
    color: #999;
    font-size: 13px;
}

/* Footer Links */
.form-footer {
    margin-top: 20px;
}

.form-footer a {
    text-decoration: none;
    color: #002d55;
    font-size: 13px;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Responsivität */
@media (max-width: 480px) {
    body {
        padding: 14px;
        align-items: flex-start;
        padding-top: 30px;
    }

    .login-container form {
        padding: 26px 18px;
        border-radius: 12px;
    }

    .login-container h2 {
        font-size: 20px;
    }
}
