/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0f172a;
    color: #e5e7eb;
}

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: 40px auto;
    background: #1e293b;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

/* LOGO */
.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    max-width: 220px;
}

/* TITULOS */
h1 {
    text-align: center;
    margin-bottom: 20px;
}

/* FORM */
.form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: none;
    background: #334155;
    color: #fff;
}

/* CHECKBOX LIST */
.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.checkbox-list label {
    font-weight: normal;
}

/* BOTÕES */
.btn {
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #3b82f6;
    color: #fff;
}

.btn-primary:hover {
    background: #2563eb;
}

.btn-secondary {
    background: #64748b;
    color: #fff;
}

.btn-secondary:hover {
    background: #475569;
}

.btn-edit {
    background: #22c55e;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    text-decoration: none;
}

.btn-edit:hover {
    background: #16a34a;
}

.btn-delete {
    background: #ef4444;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    text-decoration: none;
}

.btn-delete:hover {
    background: #dc2626;
}

/* AÇÕES */
.actions {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* TABELA */
table {
    width: 100%;
    border-collapse: collapse;
    background: #334155;
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background: #475569;
}

th, td {
    padding: 10px;
    text-align: left;
}

tr:nth-child(even) {
    background: #1e293b;
}

.empty {
    text-align: center;
    padding: 20px;
}

/* FLASH MESSAGES */
.flash {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.flash.success {
    background: #16a34a;
}

.flash.error {
    background: #dc2626;
}

.flash.warning {
    background: #f59e0b;
}

/* FOOTER */
footer {
    margin-top: 30px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
}