*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    height:100vh;
    background:#0f172a;
    display:flex;
    justify-content:center;
    align-items:center;
}

.login-box{
    width:420px;
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 20px 40px rgba(0,0,0,.25);
}

.login-box h1{
    text-align:center;
    margin-bottom:30px;
    color:#1e293b;
}

.login-box input{
    width:100%;
    padding:15px;
    margin-bottom:15px;
    border:1px solid #e2e8f0;
    border-radius:12px;
    font-size:15px;
}

.login-box input:focus{
    outline:none;
    border-color:#2563eb;
}

.login-box button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#2563eb;
    color:white;
    font-weight:600;
    cursor:pointer;
}

.painel{
    width:1200px;
    height:700px;
    background:white;
    border-radius:25px;
    overflow:hidden;
    display:flex;
    box-shadow:0 25px 50px rgba(0,0,0,.25);
}

.sidebar{
    width:260px;
    background:#111827;
    padding:30px 20px;
}

.sidebar h2{
    color:white;
    text-align:center;
    margin-bottom:40px;
}

.sidebar button{
    width:100%;
    padding:15px;
    margin-bottom:12px;
    border:none;
    border-radius:12px;
    background:#1f2937;
    color:white;
    cursor:pointer;
    transition:.3s;
}

.sidebar button:hover{
    background:#2563eb;
}

.content{
    flex:1;
    padding:35px;
    overflow:auto;
    background:#f8fafc;
}

.content h1{
    color:#0f172a;
    margin-bottom:25px;
}

.formulario{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.formulario input{
    padding:15px;
    border:1px solid #dbe2ea;
    border-radius:12px;
    background:white;
}

.formulario button{
    grid-column:span 2;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#2563eb;
    color:white;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
}

.resultado{
    margin-top:25px;
    background:white;
    border-radius:18px;
    padding:25px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.linha{
    display:flex;
    margin-bottom:15px;
}

.linha span{
    width:130px;
    font-weight:600;
    color:#475569;
}

.linha p{
    color:#0f172a;
}

table{
    width:100%;
    border-collapse:collapse;
    background:white;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

th{
    background:#2563eb;
    color:white;
    padding:16px;
}

td{
    padding:14px;
    border-bottom:1px solid #e5e7eb;
}

tr:hover{
    background:#f8fafc;
}

.remover{
    border:none;
    background:#ef4444;
    color:white;
    padding:8px 14px;
    border-radius:8px;
    cursor:pointer;
}

#erro{
    margin-top:15px;
    color:#ef4444;
    font-weight:600;
}

.hidden{
    display:none;
}