/* --- Reset Básico e Configurações Globais --- */
:root {
    --bg-color: #121212;
    --surface-color: #1e1e1e;
    --primary-color: #00bcd4; /* Ciano */
    --secondary-color: #00ff88; /* Verde Neon (opcional) */
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #444444;
    --input-bg: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 .highlight, h2 .highlight, h3 .highlight {
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: filter 0.3s ease;
}

a:hover {
    filter: brightness(1.2);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Layout e Contêineres --- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 1.5rem auto;
    padding: 0.5rem;
}
.hero{
    padding-top: 0px;
}
.logo{
    padding-top: 0px;
    width: 40%;
    height: 40%;
}
.main-content {
    flex: 1; /* Faz o conteúdo principal crescer */
}

/* --- Header e Navegação --- */
.navbar {
    background-color: var(--surface-color);
    padding: 1rem 2rem;
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.logoheader{
    width: 15%;
    height: 15%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo .highlight {
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    background-color: rgba(0, 188, 212, 0.1);
}

/* --- Formulários --- */
.form-container {
    background-color: var(--surface-color);
    padding: 2.5rem;
    border-radius: 8px;
    max-width: 500px;
    margin: 2rem auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.3);
}

/* --- Botões --- */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: var(--text-primary);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.3);
}

.btn-secondary {
    background-color: var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--input-bg);
}

.btn-danger {
    background-color: #e74c3c;
    color: var(--text-primary);
}
.btn-danger:hover {
    background-color: #c0392b;
}


.btn-full {
    width: 100%;
}

/* --- Página Inicial --- */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    margin-top: 0.5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* --- Dashboards (Aluno e Admin) --- */
.dashboard-card {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dashboard-card h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.team-members-list {
    list-style: none;
    margin-top: 1rem;
}

.team-members-list li {
    padding: 0.75rem;
    background-color: var(--input-bg);
    margin-bottom: 0.5rem;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team-members-list li .member-info {
    font-weight: 500;
}

.team-members-list li .member-details {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- Tabelas (Admin) --- */
.table-wrapper {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background-color: var(--surface-color);
    border-radius: 8px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: var(--input-bg);
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.2);
}

.table .actions a {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.table .actions .delete-link {
    color: #e74c3c;
}

/* --- Alertas e Mensagens --- */
.alert {
    padding: 1rem;
    margin: 1.5rem auto;
    border-radius: 5px;
    font-weight: 500;
    max-width: 500px;
    text-align: center;
}

.alert-danger {
    background-color: #e74c3c;
    color: var(--text-primary);
}

.alert-success {
    background-color: #2ecc71;
    color: var(--text-primary);
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--surface-color);
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
.hero{
    padding-top: 0px;
}
    .nav-links {
        justify-content: center;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .form-container {
        padding: 1.5rem;
    }
    .logo{
    padding-top: 0px;
    width: 70%;
    height: 50%;
}
.logoheader{
    width: 25%;
    height: 25%;
}
}