/*
|--------------------------------------------------------------------------
| FristenManager
|--------------------------------------------------------------------------
| Adminbereich
|--------------------------------------------------------------------------
*/
/*
|--------------------------------------------------------------------------
| Farben
|--------------------------------------------------------------------------
*/
:root {
    --fm-admin-navy: #082f4f;
    --fm-admin-navy-dark: #05233c;
    --fm-admin-navy-light: #0f4d78;
    --fm-admin-blue: #1565c0;
    --fm-admin-blue-dark: #0e55a5;
    --fm-admin-blue-light: #e8f2fc;
    --fm-admin-green: #2e9b45;
    --fm-admin-green-dark: #237a36;
    --fm-admin-green-light: #eaf7ed;
    --fm-admin-text: #17212b;
    --fm-admin-muted: #687582;
    --fm-admin-border: #dfe7ed;
    --fm-admin-white: #ffffff;
}
/*
|--------------------------------------------------------------------------
| Login Grundlayout
|--------------------------------------------------------------------------
*/
.fm-admin-login-body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(
            145deg,
            #f8fbfd 0%,
            #eef4f8 50%,
            #f6faf7 100%
        );
    color:
        var(--fm-admin-text);
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    -webkit-font-smoothing:
        antialiased;
}
.fm-login-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}
/*
|--------------------------------------------------------------------------
| Hintergrund
|--------------------------------------------------------------------------
*/
.fm-login-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.fm-login-circle {
    position: absolute;
    border-radius: 50%;
}
.fm-login-circle-one {
    width: 650px;
    height: 650px;
    top: -350px;
    right: -260px;
    background:
        radial-gradient(
            circle,
            rgba(
                46,
                155,
                69,
                0.15
            ) 0%,
            rgba(
                46,
                155,
                69,
                0
            ) 70%
        );
}
.fm-login-circle-two {
    width: 700px;
    height: 700px;
    left: -380px;
    bottom: -400px;
    background:
        radial-gradient(
            circle,
            rgba(
                21,
                101,
                192,
                0.14
            ) 0%,
            rgba(
                21,
                101,
                192,
                0
            ) 70%
        );
}
/*
|--------------------------------------------------------------------------
| Logo
|--------------------------------------------------------------------------
*/
.fm-login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 28px;
}
.fm-login-logo-link {
    display: block;
    flex: 0 0 auto;
}
.fm-login-logo {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow:
        0 8px 24px
        rgba(
            8,
            47,
            79,
            0.18
        );
}
.fm-login-brand-name {
    color:
        var(--fm-admin-navy);
    font-size: 1.55rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.fm-login-brand-name span {
    color:
        var(--fm-admin-blue);
}
.fm-login-brand-subtitle {
    margin-top: 4px;
    color:
        var(--fm-admin-muted);
    font-size: 0.83rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
/*
|--------------------------------------------------------------------------
| Login Card
|--------------------------------------------------------------------------
*/
.fm-login-card {
    position: relative;
    padding: 38px;
    border:
        1px solid
        rgba(
            8,
            47,
            79,
            0.09
        );
    border-radius: 24px;
    background:
        rgba(
            255,
            255,
            255,
            0.96
        );
    box-shadow:
        0 25px 70px
        rgba(
            8,
            47,
            79,
            0.13
        );
    backdrop-filter:
        blur(16px);
}
.fm-login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 38px;
    right: 38px;
    height: 4px;
    border-radius:
        0 0
        6px 6px;
    background:
        linear-gradient(
            90deg,
            var(--fm-admin-blue),
            var(--fm-admin-green)
        );
}
/*
|--------------------------------------------------------------------------
| Überschrift
|--------------------------------------------------------------------------
*/
.fm-login-card-header {
    margin-bottom: 30px;
}
.fm-login-card-header h1 {
    margin:
        13px 0
        8px;
    color:
        var(--fm-admin-navy);
    font-size:
        clamp(
            1.7rem,
            5vw,
            2.15rem
        );
    font-weight: 800;
    letter-spacing: -0.035em;
}
.fm-login-card-header p {
    margin: 0;
    color:
        var(--fm-admin-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}
.fm-login-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding:
        6px
        11px;
    border:
        1px solid
        #d6eadb;
    border-radius: 100px;
    background:
        var(--fm-admin-green-light);
    color:
        var(--fm-admin-green-dark);
    font-size: 0.75rem;
    font-weight: 750;
}
.fm-login-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background:
        var(--fm-admin-green);
}
/*
|--------------------------------------------------------------------------
| Formular
|--------------------------------------------------------------------------
*/
.fm-form-label {
    margin-bottom: 8px;
    color:
        var(--fm-admin-navy);
    font-size: 0.88rem;
    font-weight: 700;
}
.fm-form-control {
    min-height: 54px;
    padding:
        13px
        15px;
    border:
        1px solid
        var(--fm-admin-border);
    border-radius: 11px;
    background:
        #fbfcfd;
    color:
        var(--fm-admin-text);
    font-size: 0.95rem;
    box-shadow: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}
.fm-form-control::placeholder {
    color: #9aa6b1;
}
.fm-form-control:hover {
    border-color:
        #c8d6e0;
}
.fm-form-control:focus {
    border-color:
        var(--fm-admin-blue);
    background:
        #ffffff;
    box-shadow:
        0 0 0 4px
        rgba(
            21,
            101,
            192,
            0.10
        );
}
/*
|--------------------------------------------------------------------------
| Passwort
|--------------------------------------------------------------------------
*/
.fm-password-wrapper {
    position: relative;
}
.fm-password-input {
    padding-right: 100px;
}
.fm-password-toggle {
    position: absolute;
    top: 50%;
    right: 13px;
    transform:
        translateY(-50%);
    padding:
        6px 8px;
    border: 0;
    background: transparent;
    color:
        var(--fm-admin-blue);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}
.fm-password-toggle:hover {
    color:
        var(--fm-admin-navy);
}
/*
|--------------------------------------------------------------------------
| Sicherheitshinweis
|--------------------------------------------------------------------------
*/
.fm-login-security-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding:
        12px
        14px;
    border:
        1px solid
        #dceee0;
    border-radius: 10px;
    background:
        #f5fbf6;
    color:
        #54705a;
    font-size: 0.78rem;
    line-height: 1.55;
}
.fm-security-icon {
    display: flex;
    flex:
        0 0 auto;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 50%;
    background:
        var(--fm-admin-green);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
}
/*
|--------------------------------------------------------------------------
| Login Button
|--------------------------------------------------------------------------
*/
.fm-login-button {
    min-height: 54px;
    border: 0;
    border-radius: 11px;
    background:
        linear-gradient(
            135deg,
            var(--fm-admin-blue),
            var(--fm-admin-blue-dark)
        );
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    box-shadow:
        0 8px 24px
        rgba(
            21,
            101,
            192,
            0.23
        );
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}
.fm-login-button:hover {
    color: #ffffff;
    transform:
        translateY(-1px);
    box-shadow:
        0 11px 30px
        rgba(
            21,
            101,
            192,
            0.30
        );
}
.fm-login-button:active {
    transform:
        translateY(0);
}
/*
|--------------------------------------------------------------------------
| Card Footer
|--------------------------------------------------------------------------
*/
.fm-login-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 27px;
    padding-top: 22px;
    border-top:
        1px solid
        #edf1f4;
    color:
        #87939d;
    font-size: 0.74rem;
}
.fm-lock-symbol {
    color:
        var(--fm-admin-green);
    font-size: 0.55rem;
}
/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/
.fm-login-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
    padding:
        0 5px;
    color:
        var(--fm-admin-muted);
    font-size: 0.78rem;
}
.fm-login-footer a {
    color:
        var(--fm-admin-blue);
    text-decoration: none;
    font-weight: 650;
}
.fm-login-footer a:hover {
    color:
        var(--fm-admin-navy);
}
/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/
@media (
    max-width: 575.98px
) {
    .fm-login-card {
        padding:
            30px 22px;
        border-radius: 19px;
    }
    .fm-login-card::before {
        left: 22px;
        right: 22px;
    }
    .fm-login-brand {
        justify-content:
            flex-start;
    }
    .fm-login-logo {
        width: 54px;
        height: 54px;
        border-radius: 14px;
    }
    .fm-login-brand-name {
        font-size:
            1.35rem;
    }
    .fm-login-footer {
        flex-direction:
            column;
        justify-content:
            center;
        gap: 8px;
        text-align:
            center;
    }
}