/* boletim/assets/css/boletim.css */

/* Import e Variáveis (iguais à landing page) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

:root {
  --brand-primary: #0D6EFD; 
  --brand-secondary: #198754;
  --bg-dark-blue: #203A5F;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --radius: 8px;
  --text-dark: #333333;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f0f4f8; 
  color: #212529;
}

header {
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* --- Estilos da Tela de Login (index.php) --- */

.login-container {
  background-color: var(--text-light);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.login-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 10px;
}

.login-subtitle {
  color: #6c757d;
  margin-bottom: 30px;
}

.login-form .form-label {
  font-weight: 500;
  color: var(--text-dark);
  float: left;
}

.login-form .form-control {
  padding: 12px 15px;
  border-radius: var(--radius);
  border: 1px solid #ced4da;
}
.login-form .form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-acessar {
  width: 100%;
  background-color: var(--brand-secondary);
  color: var(--text-light);
  font-weight: bold;
  text-transform: uppercase;
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}
.btn-acessar:hover {
  background-color: #157347;
}


/* --- Estilos do Painel (painel.php) --- */
.btn-sair {
    background-color: #dc3545;
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}
.btn-sair:hover {
    background-color: #c82333;
    color: white;
}

.boletim-card {
  background-color: var(--text-light);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.boletim-title {
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 30px;
}

.aluno-info {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.aluno-nome {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.aluno-details {
    font-size: 1.1rem;
    color: #6c757d;
}

.classificacao-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
}

.stat-title {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-secondary);
    margin-bottom: 0;
}

.acertos-section {
    background-color: var(--bg-dark-blue);
    color: var(--text-light);
    padding: 30px;
    border-radius: var(--radius);
}

.acertos-total {
    font-size: 1.8rem;
    font-weight: 500;
}
.acertos-total strong {
    font-weight: 700;
}

.acertos-subtitle {
    color: #adb5bd;
    margin-bottom: 20px;
}

.acertos-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.acerto-disciplina {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 1.1rem;
}

.acerto-disciplina .nome {
    font-weight: 500;
}
.acerto-disciplina .valor {
    font-weight: 700;
    background-color: var(--text-light);
    color: var(--text-dark);
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .classificacao-grid {
        grid-template-columns: 1fr;
    }
    .aluno-nome {
        font-size: 1.8rem;
    }
    .boletim-card {
        padding: 25px;
    }
}