/* assets/css/style.css */
body {
  background-color: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.navbar-brand span {
  font-weight: 600;
}

.navbar-text {
  color: #eee;
}

.container-fluid {
  padding-top: 1rem;
  padding-bottom: 4rem;
}

/* reforzar estilos de tablas */
.table th,
.table td {
  vertical-align: middle;
}

/* alineación de formularios y textos */
.mb-3 strong {
  font-weight: 500;
}

/* ajustes de imagen de alumno */
.img-thumbnail {
  border-color: #dee2e6;
}

.navbar-brand img {
  border-radius: 8px;
}

header img {
  max-width: 300px;
}

header h1 {
  font-size: 1.8rem;
}
/* Login enhancements */
.card {
  border-radius: 20px;
}

.card-header {
  border-radius: 20px 20px 0 0 !important;
}

.card-body {
  border-radius: 0 0 20px 20px;
}
/* Solo agrega ESTO en tu header actual */
.curso-info {
    display: inline-block; 
    margin-left: 20px; 
    color: #666;
}
/* Flechas simples para columnas ordenables */
.table-dark th.sortable {
    position: relative;
    padding-right: 12px;
}

.table-dark th.sortable.asc::after {
    content: "▲";
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #bfbfbf; /* gris suave */
    font-size: 12px;
}

.table-dark th.sortable.desc::after {
    content: "▼";
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #bfbfbf; /* gris suave */
    font-size: 12px;
}

.contador-wrapper {
    display: inline-block;
    width: auto;
    height: auto;
}

.contador-pop {
    display: inline-block;
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.2s ease-out;
}
.dropdown-cursos {
    min-width: 230px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.curso-item {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    border-radius: 4px;
    transition: background-color 0.15s ease, padding-left 0.15s ease;
}

.curso-item:hover {
    background-color: #e9f2ff;
    padding-left: 12px;
}

/* --- GRÁFICO --- */
.card-grafico {
    max-width: 350px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.card-grafico canvas {
    max-height: 260px !important;
}
//* --- TIMELINE SIMPLE Y LIMPIO --- */
.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline li {
    margin-bottom: 10px;
}

/* --- LINK EN UNA SOLA LÍNEA --- */
.obs-link {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 6px 4px;
    text-decoration: none !important;
    color: #333 !important;
    font-weight: 500;

    border-radius: 6px;
    transition: background-color 0.15s ease;
}

.obs-link:hover {
    background-color: #f1f5ff;
    color: #000 !important;
}

/* Hora y fecha */
.time {
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
}

/* Nombre del alumno */
.obs-link strong {
    font-size: 0.95rem;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- TARJETA MISMO PORTE QUE CURSOS --- */
.card.observaciones-hoy {
    max-width: 100% !important; /* igual que las otras tarjetas */
    border-radius: 16px;
}

.card.observaciones-hoy .card-body {
    padding: 12px 16px;
}
