/* ==========================================
   LOGIN - ESTILOS
   ========================================== */

.login-body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
}

/* Lado Esquerdo */
.login-left {
    background: linear-gradient(135deg, var(--verde-principal) 0%, var(--verde-escuro) 100%);
    color: var(--branco);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.login-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(-15deg);
}

.login-shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    border-radius: 50px;
}

.login-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
    border-radius: 40px;
}

.login-brand {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

.login-logo {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
}

.login-brand h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 42px;
    margin-bottom: 5px;
}

.login-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

.login-info {
    position: relative;
    z-index: 1;
}

.login-info h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 15px;
}

.login-info > p {
    font-size: 17px;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.6;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    opacity: 0.95;
}

.feature-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Lado Direito */
.login-right {
    background: var(--branco);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-form-wrapper {
    width: 100%;
    max-width: 450px;
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: var(--verde-principal);
    margin-bottom: 8px;
}

.login-header p {
    color: var(--cinza-texto);
    font-size: 16px;
}

.login-form {
    background: var(--branco);
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--verde-escuro);
    margin-bottom: 8px;
    font-size: 14px;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid var(--cinza-medio);
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    transition: all 0.3s;
    background: var(--branco);
}

.login-form input:focus {
    outline: none;
    border-color: var(--verde-principal);
    box-shadow: 0 0 0 3px rgba(0, 151, 57, 0.1);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
    transition: opacity 0.3s;
}

.toggle-password:hover {
    opacity: 0.7;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--cinza-texto);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--verde-principal);
}

.forgot-password {
    color: var(--verde-principal);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: var(--verde-escuro);
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    background: var(--vermelho-principal);
    color: var(--branco);
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-login:hover {
    background: var(--vermelho-escuro);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.login-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.login-divider::before,
.login-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--cinza-medio);
}

.login-divider::before {
    left: 0;
}

.login-divider::after {
    right: 0;
}

.login-divider span {
    background: var(--branco);
    padding: 0 15px;
    color: var(--cinza-texto);
    font-size: 14px;
}

.login-footer-links {
    text-align: center;
}

.login-footer-links p {
    color: var(--cinza-texto);
    margin-bottom: 15px;
    font-size: 14px;
}

.btn-register {
    display: inline-block;
    width: 100%;
    background: var(--verde-claro);
    color: var(--verde-principal);
    padding: 14px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid var(--verde-principal);
}

.btn-register:hover {
    background: var(--verde-principal);
    color: var(--branco);
}

.back-to-home {
    text-align: center;
    margin-top: 25px;
}

.back-to-home a {
    color: var(--cinza-texto);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.back-to-home a:hover {
    color: var(--verde-principal);
}

/* Responsive */
@media (max-width: 968px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-left {
        display: none;
    }
    
    .login-right {
        padding: 20px;
    }
    
    .login-form-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .login-header h2 {
        font-size: 26px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
