/* CONTENEDOR GENERAL */
.ses_container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

/* FILA DE CARDS POR MES */
.ses_row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

/* CARD GENERAL */
.ses_card {
    background-color: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    flex: 1 1 280px;
    min-width: 260px;
    max-width: 100%;
    transition: transform 0.2s;
}

.ses_card:hover {
    transform: translateY(-4px);
}

/* CARD DE CALENDARIO */
.timeline-style {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f0f4ff;
}

.ses_month {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #1e3a8a;
}

.ses_sessions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    color: #fff;
    font-weight: bold;
}

.type-1 {
    background-color: #FF80AB;
    /* Hot Pink */
}


.type-2 {
    background-color: #B388FF;
    /* Lavender */
}


.type-3 {
    background-color: #FFAB91;
    /* Light Coral */
}


.type-4 {
    background-color: #dd9179;
    /* Peach */
}

.type-5 {
    background-color: #5fa9b3;
    /* Light Cyan */
}

.type-6 {
    background-color: #A5D6A7;
    /* Light Green */
}

.type-7 {
    background-color: #90CAF9;
    /* Light Blue */
}

.type-8 {
    background-color: #e7c45c;
    /* Pale Gold (less yellow, more neutral) */
}

/* ETIQUETAS INICIALES DE BOLITAS */
.ses_labels {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.label-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    background-color: #e5e7eb;
    padding: 2px 6px;
    border-radius: 6px;
}

/* CARD DE SESIONES */
.ses_data .ses_label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

/* PILLS (chips) DE SESIONES */
.ses_pills {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ses_sessions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.ses_dot {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dot-label {
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #374151;
  background-color: #e5e7eb; /* gris claro */
  padding: 2px 6px;
  border-radius: 6px;
}


.pill {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    text-align: center;
}

.presencial {
    background-color: #10b981;
    /* verde */
}

.semi {
    background-color: #9ca3af;
    /* naranja */
}

/* CARD DE HORAS */
.ses_hours .ses_hour-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-top: 0.3rem;
}

.ses_abbr-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; /* Centra horizontalmente */
    gap: 1.5rem;            /* Espacio uniforme entre items */
    width: 100%;
}

.ses_abbr-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RESPONSIVO */

@media (max-width: 700px) {

    .ses_abbr-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
        width: 100% !important;
    }

    .ses_abbr-item {
        min-width: unset !important;
        width: auto !important;
        display: flex !important;
        justify-content: center !important;
        margin: 0 auto !important;
    }
}

/* @media (max-width: 768px) {
    .ses_row {
        flex-direction: column;
    }
} */


/* Graficas */

.ses_graficas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  justify-content: space-between;
}

.ses_chart-container {
  flex: 1 1 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  padding: 1rem;
  min-width: 280px;
}

.ses_chart {
  width: 100%;
  height: 300px;
}

@media (min-width: 768px) {
  .ses_chart-container {
    flex: 1 1 calc(50% - 0.5rem);
  }
}
