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

body {
    display: flex;
    background-color: #f4f7f6;
    color: #333;
}

/* SIDEBAR */
.sidebar {
    width: 250px;
    height: 100vh;
    background-color: #2E7D32; /* O teu verde principal */
    color: white;
    position: fixed;
}

.logo {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menu {
    list-style: none;
    margin-top: 20px;
}

.menu li {
    padding: 15px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.menu li:hover, .menu li.active {
    background-color: #1b5e20;
    border-left: 4px solid #ffc107;
}

.menu li i { margin-right: 10px; }

/* MAIN CONTENT */
.main-content {
    margin-left: 250px;
    padding: 30px;
    width: calc(100% - 250px);
}

header {
    margin-bottom: 30px;
}

header h1 {
    color: #2E7D32;
}

/* CARDS */
.cards-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-right: 15px;
}

.card-info h3 {
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}

.card-info h2 {
    font-size: 24px;
    color: #333;
}

/* TABELA */
.table-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.table-header {
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
    color: #555;
}

.status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status.ativo {
    background-color: #e8f5e9;
    color: #2E7D32;
}

.status.inativo {
    background-color: #ffebee;
    color: #d32f2f;
}