:root {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

/* Background image is set inline on <body> in login.aspx so its path stays page-relative */
body {
    margin: 0;
    min-height: 100vh;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: grid;
    place-items: center;
    padding: 28px 16px;
}

form {
    width: 100%;
    display: grid;
    place-items: center;
    margin: 0;
}

.login {
    width: min(100%, 550px);
    border: 1px solid rgba(206, 233, 255, .76);
    border-radius: 23px;
    background: linear-gradient(145deg, rgba(45, 98, 155, .30), rgba(1, 24, 68, .42) 60%, rgba(35, 115, 169, .26));
    box-shadow: 0 22px 75px rgba(0, 12, 42, .38), inset 0 1px rgba(255, 255, 255, .25);
    -webkit-backdrop-filter: blur(11px);
    backdrop-filter: blur(11px);
    padding: 32px 42px 34px;
}

.brand {
    text-align: center;
}

.brand img {
    max-width: 100%;
    max-height: 90px;
    height: auto;
}

.tagline {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin: 20px 0;
}

.rule {
    height: 1px;
    background: linear-gradient(90deg, transparent, #a3c6e8, transparent);
    margin-bottom: 19px;
}

.notice {
    text-align: center;
    font-size: 14px;
    margin-bottom: 15px;
    letter-spacing: .2px;
}

.notice strong {
    color: #24c9ff;
}

.field {
    margin-bottom: 15px;
}

.field label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.input-wrap {
    height: 44px;
    border: 1px solid rgba(198, 227, 255, .7);
    border-radius: 5px;
    display: flex;
    align-items: center;
    background: rgba(135, 193, 240, .22);
    overflow: hidden;
    transition: .2s;
}

.input-wrap:focus-within {
    border-color: #65d8ff;
    box-shadow: 0 0 0 3px rgba(35, 176, 255, .23);
    background: rgba(124, 185, 238, .30);
}

.input-icon {
    height: 100%;
    width: 46px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-right: 1px solid rgba(216, 239, 255, .25);
}

svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.input-wrap input[type=text],
.input-wrap input[type=password] {
    background: none;
    border: 0;
    outline: 0;
    color: #fff;
    font-size: 15px;
    width: 100%;
    height: 100%;
    padding: 0 15px;
    min-width: 0;
    font-family: 'Poppins', sans-serif;
}

input::placeholder {
    color: rgba(255, 255, 255, .83);
}

.eye {
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: 0 12px;
}

.remember {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    margin: 10px 0 22px;
}

.remember input {
    width: 18px;
    height: 18px;
    accent-color: #fff;
    margin: 0;
}

.remember label {
    margin: 0;
    cursor: pointer;
}

.submit {
    width: 100%;
    border: 0;
    border-radius: 5px;
    background: linear-gradient(110deg, #04b9f7, #126cf6 55%, #0344e8);
    box-shadow: 0 10px 22px rgba(0, 81, 230, .27);
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    font-family: inherit;
    padding: 10px 15px;
}

.submit:hover {
    filter: brightness(1.08);
}

.login-validation {
    margin: 0 0 18px;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 9px;
    background: rgba(220, 53, 69, .28);
    border: 1px solid rgba(255, 160, 170, .7);
    color: #fff;
}

.login-validation ul {
    margin: 6px 0 0;
    padding-left: 20px;
}

.login-foot {
    text-align: center;
    font-size: 13px;
    margin-top: 18px;
}

@media (max-width: 570px) {
    .login {
        padding: 26px 22px;
    }

    .tagline {
        font-size: clamp(16px, 4.5vw, 20px);
    }

    .notice {
        font-size: 12px;
    }

    .field label, .input-wrap input[type=text], .input-wrap input[type=password] {
        font-weight: 600;
    }
}
