/* --- Reset Básico e Configurações Globais --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-image: url('background.jpg'); /* << COLOQUE SUA IMAGEM AQUI */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    color: #fff;
    /* Efeito de sobreposição escura para melhor contraste */
    background-color: rgba(10, 25, 47, 0.8);
    background-blend-mode: overlay;
    overflow: hidden; /* Evita barras de rolagem desnecessárias */
}

/* --- Cabeçalho e Navegação --- */
header {
    padding: 20px 5%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #eee;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #E62934; /* Vermelho Fatec */
}

/* --- Container Principal do Login --- */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

/* --- Formulário de Login (Efeito Glassmorphism) --- */
.login-form {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); /* Para Safari */
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    color: #fff;
    border-radius: 10px;
    padding: 30px 40px;
    text-align: center;
}

.login-form h1 {
    font-size: 2em;
    margin-bottom: 25px;
}

/* --- Grupos de Input (Campo + Ícone) --- */
.input-group {
    position: relative;
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 40px;
    font-size: 1em;
    color: #fff;
    padding: 0 45px 0 20px;
}

.input-group input::placeholder {
    color: #ddd;
}

.input-group i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
}

/* --- Opções do Formulário (Lembrar-me e Esqueceu a senha) --- */
.form-options {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    margin-bottom: 25px;
}

.form-options label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form-options input[type="checkbox"] {
    accent-color: #E62934; /* Cor do checkbox quando marcado */
    margin-right: 5px;
}

.form-options a {
    color: #ddd;
    text-decoration: none;
}

.form-options a:hover {
    text-decoration: underline;
}

/* --- Botão de Login --- */
.login-button {
    width: 100%;
    height: 45px;
    background: #E62934; /* Vermelho Fatec */
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    font-size: 1.1em;
    color: #fff;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background: #c01e29; /* Vermelho mais escuro */
}

/* --- Link de Cadastro --- */
.register-link {
    font-size: 0.9em;
    margin-top: 20px;
}

.register-link p a {
    color: #E62934;
    text-decoration: none;
    font-weight: 600;
}

.register-link p a:hover {
    text-decoration: underline;
}