main {
    height: 100vh;
    display: flex;
}

/*===========================================================*/
/*|                          IMAGEN                         |*/
/*===========================================================*/
.login-img {
    width: 50%;
    background-image: url('../images/Foto-UCSM.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.green-opacity {
    width: 100%;
    height: 100%;
    background-color: var(--green);
    opacity: 0.5;
}

/*===========================================================*/
/*|                          LOGIN                           |*/
/*===========================================================*/

.login-container {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-content {
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 48px 24px;
}
.login-title{
    text-align: center;
}

.login-title h2{
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}
.login-title h2::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background-color: var(--green);
    border-radius: 8px; 
    position: absolute;
    left: 0;
    bottom: 0; 
}

/*===========================================================*/
/*|                          FORM                           |*/
/*===========================================================*/

.login-form {
    margin-top: 20px;
}

.login-form form{
    display: flex;
    flex-direction: column;
}

.input-login {
    background-color: #fff;
    box-shadow: 2px 2px 4px 0px var(--light-gray);
    border: solid 1px var(--light-gray);
    outline: none;
    margin: 8px 0px 16px 0px;
    height: 36px;
    width: 340px;
    padding: 12px;
    border-radius: 4px;
}

.btn-login {
    width: 340px;
    background-color: var(--green);
    border: none;
    width: 340px;
    padding: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
}

.role-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.role-button {
    width: 160px;
    height: 60px;
    border: solid 2px var(--dark-gray);
    color: var(--dark-gray);
    border-radius: 4px;
    margin: 8px 0px 16px 0px;
    background-color: #fff;
    display: flex;
    align-items: center;
}

.role-button i {
    background-color: var(--dark-gray);
    color: #fff;
    font-size: 32px;
    height: 100%;
    width: auto;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-button p {
    width: calc(100% - 56.4px);
    text-align: center;
    font-weight: 600;
}

.role-button.active {
    border: solid 2px var(--green);
    color: var(--green);
}

.role-button.active i {
    background-color: var(--green);
}



