
/* SIBA Login Seite - repariert */
html, body {
    min-height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: linear-gradient(135deg, #f4f4f4 0%, #ffffff 45%, #f0f0f0 100%) !important;
    color: #1d1d1d !important;
}

container {
    display: block;
}

.header {
    width: 100%;
    min-height: 96px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #ff7a1a, #ff441f) !important;
    box-shadow: 0 4px 22px rgba(0,0,0,.18);
}

.bild1 {
    width: 220px;
    max-width: 70vw;
    height: auto;
    display: block;
    background: #fff;
    padding: 10px 28px;
    border-radius: 10px;
    box-shadow: 0 8px 26px rgba(0,0,0,.18);
}

#body {
    min-height: calc(100vh - 96px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 18px;
    box-sizing: border-box;
}

.loginkasten {
    width: 100%;
    max-width: 460px;
    background: #ffffff !important;
    border: 1px solid rgba(255, 90, 31, .35);
    border-radius: 16px;
    padding: 34px 34px 30px;
    box-shadow: 0 18px 55px rgba(0,0,0,.18);
}

.Überschrift h5,
.Überschrift h6 {
    margin: 0 0 24px;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 800;
    color: #263f4a;
    text-align: center;
}

#text1 {
    margin: 18px 0 8px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
    color: #263f4a;
}

.loginkasten input[type="email"],
.loginkasten input[type="password"],
.loginkasten input[type="text"] {
    width: 100% !important;
    height: 46px;
    box-sizing: border-box;
    border: 1px solid #d7dde2 !important;
    border-radius: 8px;
    padding: 0 13px;
    font-size: 16px;
    background: #fff !important;
    color: #111 !important;
    outline: none;
}

.loginkasten input:focus {
    border-color: #ff5a1f !important;
    box-shadow: 0 0 0 3px rgba(255, 90, 31, .16);
}

.button-85,
.button {
    width: 100%;
    height: 48px;
    margin-top: 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0 !important;
    border-radius: 9px;
    background: linear-gradient(90deg, #ff7a1a, #ff441f) !important;
    color: #fff !important;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 90, 31, .28);
}

.button-85:hover,
.button:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

#textlog {
    margin: 0;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    color: #fff !important;
}

.loginkasten a {
    display: inline-block;
    margin-top: 16px;
    color: #ff4b1f !important;
    font-weight: 700;
    text-decoration: none;
}

.loginkasten a:hover {
    text-decoration: underline;
}

#fußzeile {
    display: none;
}

/* Login darf nicht von allgemeinen Dashboard-Darkmode-Regeln zerstört werden */
body.siba-dark {
    background: #0b0b0b !important;
    color: #fff !important;
}
body.siba-dark .header {
    background: linear-gradient(90deg, #ff7a1a, #ff441f) !important;
}
body.siba-dark .loginkasten {
    background: #111 !important;
    color: #fff !important;
    border-color: #ff5a1f !important;
}
body.siba-dark .Überschrift h5,
body.siba-dark .Überschrift h6,
body.siba-dark #text1 {
    color: #fff !important;
}
body.siba-dark .loginkasten input[type="email"],
body.siba-dark .loginkasten input[type="password"],
body.siba-dark .loginkasten input[type="text"] {
    background: #0d0d0d !important;
    color: #fff !important;
    border-color: #ff5a1f !important;
}

@media (max-width: 600px) {
    .header { min-height: 82px; }
    .bild1 { width: 180px; padding: 8px 22px; }
    #body { min-height: calc(100vh - 82px); padding: 24px 12px; }
    .loginkasten { padding: 26px 20px 24px; border-radius: 13px; }
    .Überschrift h5, .Überschrift h6 { font-size: 26px; }
}
