/* === Estilos del programa (pegados desde tu snippet) === */
.agenda-plugin-wrap * { box-sizing: border-box; }
.agenda-plugin-container { max-width: 100%; margin: auto; }

.agenda-dias-selector {
    display: flex;
    overflow: hidden;
    width: 100%;
    justify-content: center;
    gap: 5px;
    padding-bottom: 20px;
}
.agenda-dias-selector::-webkit-scrollbar { display: none; }

.agenda-dia-tab {
    flex: 0 0 calc(100% / 7 - 10px);
    margin: 2px;
    padding: 10px 5px;
    background: #f9f9f9;
    border: 0.7px solid #111827d9;
    border-radius: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111;
    gap: 5px;
    transition: background 0.3s ease, color 0.3s ease;
    max-width: 40px;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
    position: relative;
}
.agenda-dia-tab.activo {
    background-color: #002132 !important;
    color: #fff !important;
    border-color: #002132;
    font-weight: bold;
}
.agenda-dia-texto { font-size: 0.55rem; font-weight: 600; display: none !important; }
.agenda-dia-numero { font-size: 0.95rem; font-weight: 500; }

.agenda-dia-circulo {
    width: 5px; height: 5px; border-radius: 50%;
    margin-top: 6px; margin-bottom: 3px; background-color: gray;
}
.agenda-dia-circulo.verde { background: #09757A; }
.agenda-dia-circulo.naranja { background: #f9a825; }
.agenda-dia-circulo.gris { background-color: #ccc; }

.agenda-actividades-container { margin-top: 0; }
.agenda-card-wrap {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 15px; position: relative; padding: 0;
}
.agenda-card-icon { flex-shrink: 0; margin-left: 0; }
.agenda-card-icon img {
    width: 30px; height: 30px; margin-top: 8px; object-fit: contain; display: none;
}

.agenda-card-sesion {
    flex: 1; display: flex; justify-content: space-between; align-items: center;
    padding: 10px 15px; border-radius: 8px; border: 0.7px solid #ddd;
    background-color: #fff; text-decoration: none; transition: box-shadow 0.3s ease;
}
.agenda-card-sesion:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.agenda-card-content { display: flex; flex-direction: column; gap: 0; }
.agenda-card-header { font-size: 0.8rem; font-weight: 500; color: #111; }
.agenda-card-estado { font-size: 0.65rem; font-weight: 400; color: #999; margin-top: 2px; }

.agenda-card-wrap.completado .agenda-card-sesion { border-color: #09757A; }
.agenda-card-wrap.completado .agenda-card-header,
.agenda-card-wrap.completado .agenda-card-estado { color: #09757A; }

.agenda-card-arrow { font-size: 22px; color: #222; margin-left: 5px; }

.agenda-dias-header {
    display: flex; justify-content: center; align-items: center;
    margin-bottom: 0; margin-top: -10px;
}
.agenda-dias-titulo {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem; font-weight: 600; color: #002132;
}
.agenda-dia-prev, .agenda-dia-next {
    background: transparent !important; border: none !important; box-shadow: none !important; outline: none !important;
    font-size: 2rem; cursor: pointer; color: #002132; padding: 6px 10px; font-weight: bold;
    transition: opacity 0.3s ease, transform 0.2s ease; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; user-select: none;
    margin-top: -6px;
}
.agenda-dia-prev:hover, .agenda-dia-next:hover { transform: scale(1.2); color: #002132; }
.agenda-dia-prev.hidden, .agenda-dia-next.hidden { opacity: 0; pointer-events: none; }

.agenda-texto-extra {
    text-align: center; font-style: italic; color: #555; font-size: 0.8rem; line-height: 1.2rem;
}

/* Responsive */
@media (min-width: 768px) {
    .agenda-plugin-container { max-width: 700px; }
    .agenda-dia-tab { width: 50px; padding: 12px 14px; margin-right: 4px; max-width: 50px; }
    .agenda-dia-texto { font-size: 12px; }
    .agenda-dia-numero { font-size: 22px; }
    .agenda-dia-circulo { width: 6px; height: 6px; margin-bottom: 4px; }
    .agenda-card-icon img { width: 48px; height: 48px; }
    .agenda-card-sesion { padding: 18px 24px; border-radius: 10px; }
    .agenda-card-header { font-size: 1rem; }
    .agenda-card-estado { font-size: 0.8rem; }
    .agenda-card-arrow { font-size: 24px; }
    .agenda-dias-titulo { font-size: 1rem; }
    .agenda-dias-header { gap: 2rem; }
    .agenda-dia-prev, .agenda-dia-next { margin-top: -8px; }
    .agenda-dias-selector { margin-top: 15px; }
}

@media (min-width: 1024px) {
    .agenda-plugin-container { max-width: 900px; }
    .agenda-dia-tab { width: 70px; }
    .agenda-card-sesion { padding: 15px 22px; }
    .agenda-card-header { font-size: 1.1rem; }
    .agenda-card-estado { font-size: 0.9rem; }
    .agenda-card-arrow { font-size: 26px; }
    .agenda-card-wrap { gap: 10px; }
    .agenda-dias-titulo { font-size: 1.2rem; margin-top: -2px; }
    .agenda-actividades-container { margin-top: 0; }
    .agenda-dia-circulo { width: 6px; height: 6px; margin-bottom: 5px; }
    .agenda-dias-selector { padding-bottom: 30px; }
    .agenda-texto-extra { font-size: 1rem; line-height: 1.5rem; }
}
