﻿.session-calendar-card {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
}

.session-calendar-header {
    background: linear-gradient(135deg, #21374C 0%, #38506B 70%);
    padding: 1rem 1.25rem;
}

    .session-calendar-header h4 {
        letter-spacing: .2px;
    }

.session-calendar-subtitle {
    opacity: .9;
    font-size: .9rem;
}

.session-calendar-toolbar .input-group-text {
    background: #fff;
}

.session-calendar-toolbar .form-control {
    border-left: 0;
}

/* Listing strategy (no DataTables): grouped collapsible cards */
.session-group {
    border-radius: 12px;
    overflow: hidden;
}

.session-group-header {
    background: #f8f9fa;
    padding: .85rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

.session-group-header:hover {
    background: #f3f5f7;
}

.session-group-pill {
    display: inline-flex;
    align-items: center;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: #eef2f7;
    color: #21374C;
    font-weight: 600;
}

.session-item {
    background: #fff;
}

.session-item:hover {
    background: #f8fafc;
}

.session-date-badge {
    min-width: 64px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    background: linear-gradient(135deg, #ffffff 0%, #f6f7f9 100%);
    padding: .5rem .4rem;
    line-height: 1.1;
}

.session-date-month {
    font-size: .8rem;
    font-weight: 700;
    color: #38506B;
}

.session-date-day {
    font-size: 1.4rem;
    font-weight: 800;
    color: #21374C;
}

.session-activity-title {
    font-weight: 600;
    color: #111827;
}

.session-date-text {
    font-size: .9rem;
    white-space: nowrap;
}

/* One-line ellipsis for long activity names */
.truncate-activity {
    max-width: 520px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 576px) {
    .truncate-activity {
        max-width: 220px;
    }

    .session-date-text {
        white-space: normal;
    }
}
