/* Font */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@600&family=IBM+Plex+Sans:wght@400&display=swap');
/*  */

body {
    background-image: url('../images/login_bg.png');
    background-size: cover;
    background-position: center center ;
    background-attachment: fixed;
    background-repeat: no-repeat;
    height: 100vh;
    margin: 0;
    padding: 0;
}

#banner {
    /* max-width: 706px; */
    /* min-width: 706px; */
    width: 100%;
    height: auto;
    border-radius: 24px 0px 0px 0px;
    padding: 40px 30px;
}

.card {
    border: none;
    width: 436px;
    padding: 24px 10px 0px;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0px 14px 6.8px 0px #E7E7E729;
}

.title {
    font-family: 'Hanken Grotesk';
    font-size: 28px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -0.02em;
    color: #101828;
    text-align: center;
}

.sub-title {
    margin-top: -10px;
    font-family: 'IBM Plex Sans';
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-align: center;
    color: #667085;
}


.form-label {
    color: #667085;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
}

.form-control {
    height: 42px;
    border: 1px 0px 0px 0px;
    opacity: 0px;
    border: 2px solid #D0D5DD;
    color: #98A2B3;
}

.form-control:focus {
    box-shadow: none;
    border: 1px solid #667085;
    color: #98A2B3;
}

.form-header {
    height: 40px;
    border-radius: 12px;
    background-color: #EAEFF5;
    display: flex;
    align-items: center;
}

.form-header p {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 18px;
    margin: 10px;
    color: #98A2B3;
}

.form-control::placeholder {
    font-family: 'IBM Plex Sans', sans-serif;
    color: #98A2B3;
    font-size: 14px;
}

#caps-lock {
    color: #FAB55B;
    display: none;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    text-align: left;
}

.required {
    color: #EF2C1F;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
}

.invalid-message {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #EF2C1F;
}

.btn {
    padding: 10px;
}

.btn-primary {
    border-color: #2D5D9F;
    background-color: #2D5D9F;
}

.btn-primary:hover {
    background-color: #264E85;
}

#logo-img {
    width: 125.19px;
    height: 32px;
    padding: 0px 0.19px 0px 1px;
    gap: 0px;
    opacity: 1;
}

.input-container {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
}

#alertContainer {
    z-index: 9999;
    width: 29%;
    position: fixed;
    top: 0;
    right: 0;
    margin: 20px 20px;
}


/* Alert */
.alert {
    border: none;
    font-weight: 400;
}

.alert-heading {
    font-family: 'Hanken Grotesk', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 18px;
}

.alert-body {
    font-family: 'IBM Plex Sans', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.alert-info {
    background-color: #F8FAFC;
}

.alert-heading-info {
    color: #264E85;
}

.alert-body-info {
    color: #5078AF;
}

.alert-border-info {
    border-left: 6px solid #2D5D9F
}

.alert-warning {
    background-color: #FDE9CE;
}

.alert-heading-warning {
    color: #C47208;
}

.alert-body-warning {
    color: #E28409;
}

.alert-border-warning {
    border-left: 6px solid #E28409
}

.alert-success {
    background-color: #EBF9F2;
}

.alert-heading-success {
    color: #0C7A47;
}

.alert-body-success {
    color: #0F9556;
}

.alert-border-success {
    border-left: 6px solid #0F9556
}

.alert-danger {
    background-color: #FCDAD7;
}

.alert-heading-danger {
    color: #A02D25;
}

.alert-body-danger {
    color: #C8392F;
}

.alert-border-danger {
    border-left: 6px solid #C8392F
}
/* End Alert */

@media only screen and (max-width: 360px) {
    body {
        background-position: center center;
    }

    #banner {
        max-width: 800px;
        width: 100%;
        padding: 10% 5%;
        margin: auto;
    }

    .card {
        padding: 10% 3% 0%;
        max-width: 90%;
        width: 100%;
        margin: auto;
    }

    #logo-img {
        width: 120px;
    }

    .title {
        font-size: 19px;
    }

    .sub-title {
        margin-top: -10px;
        font-size: 14px;
    }

    .form-label {
        font-size: 14px;
    }

    .required {
        font-size: 14px;
    }

    .form-control {
        height: 40px;
        font-size: 13px
    }

    .form-control::placeholder {
        font-size: 13px;
    }

    .btn {
        padding: 5px;
    }

    #alertContainer {
        width: 90%;
    }

    .alert-heading {
        font-size: 16px;
    }

    .alert-body {
        font-size: 12px;
    }

    .alert button {
        padding:8px;
        font-size: 12px;
    }
}

@media only screen and (min-width: 361px) and (max-width: 576px) {
    body {
        background-position: center center;
    }

    #banner {
        max-width: 800px;
        width: 100%;
        padding: 8% 5%;
        margin: auto;
    }

    .card {
        padding: 10% 3% 0%;
        max-width: 90%;
        width: 100%;
        margin: auto;
    }

    .title {
        font-size: 22px;
    }

    .sub-title {
        margin-top: -10px;
        font-size: 15px;
    }

    #alertContainer {
        width: 90%;
    }

}

@media only screen and (min-width: 577px) and (max-width: 767px) {
    body {
        background-position: center center;
    }

    #banner {
        max-width: 800px;
        width: 100%;
        padding: 8% 5%;
        margin: auto;
    }

    .card {
        padding: 10% 3% 0%;
        max-width: 90%;
        width: 100%;
        margin: auto;
    }

    .title {
        font-size: 25px;
    }

    .sub-title {
        margin-top: -10px;
        font-size: 18px;
    }

    #alertContainer {
        width: 90%;
    }

}

@media only screen and (min-width: 768px) and (max-width: 992px) {
    body {
        background-position: center center;
    }

    #banner {
        max-width: 700px;
        width: 100%;
        padding: 5% 5%;
        margin: 50px auto;
    }

    .card {
        padding: 5% 2% 0%;
        max-width: 80%;
        width: 100%;
        margin: 50px auto;
    }

    #logo-img {
        width: 120px;
    }

    .title {
        font-size: 17px;
    }

    .sub-title {
        margin-top: -15px;
        font-size: 13px;
    }

    .form-label {
        font-size: 14px;
    }

    .required {
        font-size: 14px;
    }

    .form-control {
        height: 40px;
        font-size: 13px
    }

    .form-control::placeholder {
        font-size: 13px;
    }

    #alertContainer {
        width: 90%;
    }

    .btn {
        padding: 8px;
    }

}
