﻿/* =========================================================
   TSL ZENTRALER LOGIN
   wwwroot/css/login.css
========================================================= */


/* =========================================================
   LOGIN SEITE
========================================================= */

.tsl-login-page {
    position: fixed;
    inset: 0;
    z-index: 9999;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
    background: radial-gradient( circle at 20% 10%, rgba(37, 99, 235, .20), transparent 35% ), radial-gradient( circle at 85% 85%, rgba(30, 64, 175, .12), transparent 30% ), linear-gradient( 145deg, #07101e 0%, #050b16 50%, #020711 100% );
    color: #ffffff;
}


/* =========================================================
   LOGIN CONTAINER
========================================================= */

.tsl-login-container {
    width: 100%;
    max-width: 460px;
    margin: auto;
}


/* =========================================================
   BRAND
========================================================= */

.tsl-login-brand {
    margin-bottom: 30px;
    text-align: center;
}

.tsl-login-logo {
    font-size: 58px;
    font-weight: 900;
    line-height: .95;
    letter-spacing: -3px;
    color: #ffffff;
    text-shadow: 0 8px 35px rgba(59,130,246,.20);
}

.tsl-login-company {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #94a3b8;
}

.tsl-login-system {
    margin-top: 7px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #475569;
}


/* =========================================================
   LOGIN CARD
========================================================= */

.tsl-login-card {
    width: 100%;
    padding: 34px !important;
    background: linear-gradient( 180deg, rgba(17, 28, 49, .97), rgba(8, 16, 29, .98) ) !important;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px !important;
    box-shadow: 0 25px 70px rgba(0,0,0,.50), inset 0 1px 0 rgba(255,255,255,.035);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* =========================================================
   ÜBERSCHRIFT
========================================================= */

.tsl-login-title {
    margin: 0;
    font-size: 25px;
    font-weight: 750;
    line-height: 1.2;
    color: #ffffff;
}

.tsl-login-subtitle {
    margin-top: 7px;
    margin-bottom: 26px;
    font-size: 14px;
    line-height: 1.5;
    color: #94a3b8;
}


/* =========================================================
   FORMULAR
========================================================= */

.tsl-login-form {
    width: 100%;
}

.tsl-login-field {
    width: 100%;
    margin-bottom: 17px;
}


/* =========================================================
   MUDBLAZOR INPUTS NUR INNERHALB LOGIN
========================================================= */

.tsl-login-card .mud-input-control {
    width: 100%;
}

.tsl-login-card .mud-input-outlined {
    border-radius: 12px !important;
}

.tsl-login-card .mud-input {
    color: #ffffff !important;
}

.tsl-login-card input {
    color: #ffffff !important;
}

    .tsl-login-card input::placeholder {
        color: #64748b !important;
        opacity: 1;
    }

.tsl-login-card .mud-input-label {
    color: #94a3b8 !important;
}

.tsl-login-card .mud-input-adornment {
    color: #64748b !important;
}

    .tsl-login-card .mud-input-adornment .mud-icon-root {
        color: #64748b !important;
    }

.tsl-login-card .mud-input-control:hover
.mud-input-adornment .mud-icon-root {
    color: #60a5fa !important;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.tsl-login-button {
    width: 100%;
    min-height: 52px !important;
    margin-top: 8px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    box-shadow: 0 10px 30px rgba(37,99,235,.22);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .tsl-login-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 35px rgba(37,99,235,.30);
    }

    .tsl-login-button:active {
        transform: translateY(0);
    }


/* =========================================================
   FEHLERMELDUNG
========================================================= */

.tsl-login-error {
    margin-bottom: 18px !important;
    border: 1px solid rgba(239,68,68,.20) !important;
    border-radius: 12px !important;
    background: rgba(239,68,68,.08) !important;
    color: #fecaca !important;
}


/* =========================================================
   LADEANZEIGE
========================================================= */

.tsl-login-progress {
    margin-bottom: 16px;
}


/* =========================================================
   FOOTER
========================================================= */

.tsl-login-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
    color: #475569;
}

    .tsl-login-footer strong {
        color: #64748b;
    }


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .tsl-login-page {
        padding: 18px;
    }

    .tsl-login-container {
        max-width: 430px;
    }

    .tsl-login-brand {
        margin-bottom: 24px;
    }

    .tsl-login-logo {
        font-size: 50px;
    }

    .tsl-login-company {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .tsl-login-card {
        padding: 28px 22px !important;
        border-radius: 19px !important;
    }

    .tsl-login-title {
        font-size: 23px;
    }

    .tsl-login-subtitle {
        font-size: 13px;
        margin-bottom: 22px;
    }

    .tsl-login-button {
        min-height: 54px !important;
    }
}


/* =========================================================
   SEHR KLEINE HANDYS
========================================================= */

@media (max-width: 380px) {

    .tsl-login-page {
        padding: 12px;
    }

    .tsl-login-logo {
        font-size: 44px;
    }

    .tsl-login-company {
        letter-spacing: 2.2px;
    }

    .tsl-login-card {
        padding: 24px 17px !important;
        border-radius: 17px !important;
    }
}
