/* static/css/home.css */
body {
    background-color: #f8f9fa;
}

h1 {
    color: #343a40;
}

/* static/css/home.css */

/* Ajustar el tamaño del logo */
#logo img {
    max-height: 50px;
}

/* Estilos para el enlace de usuario */
#usuario a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

#usuario a:hover {
    color: #0056b3;
}

/* Opcional: Estilos adicionales para el menú centro */
#menu_centro {
    /* Ejemplo: Centrar el contenido si agregas elementos en el futuro */
}

/* Estilos para las tarjetas de exámenes */
.exam-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.exam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.exam-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

/* Estilos para las tarjetas de formación con exámenes */
.exam-card .collapse {
    border-top: 1px solid rgba(0,0,0,.125);
}

.exam-card .list-group-item {
    background-color: transparent;
}

/* Añadir animación al colapsar/expandir */
.collapse {
    transition: height 0.3s ease;
}

/* Estilos para calendario */
.calendar-container {
    width: 100%;
    max-width: 100%;
    overflow: auto;
}

.calendar-container table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-container th, 
.calendar-container td {
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.calendar-container th {
    background-color: #f8f9fa;
}

.calendar-container .today {
    background-color: #ffeb3b;
    border-radius: 50%;
}

.calendar-container .event-day {
    position: relative;
    background-color: #e3f2fd;
    cursor: pointer;
}

/* Estilos para eventos próximos */
.eventos-proximos {
    max-height: 350px;
    overflow-y: auto;
}

.evento-item {
    padding: 10px 0;
}

.evento-fecha {
    font-weight: bold;
    color: #0056b3;
}

.evento-titulo {
    font-weight: 600;
    margin: 5px 0;
}

.evento-desc {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Estilos para la tabla de próximos exámenes */
.table-responsive {
    margin-top: 15px;
}

.table-hover tbody tr:hover {
    background-color: rgba(0,0,0,.03);
}

.badge {
    padding: 5px 8px;
    font-weight: 500;
    border-radius: 4px;
}

.badge.bg-primary {
    background-color: #007bff !important;
}

.badge.bg-success {
    background-color: #28a745 !important;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

/* Estilos para el botón de examen rápido */
.quick-exam-btn {
    background-color: #4CAF50 !important;
    border-color: #45a049 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

.quick-exam-btn:hover {
    background-color: #45a049 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Estilos responsive */
@media (max-width: 768px) {
    .exam-card .card-img-top {
        height: 140px;
    }
}

/* Estilos para los modales */
.modal {
    z-index: 1050;
}

.modal-content {
    border-radius: 1rem !important;
    border: none !important;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 25px 50px !important;
}

.modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    background-color: #f8f9fa !important;
    border-radius: 1rem 1rem 0 0 !important;
    padding: 1.5rem !important;
}

.modal-body {
    padding: 2rem !important;
}

.bg-gris {
    background-color: #6c757d !important;
}

.bg-gris:hover {
    background-color: #5a6268 !important;
}

.no-borde {
    border: none !important;
}