@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;800;900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
    color: #000;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
}

input,
button,
select {
    font: inherit;
    border: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.login {
    width: 100vw;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login__form-section {
    flex: 1;
}

.login__brand-section {
    flex: 1;
    height: 100%;
    width: 50%;
    background:
        linear-gradient(to top left, rgba(247, 103, 7, 0.877), rgba(255, 169, 77, 0.801)),
        url('../../public/login/image/green-tree.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}



.login-heading {
    font-size: 2.6rem;
    color: #ffff;
    background: linear-gradient(to right, #f76707, #ffa94d);

    padding: .6rem 1.6rem;
    transform: rotate(-8deg);
}

.secondary {
    font-size: 2rem;
    background: linear-gradient(to right, #ffa94d, #f76707) !important;
}


.blinking-cursor {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: currentColor;
    border-radius: 50%;
    margin-left: 4px;
}


.login__form-section {
    display: grid;
    grid-template-columns: min-content 1fr min-content;
    grid-template-rows: min-content 1fr min-content;

    width: 100%;
    height: 100%;
    padding: 3.6rem;
}

.brand__imagebox {
    overflow: hidden;
    background-color: #ffff;
    display: flex;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-transform: uppercase;
    font-weight: 900;
}

.brand__image {
    width: 4.8rem;
    overflow: hidden;
    background-color: #ffff;
}


.showHidePassword {
    cursor: pointer;
}

.empty {
    width: 6.4rem;
    grid-column: 3/ 4;
    grid-row: 3/ 4;
    background-color: blue;
}

.login__from {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    max-width: 35rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    justify-self: center;
    align-self: center;
    padding: 2.4rem 24px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    font-size: 1.6rem;
    color: #555;
}

input::placeholder {
    color: #aaa;
    font-size: 14px;
}

input:focus {
    outline: none;
    box-shadow: none;
}

.alert {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.6rem;
    background-color: #fff;
    z-index: 100;
    padding: 1.6rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: green;
    border-left: 6px solid currentColor;
    font-weight: bold;

    display: none;
}

.heading-4 {
    color: #3d3d3d;
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.heading-4 i {
    color: #364fc7;
}

.input__wrapper {
    border: 1px solid #00000026;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .6rem 1.2rem;
    border-radius: 4px;
}

.input__wrapper i {
    color: #364fc7;
    font-weight: 900;
}

.input__wrapper-flex {
    border: none !important;
    justify-content: space-between;
    font-size: 1.2rem;
    padding: 0;
    align-items: center;
    justify-content: space-between;
    color: #aaa;
    margin-bottom: 1rem;
    margin-top: -8px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#login-in {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    padding: .6rem;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    background-color: #4263eb;
    color: #fff;
    transition: all 0.3s;
    cursor: pointer;

    position: relative;
}

#login-in:hover {
    background-color: rgb(5, 24, 121);
}

#login-in i {
    line-height: 1;
    font-size: 1.8rem;

}

#login-in.loading::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    transform: translateY(-50%);
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}