/*
* Business App - A time clock application for employees
* Version: 1.6
* Copyright 2021 MFMP
*/

body {
    background: #f4f6f8;
    color: #182230;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.vertical-align-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    display: table;
}

.vertical-align-middle {
    display: table-cell;
    vertical-align: middle;
}

.auth-box {
    -moz-box-shadow: 1px 2px 10px 0 rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 1px 2px 10px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 480px;
    max-width: 480px;
    height: auto;
    margin: 0 auto;
    background-color: #ffffff;
    color: #344054;
}

.auth-box .content {
    display: inline-block;
    vertical-align: middle;
    *vertical-align: auto;
    *zoom: 1;
    *display: inline;
    width: 99%;
    padding: 30px;
    vertical-align: middle;
}

.auth-box .form-auth-small .btn {
    margin-top: 20px;
}

.auth-box .form-auth-small .element-left {
    float: left;
}

.auth-box .form-auth-small .element-right {
    float: right;
}

.auth-box .form-auth-small .bottom {
    margin-top: 20px;
    text-align: center;
}

.auth-box .lead {
    margin: 10px 0;
    font-size: 18px;
    text-align: center;
}

.auth-box .helper-text {
    font-size: 13px;
    color: #EEEEEE;
}

.auth-box .helper-text a {
    color: #B3E5FC;
}

.auth-box .btn-signin-social {
    display: block;
    margin-bottom: 15px;
    padding: 10px 22px;
    width: 100%;
    background-color: #fff;
    border-color: #e4ecf0;
}

.auth-box .btn-signin-social:hover,
.auth-box .btn-signin-social:focus {
    background-color: #fafafa;
}

.auth-box .btn-signin-social i {
    font-size: 16px;
    margin: 5px;
}

.auth-box.lockscreen {
    width: 50%;
    padding: 40px 60px;
}

.auth-box.lockscreen .logo {
    margin-bottom: 30px;
}

.auth-box.lockscreen .user {
    margin-bottom: 30px;
}

.auth-box.lockscreen .user .name {
    font-size: 18px;
    margin-top: 10px;
}

.logo img {
    width: 60% !important;
    height: 60% !important;
}

.logo.align-center {
    text-align: center;
}

.color-white {
    color: #344054 !important;
}

.form-auth-small input[type="email"],
.form-auth-small input[type="password"] {
    min-height: 46px;
    border-color: #98a6b5 !important;
}

.form-auth-small .ui.green.button {
    min-height: 46px;
    background: #16764a;
}

.form-auth-small :focus-visible {
    outline: 3px solid #0b76b7 !important;
    outline-offset: 2px;
}

.help-block {
    display: block;
    margin: 5px 0;
    font-weight: lighter;
    font-size: 12px;
}

@media screen and (min-width: 1440px) {
    .auth-box.lockscreen {
        width: 35%;
    }
}

@media screen and (max-width: 1279px) {
    .auth-box {
        width: 90%;
    }
}

@media screen and (max-width: 992px) {
    .auth-box {
        width: 70%;
    }

    .auth-box.lockscreen {
        width: 50%;
        padding: 40px 20px;
    }
}

@media screen and (max-width: 767px) {
    .ui.form .fields {
        margin: 0 -.5em 1em;
    }
}

@media screen and (max-width: 640px) {
    .auth-box {
        width: 90%;
    }

    .auth-box .content {
        width: 100%;
        padding: 24px 20px;
    }

    .auth-box.lockscreen {
        width: 90%;
    }
}

/* Apple-inspired authentication */
html,
body {
    min-height: 100%;
}

body {
    position: relative;
    overflow: hidden;
    color: #1d1d1f;
    background: #f5f5f7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 42% 0 0;
    z-index: -1;
    content: "";
    background-image: url("../images/img/clock-background.webp");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.3;
    filter: saturate(0.78) contrast(0.94);
}

.auth-box {
    width: min(92%, 430px);
    max-width: 430px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    color: #1d1d1f;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(24px) saturate(1.4);
}

.auth-box .content {
    width: 100%;
    padding: 36px;
}

.auth-box .logo img,
.logo img {
    width: 176px !important;
    height: auto !important;
}

.auth-box .lead {
    margin: 18px 0 26px;
    color: #6e6e73;
    font-size: 17px;
    font-weight: 500;
}

.color-white,
.form-auth-small .ui.checkbox label {
    color: #3a3a3c !important;
}

.form-auth-small .field > label {
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
}

.form-auth-small input[type="email"],
.form-auth-small input[type="password"] {
    min-height: 48px;
    border: 1px solid rgba(0, 0, 0, 0.18) !important;
    border-radius: 8px !important;
    color: #1d1d1f !important;
    background: rgba(255, 255, 255, 0.88) !important;
}

.form-auth-small input:focus {
    border-color: #0071e3 !important;
    outline: 0 !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.13) !important;
}

.form-auth-small .ui.primary.button {
    min-height: 48px;
    margin-top: 22px;
    border-radius: 8px;
    color: #ffffff;
    background: #0071e3;
    box-shadow: 0 3px 10px rgba(0, 113, 227, 0.22);
    font-weight: 600;
}

.form-auth-small .ui.primary.button:hover,
.form-auth-small .ui.primary.button:focus {
    background: #0077ed;
}

.form-auth-small :focus-visible {
    outline-color: #0071e3 !important;
}

.help-block {
    color: #d70015;
}

@media screen and (max-width: 640px) {
    .auth-box .content {
        padding: 28px 22px;
    }

    .auth-box .logo img,
    .logo img {
        width: 154px !important;
    }
}
