html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    background-color: #171619;
    width: 100vw;
    height: 100vh;
    font-family: "Roboto Condensed", "Arial", sans-serif;
    font-size: 0.875rem;
    color: #f5f5f5;
}

input {
    color-scheme: dark;
}

    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        color: #f5f5f5;
        -webkit-box-shadow: 0 0 0px 100px #424242 inset;
        box-shadow: 0 0 0px 100px #424242 inset;
    }

a {
    color: #f5f5f5;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

    .container img {
        margin-bottom: 2rem;
    }

.error-card {
    display: flex;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #ffecec;
    border: 1px solid #ffd7d7;
    border-radius: 4px;
    max-width: 250px;
}
    .error-card > ul {
        padding: 0;
        list-style-type: none;
    }

    .error-card > ul > li {
        color: #e00000;
    }

    .error-card > span {
        color: #e00000;
    }

form {
    min-width: 250px;
}

.form-control {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

    .form-control input {
        color: #f5f5f5;
        padding: 6px 12px;
        background: #424242;
        border: 1px solid #616161;
        border-radius: 4px;
        line-height: 20px;
        outline: none;
    }

    .form-control.error input {
        border-color: #e00000;
    }

    .form-control input::placeholder {
        color: #757575;
        font-family: "Roboto Condensed", "Arial", sans-serif;
        font-size: 0.875rem;
    }

    .form-control input:hover {
        background: linear-gradient(#424242, #424242) padding-box, linear-gradient(22.5deg, #ffffff 0%, #000000 100%) border-box;
        border: 1px solid transparent;
        border-radius: 4px;
    }

    .form-control input:focus {
        background: linear-gradient(#424242, #424242) padding-box, linear-gradient(22.5deg, #ffffff 0%, #000000 100%) border-box;
        border: 1px solid transparent;
        border-radius: 4px;
    }

    .form-control > span.error-text {
        display: none;
        line-height: 1.5;
        font-size: 12px;
    }

    .form-control.error > span.error-text {
        color: #e00000;
        display: block;
    }

.password-requirements > p {
    margin: 0;
}

.password-requirements > ul {
    margin-top: 6px;
    padding: 0;
    list-style-type: none;
}

    .password-requirements > ul > li {
        line-height: 1.8;
    }

a.forgot_password {
    display: block;
    margin-bottom: 1rem;
}

.form-check {
    display: flex;
    margin-bottom: 1rem;
}

    .form-check label {
        display: inline-flex;
        -webkit-box-align: center;
        align-items: center;
        cursor: pointer;
        vertical-align: middle;
        -webkit-tap-highlight-color: transparent;
    }

.base_check {
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    background-color: transparent;
    outline: 0px;
    border: 0px;
    margin: 0px;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    text-decoration: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    padding-right: 0.5rem;
}

    .base_check > input {
        cursor: inherit;
        position: absolute;
        opacity: 0;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        margin: 0px;
        padding: 0px;
        z-index: 1;
    }

    .base_check > span {
        border-radius: 4px;
        width: 20px;
        height: 20px;
        background-color: rgb(10, 10, 10);
        border: 1px solid rgb(194, 194, 194);
    }

.form-check label:hover .base_check input:not(:checked) + span {
    background: linear-gradient(#0a0a0a, #0a0a0a) padding-box, linear-gradient(22.5deg, #ffffff 0%, #000000 100%) border-box;
    border: 1px solid transparent;
}

.base_check input:checked + span {
    border-radius: 4px;
    width: 20px;
    height: 20px;
    background-color: #0a0a0a;
    background-image: linear-gradient(22.5deg, #ffffff 0%, #000000 100%);
    border: 1px solid transparent;
}

    .base_check input:checked + span::before {
        display: block;
        height: 20px;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z' fill='%0A0A0A'/%3E%3C/svg%3E");
        content: "";
    }

.form-check label span.text {
    margin: 0px;
    font-weight: 400;
    line-height: 1.5;
}

.button_base {
    font-family: "Roboto Condensed", "Arial", sans-serif;
    font-size: 0.875rem;
    padding: 6px 16px;
    background: transparent;
    outline: none;
    border: none;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    color: #f5f5f5;
    border-radius: 4px;
}

.contained {
    background-color: #ffffff;
    color: #0A0A0A;
    border: 1px solid #CCCCCC;
}

    .contained:hover {
        background-color: #f5f5f5;
        border: 1px solid #999999;
    }

.link {
    font-weight: bold;
    background: #ffffff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.linkcenter {
    font-weight: bold;
    text-align: center;
    background: #ffffff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
