/* Events page — calendar + list views, ported from new-design mockup's
   "EVENTS / CALENDAR" section onto the shared vx-* design tokens. */

.vx-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid #EEF1F6; }
.vx-cal-head-left, .vx-cal-head-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vx-cal-month-label { font-size: 17px; font-weight: 800; color: #1C2540; white-space: nowrap; }

.vx-cal-nav-btn {
    width: 34px; height: 34px; border-radius: 8px; border: 1px solid #D9E0EC; display: flex; align-items: center;
    justify-content: center; color: #3D486A; text-decoration: none; flex-shrink: 0; background: #fff;
    transition: border-color .12s ease, color .12s ease;
}
.vx-cal-nav-btn:hover { border-color: #3B6EF6; color: #3B6EF6; }

.vx-cal-today-btn {
    height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid #D9E0EC; display: flex; align-items: center;
    font-size: 13.5px; font-weight: 700; color: #3D486A; text-decoration: none; white-space: nowrap; background: #fff;
    transition: border-color .12s ease, color .12s ease;
}
.vx-cal-today-btn:hover { border-color: #3B6EF6; color: #3B6EF6; }

.vx-cal-select {
    height: 34px; padding: 0 10px; border-radius: 8px; border: 1px solid #D9E0EC; font-size: 13.5px;
    font-weight: 700; color: #3D486A; background: #fff; font-family: inherit;
}
.vx-cal-select:focus { border-color: #3B6EF6; outline: none; }

.vx-cal-view-toggle { display: flex; gap: 6px; margin-left: 4px; }

.vx-cal-body { overflow-x: auto; }
.vx-cal-grid { min-width: 680px; }

.vx-cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid #EEF1F6; }
.vx-cal-weekday { padding: 10px 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7A869E; text-align: left; }

.vx-cal-row { display: grid; grid-template-columns: repeat(7, 1fr); }
.vx-cal-cell {
    min-height: 112px; padding: 8px; border-right: 1px solid #EEF1F6; border-bottom: 1px solid #EEF1F6;
    display: flex; flex-direction: column; gap: 3px;
}
.vx-cal-row .vx-cal-cell:last-child { border-right: none; }
.vx-cal-cell.is-blank { background: #FaFbFe; }
.vx-cal-cell.is-today { background: #F2F6FF; }

.vx-cal-daynum { font-size: 12.5px; font-weight: 700; color: #3D486A; margin-bottom: 2px; }
.vx-cal-cell.is-today .vx-cal-daynum { color: #3B6EF6; }

.vx-cal-events { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; max-height: 82px; }
.vx-cal-event-chip {
    display: flex; flex-direction: column; gap: 1px; padding: 3px 7px; border-radius: 5px;
    overflow: hidden; cursor: pointer; text-decoration: none;
}
.vx-cal-event-chip:hover { opacity: .88; text-decoration: none; }
.vx-cal-event-time {
    font-size: 9.5px; font-weight: 800; letter-spacing: .02em; opacity: .85; text-transform: uppercase;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vx-cal-event-title { font-size: 11px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* List view */
.vx-event-daygroup { border-bottom: 1px solid #EEF1F6; padding: 18px 20px; }
.vx-event-daygroup:last-child { border-bottom: none; }
.vx-event-date-header { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; color: #1C2540; margin-bottom: 12px; }
.vx-event-date-header svg { color: #3B6EF6; flex-shrink: 0; }

.vx-event-row { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 10px; text-decoration: none; color: inherit; transition: background .12s ease; }
.vx-event-row:hover { background: #FaFbFe; color: inherit; text-decoration: none; }
.vx-event-color-bar { width: 4px; align-self: stretch; border-radius: 3px; flex-shrink: 0; }
.vx-event-time-col { flex-shrink: 0; width: 92px; font-size: 12.5px; font-weight: 700; color: #59647E; display: flex; align-items: center; gap: 5px; }
.vx-event-time-col svg { flex-shrink: 0; }
.vx-event-body { flex: 1; min-width: 0; }
.vx-event-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14.5px; font-weight: 700; color: #1C2540; }
.vx-event-sub { font-size: 12.5px; color: #8892A8; margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.vx-event-sub svg { flex-shrink: 0; }

@media (max-width: 575px) {
    .vx-event-row { flex-wrap: wrap; }
    .vx-event-time-col { width: auto; }
}

/* ============================================================
   Event Detail page
   ============================================================ */

.vx-event-badge-day { width: 70px; flex-shrink: 0; border-radius: 12px; overflow: hidden; text-align: center; box-shadow: 0 2px 8px rgba(59,110,246,.25); }
.vx-event-badge-day-inner { padding: 8px 0 6px; }
.vx-event-badge-day-num { font-size: 24px; font-weight: 800; color: #fff; line-height: 1; }
.vx-event-badge-day-mon { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }

.vx-badge-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 20px; background: #E7EEFF; color: #3B6EF6; font-size: 11px; font-weight: 800; }

/* Banners — replace bootstrap .alert */
.vx-banner { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 12px; margin-bottom: 18px; }
.vx-banner svg { flex-shrink: 0; margin-top: 1px; }
.vx-banner-content { flex: 1; min-width: 0; }
.vx-banner-title { font-size: 14px; font-weight: 800; }
.vx-banner-text { font-size: 13px; margin-top: 4px; line-height: 1.5; opacity: .9; }
.vx-banner-info { background: #E7EEFF; color: #3B6EF6; }
.vx-banner-success { background: #E4F6EC; color: #1FA463; }
.vx-banner-warning { background: #FFF4E1; color: #B47A08; }
.vx-banner-danger { background: #FDE9EC; color: #E5484D; }
.vx-banner-neutral { background: #F7F9FC; border: 1px solid #E3E8F0; color: #3D486A; }
.vx-banner-neutral svg { color: #3B6EF6; }

/* Generic list rows — agenda items, decisions, upcoming queue */
.vx-list-item { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; border-top: 1px solid #F2F5FA; }
.vx-list-item:first-child { border-top: none; }
.vx-list-item:hover { background: #FaFbFe; }
.vx-list-num {
    width: 26px; height: 26px; border-radius: 50%; background: #F1F4FA; color: #59647E; font-size: 12px;
    font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.vx-list-num.is-done { background: #E4F6EC; color: #1FA463; }
.vx-list-num.is-active { background: #3B6EF6; color: #fff; }

.vx-progress { height: 8px; border-radius: 6px; background: #EEF1F6; overflow: hidden; }
.vx-progress-bar { height: 100%; background: #1FA463; border-radius: 6px; transition: width .2s ease; }

.vx-timer-display { font-size: 32px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .03em; color: #1C2540; }

.vx-step-chip {
    display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border-radius: 20px;
    font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.vx-step-chip.is-active { background: #F1F4FA; color: #59647E; }
.vx-step-chip.is-pending { background: #fff; border: 1px dashed #C7D2E6; color: #94A0B8; }

/* Recording card */
.vx-recording-card { display: flex; gap: 18px; padding: 16px; border: 1px solid #E8ECF3; border-radius: 13px; flex-wrap: wrap; }
.vx-recording-thumb {
    width: 160px; aspect-ratio: 16/9; border-radius: 10px; background: #F1F4FA; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0; color: #94A0B8; background-size: cover; background-position: center; position: relative;
}
.vx-recording-thumb.has-image::after { content: ''; position: absolute; inset: 0; background: rgba(20,30,70,.28); border-radius: 10px; }
.vx-recording-thumb svg { position: relative; z-index: 1; }
.vx-recording-body { flex: 1; min-width: 200px; }
.vx-recording-title { font-size: 14.5px; font-weight: 700; color: #1C2540; margin-top: 8px; }
.vx-recording-meta { font-size: 12.5px; color: #8892A8; margin-top: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.vx-recording-actions { flex-shrink: 0; min-width: 160px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }

@media (max-width: 700px) {
    .vx-recording-thumb { width: 100%; }
}
