body {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    margin: 0;
    color: #333;
}

.header {
    background: #2c3e50;
    color: white;
    padding: 22px;
    text-align: center;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
}
.login-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f6f9;
}
.btn-excluir {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-excluir:hover {
    background: #b52a37;
}
.login-box {
    width: 100%;
    max-width: 380px;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    margin-right: 10px;
}

.btn:hover {
    background: #2980b9;
}
.abas-turmas {
    display: flex;
    gap: 10px;
    margin: 20px 0 30px 0;
    flex-wrap: wrap;
}

.aba-turma {
    background: #2c3e50;
    color: white;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
}

.aba-turma:hover {
    background: #1abc9c;
}
.card {
    background: white;
    padding: 25px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.grid-admin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-grupo {
    display: flex;
    flex-direction: column;
}

.form-grupo.full {
    grid-column: span 2;
}

input, select, textarea {
    width: 100%;
    box-sizing: border-box;
}
.linha {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.linha-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.full {
    grid-column: span 2;
}
h1, h2 {
    margin-top: 0;
}

a, button {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin: 4px;
    font-weight: 500;
    transition: 0.2s;
}

a:hover, button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}.btn-secundario {
    background: #7f8c8d;
}

.btn-perigo {
    background: #c0392b;
}

.btn-sucesso {
    background: #27ae60;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
}

th {
    background: #34495e;
    color: white;
    padding: 12px;
    text-align: left;
}

td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

tr:hover {
    background: #f1f1f1;
}

input, select {
    width: 100%;
    padding: 11px;
    margin: 8px 0 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
}