@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Rubik", sans-serif;
}

body {
    line-height: 1.6;
    background-color: #FFFFFF;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    width: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    min-height: 100vh;
    overflow: hidden;
}

.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-content {
    position: relative;
    width: 100%;
    max-width: 443px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.login-content img.logo{
    width: 240.72px;
    height: 79.79px;
    object-fit: contain;
}

.login-content h2 {
    font-size: 24px;
    color: #0C0C0C;
    font-weight: 500;
    margin-bottom: 0;
}

.login-content form {
    display: flex;
    flex-direction: column;
    gap: 35px;
    width: 100%;
}

.form-login {
    gap: 16px;
}

.form-login input {
    width: 100%;
    height: 56px;
    padding: 15px;
    background: var(--Color-input-disabled, #DEDEDE80);
    border: 1px solid var(--Color-input-default, #CACACA);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    color: var(--Color-text-primary, #0C0C0C);
    outline: none;
    box-sizing: border-box;
}

.form-login input[type="text"]:focus,
.form-login input[type="password"]:focus {
    border: 1px solid var(--Color-input-focus, #0C0C0C);
    background: var(--Color-input-disabled, #DEDEDE80);
}

.forgot-password-link {
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0%;
    color: #45A9F2;
    text-decoration: underline;
    text-align: right;
    display: block;
    width: 100%;
    text-underline-offset: 2px;
}

.check-box {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    padding-bottom: 22px;
    padding-top: 12px;
}

.check-box input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
    cursor: pointer;
}

.check-box label {
    position: relative;
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--Color-text-disiabled, #8B8B8B);
    padding-left: 32px;
    transition: color 0.2s ease;
}

.check-box label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--white, #FFFFFF);
    border-radius: 4px;
    border: 2px solid var(--Color-text-disiabled, #8B8B8B);
    box-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.check-box input[type="checkbox"]:checked + label::before {
    background-color: var(--Color-Green-L, #4EDDB2);
    border: 2px solid var(--Color-Green-L, #4EDDB2);
    box-shadow: 0 0 8px rgba(78, 221, 178, 0.6);
}

.check-box label::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 30%;
    transform: translateY(-50%) rotate(45deg); 
    width: 6px;
    height: 15px;
    border: solid white;
    border-width: 0 2px 2px 0;
    display: none;
}

.check-box input[type="checkbox"]:checked + label::after {
    display: block;
}

.check-box input[type="checkbox"]:checked + label {
    color: var(--Color-text-primary, #0C0C0C); 
}

.login-button {
    background: #C52B27;
    color: #FFFFFF;
    width: 100%;
    height: 50px;
    border-radius: 8px;
    border: 1px solid #C52B27;
    padding: 16px 28px;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.25);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.login-button img {
    color: #FFFFFF;
}

.login-button span {
    white-space: nowrap;
}

.login-button:hover {
    background-color: #a3221f;
    border-color: #a3221f;
}

.back-home-link a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 137px;
    height: 48px;
    gap: 12px;
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0%;
    color: #45A9F2;
    text-decoration: none;
    text-underline-offset: 2px;
}
.back-home-link a span {
    text-decoration: underline;
}

.back-home-link a i{
    width: 17px;
    color: black;
    text-decoration: none;
}

.right-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.right-box img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.form-login .errorlist {
    color: #DF312C;
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    list-style: none;
    padding: 0;
    margin-top: 5px;
}

.form-login .has-error input {
    border: 1px solid var(--Color-text-error, #DF312C) !important;
}

.field-error {
    font-family: "Nunito", sans-serif;
    color: var(--Color-btn-primary, #C52B27);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0%;
}