/* GLOBAL */
body {
    background-color: #F6F5FC;
    font-family: Arial, sans-serif;
    margin: 0;
}

/* LOGIN PAGE SPLIT*/
.login-wrapper {
    display: flex;
    height: 100vh;
}

.login-left {
    flex: 1;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.login-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.login-right {
    flex: 1;
    background-color: #F6F5FC;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
}

.login-content {
    max-width: 550px;
    width: 100%;
}

.login-title {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1F1E5E;
    text-align: left;
}

.login-description {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
    text-align: left;
}

/* LOGIN FORM*/
form {
    width: 100%;
}

#username-container,
#password-container,
#role-container {
    margin-bottom: 20px;
}

#username-label,
#password-label,
#role-label {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

#username,
#password,
#role {
    width: 100%;
    padding: 10px;
    font-size: 1.1em;
    border: 2px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

#username:focus,
#password:focus,
#role:focus {
    border-color: #1F1E5E;
    outline: none;
}

#role {
    padding: 10px 40px 10px 15px;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='70,100 20,40 120,40' fill='%23666'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

#login-button {
    width: 100%;
    padding: 12px;
    background-color: #1F1E5E;
    color: white;
    font-size: 1.2em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#login-button:hover {
    box-shadow: 4px 4px 10px rgba(31, 30, 94, 0.3);
}

#login-button:focus {
    outline: none;
}

#logout-button {
    display: inline-block;
    width: 100%;
    padding: 12px;
    font-size: 1.2em;
    text-align: center;
    cursor: pointer;
    border: none;
    background-color: #F6F5FC;
    color: #1F1E5E;
    text-decoration: underline;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#logout-button:focus {
    outline: none;
}

/* RESPONSIVE*/
@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .login-wrapper {
        flex-direction: column;
    }

    .login-left {
        display: none;
    }

    .login-right {
        flex: none;
        width: 100%;
        padding: 20px;
    }

    .login-title,
    .login-description {
        text-align: center;
    }
}
