@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=REM:wght@400;700&display=swap');

:root {
    --primary: #DB313E;
    --primary-hover: #c12835;
    --text: #444;
    --text-light: #666;
    --title: #000;
    --text-button: #FFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    font-size: 13pt;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text);
    background: #ffffff;
}

@media screen and (max-width: 1680px) {
    body {
        font-size: 11pt;
    }
}

@media screen and (max-width: 1280px) {
    body {
        font-size: 10pt;
    }
}

@media screen and (max-width: 360px) {
    body {
        font-size: 9pt;
    }
}

h1 {
    color: var(--title);
    font-family: "REM", serif;
    font-weight: 700;
    line-height: 1.1;
    padding: 0 0 .5em 0;
}

h1 {
    font-size: 1.8em;
}
p {
    margin: 0 0 2em 0;
}

a {
    transition: color 0.2s ease-in-out;
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-hover);
}

#login-wrapper {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    background: #000000 url('../../images/bg-login.jpg') center right / cover no-repeat;
    position: relative;
}

#login-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 0;
}

.login-form-side {
    width: 600px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3em 2em;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    margin-left: auto;
}

.login-form-container {
    width: 100%;
    max-width: 360px;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5em;
}

.login-header h1 {
    margin-bottom: 0em;
    font-size: 1.8em;
}

.login-header p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95em;
}

.form-group {
    margin-bottom: 1.5em;
}

label {
    color: var(--title);
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    margin: 0 0 0.5em 0;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    appearance: none;
    background: #f5f6f7;
    border-radius: 0.375em;
    border: solid 2px transparent;
    color: var(--text);
    display: block;
    outline: 0;
    padding: 0 1.2em;
    width: 100%;
    height: 3em;
    font-family: "Poppins", sans-serif;
    font-size: 1em;
    transition: all 0.2s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(219, 49, 62, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2em;
    font-size: 0.9em;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.remember-me label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    color: var(--text-light);
}

.button {
    appearance: none;
    transition: all 0.2s ease-in-out;
    background-color: var(--primary);
    border-radius: 0.375em;
    border: 0;
    color: var(--text-button);
    cursor: pointer;
    display: block;
    font-family: "REM", serif;
    font-size: 0.9em;
    font-weight: 700;
    height: 3.5em;
    letter-spacing: 0.075em;
    line-height: 3.5em;
    padding: 0 2.25em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    width: 100%;
}

.button:hover {
    background-color: var(--primary-hover);
}

.button:active {
    background-color: var(--primary-hover);
}

.login-footer {
    text-align: center;
    margin-top: 2em;
    font-size: 0.9em;
    color: var(--text-light);
}

.login-footer p {
    margin: 0;
}

/* Responsive */
@media screen and (max-width: 980px) {
    #login-wrapper {
        background-position: center;
    }

    #login-wrapper::after {
        background: rgba(0, 0, 0, 0.7);
    }

    .login-form-side {
        width: 100%;
        padding: 2em 1.5em;
        margin-left: 0;
    }
}

@media screen and (max-width: 480px) {
    .login-form-side {
        padding: 2em 1em;
    }
}