/* Estilos para la Agenda y Calendario Kairoser */

.agenda-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Calendario */
.calendar-container {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h3 { margin: 0; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day-head {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #999;
    padding-bottom: 10px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border-radius: 50%;
    cursor: default;
    position: relative;
    transition: all 0.2s;
}

.calendar-day.has-event {
    background: #f0f7f7;
    color: var(--verde);
    font-weight: 700;
    cursor: pointer;
}

.calendar-day.has-event:hover {
    background: var(--verde);
    color: white;
}

.calendar-day.today {
    border: 2px solid var(--secondary);
}

.calendar-day.other-month {
    opacity: 0.3;
}

/* Listado de Agenda */
.agenda-list-container h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--secondary);
}

.agenda-item-row {
    display: flex;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
}

.agenda-item-row:hover {
    transform: translateX(10px);
    border-color: var(--verde);
}

.agenda-date-box {
    min-width: 70px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 2px solid #f0f0f0;
    padding-right: 20px;
}

.agenda-date-box .day { font-size: 1.5rem; font-weight: 800; color: var(--secondary); display: block; line-height: 1; }
.agenda-date-box .month { font-size: 0.8rem; font-weight: 700; color: var(--verde); text-transform: uppercase; }

.agenda-info {
    flex-grow: 1;
}

.agenda-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.agenda-info h4 { margin: 0 0 5px 0; font-size: 1.1rem; }
.agenda-info p { margin: 0; font-size: 0.9rem; color: #666; }

.cat-badge-agenda {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    color: white;
    margin-bottom: 5px;
}

@media (max-width: 992px) {
    .agenda-layout { grid-template-columns: 1fr; }
    .calendar-container { order: -1; }
}
