/* Estilos específicos para a página de login/cadastro */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: #ffffff;
    border-radius: 0;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    position: relative;
    border: 1px solid #C9C9C9; 
}

.login-logo {
    text-align: left;
    margin-bottom: 24px;
}

.login-logo img {
    max-height: 60px;
}

.form-container {
    width: 100%;
}

.form-header {
    text-align: left;
    margin-bottom: 26px;
}

.form-title {
    font-size: 28px;
    font-weight: 500;
    color: #1e1e1e;
    margin: 0 0 8px 0;
    font-family: 'Inter', sans-serif;
}

.form-subtitle {
    font-size: 16px;
    color: #727272;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.auth-form {
    width: 100%;
}

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

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

.form-row {
    display: block;
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #1e1e1e;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #C9C9C9;
    border-radius: 0;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #1b1b1b;
}

.form-input::placeholder {
    color: #9ca3af;
}

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

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #727272;
    font-family: 'Inter', sans-serif;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #C9C9C9;
    border-radius: 0;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background-color: #1b1b1b;
    border-color: #1b1b1b;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-password {
    color: #727272;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #727272;
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    background-color: #1b1b1b;
    color: #ffffff;
    border: none;
    border-radius: 0;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-bottom: 24px;
}

.btn-primary:hover {
    background-color: #2d2d2d;
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.form-footer {
    text-align: center;
}

.form-footer p {
    font-size: 16px;
    color: #727272;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.form-link {
    color: #1b1b1b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-link:hover {
    text-decoration: underline;
}

.terms-link {
    color: #1b1b1b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #727272;
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .login-container {
        padding: 16px;
    }
    
    .login-card {
        padding: 24px;
        max-width: 100%;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 28px;
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 20px;
    }
    
    .form-title {
        font-size: 22px;
    }
    
    .form-subtitle {
        font-size: 16px;
    }
}

/* Animações de transição entre formulários */
.form-container {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-container.hidden {
    opacity: 0;
    transform: translateY(20px);
}

.form-container.visible {
    opacity: 1;
    transform: translateY(0);
}
