* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif !important;
    color: var(--text);
}

body {
    background: var(--lower-grey-contrast) !important;
    display: flex;
    justify-content: center;
}

section {
    background: var(--background-color);
    border: 1px solid var(--lower-grey-contrast);
    border-radius: 1rem;
    box-shadow: 10px 5px 20px var(--low-grey-contrast);
    max-height: 30rem;
    width: 60%;
    max-width: 70rem;
    height: 80%;
    display: flex;
    align-self: center;
}

section .contentBx {
    margin: 0 3rem;
}

section form h2 {
    text-align: center;
    margin: 0 0 3rem;
    font-size: 20px;
}

section form h2 .name {
    white-space: nowrap;
}

.error-msg,
.error-msg p {
    margin-bottom: 0.5rem;
    color: var(--error);
    font-size: 13px;
    font-weight: var(--font-weight-600);
}

.error-msg ul {
    list-style: none;
    margin-left: 1.5rem;
}

.error-msg li {
    margin-top: 0.3rem;
    color: var(--error);
    font-size: 13px;
    font-weight: var(--font-weight-600);
}

section .imgBx {
    position: relative;
    border-radius: 0 1rem 1rem 0;
    border: solid 1px var(--lower-grey-contrast);
    width: 65%;
    max-width: 65%;
    height: 100%;
}

section .imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 1rem 1rem 0;
}

section .contentBx {
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35%;
    height: 100%;
}

section .logoBx {
    display: flex;
    justify-content: center;
    margin: 20px;
}

section .logoBx img {
    max-width: 5rem;
}

section form .error-msg {
    margin: 20px 0;
    padding: 10px;
    border-radius: var(--border-radius);
    color: var(--error);
    background-color: var(--error-background);
    font-weight: var(--font-weight-500);
}

section form .flash-success {
    margin: 20px 0;
    padding: 10px;
    border-radius: var(--border-radius);
    color: var(--success);
    background-color: var(--success-background);
    font-weight: var(--font-weight-500);
    text-align: center;
}

section .contentBx .formBx .inputBx {
    margin-bottom: 20px;
}

section .contentBx .formBx .inputBx label {
    display: inline-block;
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.password {
    position: relative;
}

.password-input {
    padding-right: 40px;
}

.password-svg {
    position: absolute;
    top: 50%;
    right: 10px;
    fill: var(--primary-color);
    cursor: pointer !important;
}

.password-svg:hover {
    fill: var(--secondary-color);
}

.hidden-svg {
    display: none !important;
}

section .contentBx .formBx .inputBx input {
    width: 100%;
    padding-left: 1.125rem;
    padding-right: 1.125rem;
    outline: none;
    border: 0.0625rem solid var(--low-grey-contrast);
    line-height: 1;
    font-size: 0.875rem;
    border-radius: var(--border-radius);
    height: 2.25rem;
}

section .contentBx .formBx .inputBx input[type="submit"] {
    width: auto;
    background: var(--primary-color);
    color: var(--background-color);
    border: none;
    margin-top: 10px;
    cursor: pointer;
}

section .contentBx .formBx .inputBx input[type="text"]:focus,
section .contentBx .formBx .inputBx input[type="password"]:focus {
    border: 0.0625rem solid var(--primary-color);
}

section .contentBx .formBx .submitDiv {
    text-align: end;
}

section .contentBx .formBx .inputBx input[type="submit"]:hover {
    background: var(--on-background-color);
}

section .contentBx .formBx .remember {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: var(--font-weight-500);
}

section .contentBx .formBx .remember input[type="checkbox"] {
    vertical-align: middle;
    margin-right: 5px;
    width: 16px;
    height: 16px;
    position: relative;
    cursor: pointer;
    accent-color: var(--primary-color);
}

section .contentBx .formBx .remember p {
    color: var(--primary-color);
}

section .contentBx .formBx .remember p a {
    color: var(--secondary-color);
}

section .forgetPassword {
    text-align: end;
}

section .forgetPassword a {
    font-size: 0.875rem;
    color: var(--primary-color);
    text-decoration: none;
}

.ckt_version {
    color: var(--medium-grey-contrast);
    text-align: center;
    font-size: 0.6rem;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

@media screen and (max-width: 1020px) {
    .background-blur::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-image: url("../images/login_img.png");
        background-size: cover;
        background-repeat: no-repeat;
        filter: blur(10px);
    }

    body {
        position: relative;
    }

    section {
        margin-top: 13.5%;
        z-index: 2;
    }

    section .imgBx {
        display: none;
    }

    section .contentBx {
        font-size: 1.15rem;
        width: 100%;
        margin: 0 !important;
    }

    section .contentBx .formBx {
        margin: 0rem 2rem;
        border-radius: var(--border-radius);
    }
}
