* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, "Segoe UI", Arial, sans-serif;
    background: #F7F5F1;
    color: #1F2A24;
}
.topo {
    background: #0F7D55;
    color: #fff;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topo h1 { font-size: 18px; margin: 0; font-weight: 600; }
.topo a { color: #fff; text-decoration: none; font-size: 14px; opacity: 0.9; }
.topo a:hover { opacity: 1; text-decoration: underline; }

.container { max-width: 960px; margin: 32px auto; padding: 0 20px; }

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(2,67,45,0.12);
    padding: 24px;
    margin-bottom: 20px;
}

.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0F7D55;
}
.login-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 4px 12px rgba(2,67,45,0.16);
}
.login-box h1 { margin-top: 0; font-size: 22px; color: #02432D; }

label { display: block; margin: 14px 0 6px; font-size: 14px; font-weight: 600; }
input[type=text], input[type=email], input[type=password], input[type=date], textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D5C4B4;
    border-radius: 6px;
    font-size: 14px;
}
button, .btn {
    background: #0F7D55;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
button:hover, .btn:hover { background: #0c6544; }
.btn-secundario {
    background: transparent;
    color: #0F7D55;
    border: 1px solid #0F7D55;
}
.btn-secundario:hover { background: #eef7f2; }
.btn-excluir { background: #a33; }
.btn-excluir:hover { background: #822; }

.erro {
    background: #fdecec;
    color: #a33;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}
.sucesso {
    background: #eaf7ef;
    color: #0F7D55;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}

table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eee; font-size: 14px; }
th { color: #555; font-weight: 600; }
.acoes a { margin-right: 10px; font-size: 13px; }

.top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
