/* ------------------------------------------------------------------
 * Darstellung des SSO-Blocks.
 *
 * WICHTIG: Das Aussehen der Anmeldeseite gehört dem Theme. Das vfm-Theme macht
 * aus jedem direkten Kind von `.auth-form` eine Karte und stellt `#form-login`
 * und `#form-sso` nebeneinander; es bringt für `#form-sso` auch `.sso-image` und
 * `.groupButtons` mit. Deshalb steht hier NICHTS, was Karten, Breiten oder die
 * Anordnung der Anmeldeseite bestimmt — das würde dem Theme ins Handwerk
 * pfuschen. Nur der Innenraum unseres Blocks wird bedient, und das so
 * zurückhaltend, dass es auch ohne ein solches Theme ordentlich aussieht.
 * ------------------------------------------------------------------ */

#form-sso.vso-sso {
    text-align: center;
}

/* Fällt nur ins Gewicht, wenn das Theme `.sso-image` nicht selbst bedient. */
#form-sso .sso-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vso-sso-mark {
    display: inline-flex;
    color: rgb(0, 44, 89); /* Hausfarbe vfm */
}

/* Weiche Scheibe hinter dem eingebauten Schloss. Ein hinterlegtes Logo bekommt
   sie nicht — es bringt seine eigene Form mit. */
.vso-sso-mark svg {
    box-sizing: content-box;
    padding: 12px;
    border-radius: 50%;
    background: rgba(0, 44, 89, .07);
}

.vso-sso-logo {
    max-height: 56px;
    max-width: 220px;
}

.vso-sso-title {
    line-height: 1.4;
}

.vso-sso-buttons {
    text-align: center;
}

/* Der Knopf trägt die Knopfklasse des Kerns und damit die Farbe des Portals —
   er sieht aus wie der Anmeldeknopf daneben, auch nach einem Themenwechsel.
   Hier nur, was ein <a> gegenüber einem <input> braucht. */
.vso-sso-btn {
    display: inline-block;
    text-decoration: none;
    line-height: normal;
}

.vso-sso-btn:hover,
.vso-sso-btn:focus {
    text-decoration: none;
}

/* ------------------------------------------------------------------
 * Knopf im Anmeldefenster des Kerns (dort bleibt das Passwortformular).
 * ------------------------------------------------------------------ */

.modalLoginForm .vso-login {
    margin: 16px 0 2px;
}

.vso-login-sep {
    position: relative;
    text-align: center;
    margin: 0 0 14px;
}

.vso-login-sep:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid #e7eaee;
}

.vso-login-sep span {
    position: relative;
    display: inline-block;
    padding: 0 10px;
    background: #fff;
    color: #98a2b3;
    font-size: 12px;
}

.vso-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    box-sizing: border-box;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #d5d9de;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .12s, border-color .12s;
}

.vso-login-btn:hover {
    background: #f9fafb;
    border-color: #c3c9d0;
    text-decoration: none;
}

.vso-login-icon {
    display: flex;
    color: rgb(0, 44, 89);
}
