@import 'vars.css';

body {
    font-family: "Poppins", sans-serif;
    min-height: 100vh;
    margin: 0;
    background: #ffffff;
    color: #1f2933;
}

.wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 24px;
}

.fara-logo {
    width: 10.5em;
}

#icon {
    margin-top: 2.2rem;
    margin-bottom: 1.2rem;
}

#formContent {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border: 1px solid #e0e6ee;
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(27, 41, 61, 0.12);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#formContent::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 9px;
    background: var(--fara-primary);
}


#formContent>* {
    position: relative;
    z-index: 1;
}

#formContent form {
    padding: 0 24px 24px 30px;
}

#formContent .alert {
    width: 85%;
    margin: 8px auto;
    text-align: left;
    font-size: 0.9rem;
}

input[type=text],
input[type=password] {
    width: 85%;
    margin: 7px 5px;
    padding: 13px 14px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background-color: #f8fafc;
    color: #0d0d0d;
    font-size: 16px;
    text-align: left;
    transition: all 0.3s ease-in-out;
}

input[type=text]:focus,
input[type=password]:focus {
    background-color: #ffffff;
    border-color: var(--fara-primary-focus-light-border);
    box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.12);
}

input[type=text]::placeholder,
input[type=password]::placeholder {
    color: #a4acb6;
}

input[type=submit] {
    width: calc(85% + 2px);
    margin: 14px 5px 6px;
    padding: 13px 18px;
    border: none;
    border-radius: 8px;
    background-color: var(--fara-primary);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

input[type=submit]:hover {
    background-color: var(--fara-primary-hover);
}

input[type=submit]:active {
    transform: scale(0.98);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fadeIn {
    opacity: 0;
    animation: fadeIn ease-in 1 forwards;
    animation-duration: 1s;
}

.fadeIn.first {
    animation-delay: 0.4s;
}

.fadeIn.second {
    animation-delay: 0.6s;
}

.fadeIn.third {
    animation-delay: 0.8s;
}

.fadeIn.fourth {
    animation-delay: 1s;
}

*:focus {
    outline: none;
}