/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 5 de ago de 2025, 08:35:47
    Author     : Diogo
*/
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #e3f2fd, #fff);
}

.container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 90%;
}

h2 {
    text-align: center;
    color: #1a73e8;
}

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

label {
    margin-top: 1rem;
    font-weight: bold;
}

input {
    padding: 0.5rem;
    margin-top: 0.3rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    margin-top: 1.5rem;
    padding: 0.7rem;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #155ab6;
}

.link {
    text-align: center;
    display: block;
    margin-top: 1rem;
    color: #1a73e8;
    text-decoration: none;
}

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

.erro {
    background-color: #ffcdd2;
    color: #b71c1c;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    text-align: center;
}
.sucesso {
    background-color: #c8e6c9;
    color: #256029;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    text-align: center;
}
nav ul {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

nav li {
    margin: 1rem 0;
}

nav a {
    text-decoration: none;
    background-color: #1a73e8;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    display: inline-block;
    transition: background 0.3s;
}

nav a:hover {
    background-color: #155ab6;
}
.painel-container {
    max-width: 900px;
    margin: auto;
    padding: 2rem;
    text-align: center;
}

.painel-container h2 {
    color: #1a73e8;
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

.painel-container .nivel {
    color: #444;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.menu-item {
    background-color: #f0f4ff;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: #1a237e;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.menu-item i {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.menu-item span {
    font-size: 1rem;
    font-weight: 600;
}

.menu-item:hover {
    background-color: #e3edff;
    transform: translateY(-3px);
}

.menu-item.sair {
    background-color: #ffe0e0;
    color: #b71c1c;
}

.menu-item.sair:hover {
    background-color: #ffd6d6;
}
.painel-box {
    max-width: 500px;
    margin: 3rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.painel-box h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #0d47a1;
}

.nivel-acesso {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 2rem;
}

.painel-menu {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.painel-btn {
    text-decoration: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 10px;
    background: #1a73e8;
    color: white;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.painel-btn i {
    font-size: 1.5rem;
}

.painel-btn:hover {
    background: #0f5bd3;
    transform: scale(1.02);
}

.painel-btn.sair {
    background: #e53935;
}

.painel-btn.sair:hover {
    background: #c62828;
}
