/*
* PHP Attendance Management System
* Email: heyalexluna@gmail.com
* Version: 1.1
* Author: Alexis Luna
* Copyright 2019 Alexis Luna
* Website: https://github.com/mralexisluna/php-attendance-management-system
*/

body {
    background: #f1f1f1;
}

.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: 1px 2px 10px 0 rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 480px;
    max-width: 480px;
    height: auto;
    margin: 0 auto;
    background-color:#57648C;
    color: #fff;
}

.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.align-center {
    text-align: center;
}

.logo img {
    max-width: 270px !important;
}

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

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

.has-error .help-block {
    color: #fff;
}

/* =====================
   Base Layout + Wrapper
   ===================== */
.login-wrapper {
    display: flex;
    min-height: 100vh;
}

/* =========================
   Left Side (Form Section)
   ========================= */
.login-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 40px;
}

.logo-brand {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.login-logo {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

.lead {
    font-size: 30px;
    margin: 0;
}

/* Sign in Title + Subtitle */
.login-title {
    font-size: 40px;
    margin: 10px 0;
}

.login-subtitle {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* The form itself */
.login-form {
    width: 100%;
    max-width: 400px;
    padding: 0 32px;
}

/* Form groups and inputs */
.form-group {
    max-width: 500px;
    margin: 0 auto 15px;
}

.form-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Error messages */
.error {
    color: red;
    font-size: 0.9em;
}

/* Button group for '로그인' / '회원가입' */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: 20px auto 0;
}

.btn-login {
    background-color: #1678c2;
    color: #ffffff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
}

.btn-signup {
    background-color: #ffffff;
    color: #1678c2;
    text-align: center;
    padding: 12px;
    border: 2px solid #1678c2;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
}

/* ===========================
   Right Side (Image Section)
   =========================== */
.login-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background-color: skyblue;*/
    background: linear-gradient(82deg, #9B6EEF 0.17%, #0067D8 100%);
    padding: 40px;
}

.login-illustration {
    max-width: 400px;
    max-height: 400px;
    width: 100%;
    height: auto;
}

@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: 95%;
    }

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

@media (max-width: 768px) {
    .login-right {
        display: none;
    }

    .login-wrapper {
        flex-direction: column;
    }

    .login-left {
        width: 100%;
        height: 100vh;
        flex: none;
        padding: 20px;
    }

    .login-title {
        font-size: 28px;
    }

    .login-subtitle {
        font-size: 18px;
    }

    .btn-login, .btn-signup {
        font-size: 14px;
    }
}