/*
 * CSS exclusivo para a página de login (index.html)
 * Tema de cores e estilo alinhado ao dashboard
 */

/* Estilos de corpo e layout geral */
body {
    background-color: #121212; /* Fundo escuro estilo anime */
    color: #dddddd;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: black;
}

/* Links */
a {
    color: #e03e2f;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f26522;
}

/* --- */

/* Estilos do cabeçalho */
header {
    background-color: #1e1e1e;
    box-shadow: 0 2px 8px rgba(224, 62, 47, 0.6);
    border-radius: 0 0 10px 10px;
    padding: 10px 0;
    user-select: none;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    
}

.logo img {
    height: 50px;
    cursor: pointer;
}

.banner {
    flex: 1;
    text-align: center;
}

.banner img {
    max-height: 60px;
    object-fit: contain;
    user-select: none;
}

.logout {
    flex-shrink: 0;
}

/* Escondendo o botão de logout, já que não é usado na página de login */
#btnLogout {
    display: none;
}

/* --- */

/* Estilos do container principal (formulário) */
.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 15px;
}

/* Formulário de Login */
.form-login {
    background-color: #1e1e1e;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 20px #e03e2f;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.form-login h2 {
    font-size: 2rem;
    color: #f26522;
    margin-bottom: 25px;
}

.form-login label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ccc;
}

.form-login input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #e03e2f;
    border-radius: 25px;
    background-color: #2a2a2a;
    color: #eee;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-login input:focus {
    outline: none;
    border-color: #f26522;
    box-shadow: 0 0 8px rgba(242, 101, 34, 0.7);
}

.form-login button {
    background-color: #e03e2f;
    color: #fff;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(224, 62, 47, 0.8);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.form-login button:hover {
    background-color: #f26522;
    box-shadow: 0 6px 18px rgba(242, 101, 34, 0.9);
    transform: scale(1.02);
}

.form-login button:active {
    transform: scale(0.98);
}

/* --- */

/* Estilos do rodapé */
footer {
    background-color: #1e1e1e;
    padding: 10px;
    text-align: center;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -2px 8px rgba(224, 62, 47, 0.6);
}

/* Responsivo */
@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .logo img {
        height: 40px;
    }
}