/* SOLA Concept - Authentifizierungsdesign
   Nur fuer Seiten mit body.auth-page.
   Projektseiten bleiben unveraendert.
*/

body.auth-page {
    background: #2d323b;
    color: #30343b;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body.auth-page .sola-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.auth-page .sola-workspace {
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.auth-page .app-header,
body.auth-page footer {
    display: none;
}

body.auth-page main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.auth-page .login.card {
    width: 100%;
    max-width: 466px;
    margin: 0;
    padding: 34px;
    background: #ffffff;
    border: 0;
    border-radius: 17px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

body.auth-page .login h1 {
    margin: 0 0 5px;
    color: #30343b;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 700;
}

body.auth-page .login p {
    color: #697586;
    font-size: 14px;
    line-height: 1.55;
}

body.auth-page .login .auth-subtitle {
    margin: 0 0 26px;
    color: #697586;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}

body.auth-page .login label {
    display: block;
    margin: 15px 0 12px;
    color: #536071;
    font-size: 14px;
    font-weight: 400;
}

body.auth-page .login input,
body.auth-page .login select {
    width: 100%;
    min-height: 46px;
    margin-top: 6px;
    padding: 10px 18px;
    border: 1px solid #dce2e8;
    border-radius: 10px;
    background: #ffffff;
    color: #20242a;
    font: 16px Arial, Helvetica, sans-serif;
}

body.auth-page .login input:focus,
body.auth-page .login select:focus {
    outline: 2px solid #f8a51e;
    outline-offset: 1px;
}

body.auth-page .login button.primary {
    width: 100%;
    min-height: 47px;
    margin-top: 10px;
    padding: 11px 16px;
    border: 0;
    border-radius: 10px;
    background: #f8a51e;
    color: #ffffff;
    font: 700 16px Arial, Helvetica, sans-serif;
    cursor: pointer;
}

body.auth-page .login button.primary:hover {
    background: #e99513;
    color: #ffffff;
}

body.auth-page .login a {
    color: #a96800;
    text-decoration: none;
}

body.auth-page .login a:hover {
    text-decoration: underline;
}

@media (max-width: 520px) {
    body.auth-page main {
        padding: 18px;
    }

    body.auth-page .login.card {
        padding: 26px 22px;
        border-radius: 15px;
    }
}


/* SOLA Logo ausserhalb der Anmeldekarte */
body.auth-page .sola-auth-layout {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.auth-page .sola-auth-logo {
    display: block;
    width: min(520px, 88vw);
    max-width: 100%;
    height: auto;
    margin: 0 auto 110px;
    object-fit: contain;
}

@media (max-width: 520px) {
    body.auth-page .sola-auth-logo {
        width: min(360px, 88vw);
        margin-bottom: 55px;
    }
}
