/**
 * Dweilagenda Frontend Styles
 */

/* Performance Form Styles */
.dweilagenda-performance-form {
    max-width: 800px;
    margin: 20px 0;
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dweilagenda-form .form-row {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.dweilagenda-form .form-row.single-col {
    flex-direction: column;
}

.dweilagenda-form .form-col {
    flex: 1;
    min-width: 250px;
}

.dweilagenda-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.dweilagenda-form .required {
    color: #d63638;
}

.dweilagenda-form .form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.4;
    transition: border-color 0.3s ease;
}

.dweilagenda-form .form-control:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.dweilagenda-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.dweilagenda-form select.form-control {
    height: auto;
    padding: 8px 12px;
}

.form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.form-actions .button {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Event List Styles */
.dweilagenda-event-list {
    margin: 20px 0;
}

.event-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.event-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.event-date {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    background: #0073aa;
    color: #fff;
    border-radius: 5px;
    padding: 15px 10px;
    margin-right: 20px;
}

.event-date .day {
    display: block;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 5px;
}

.event-date .year {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.event-details {
    flex: 1;
}

.event-title {
    margin: 0 0 10px 0;
    font-size: 22px;
}

.event-title a {
    color: #333;
    text-decoration: none;
}

.event-title a:hover {
    color: #0073aa;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-status {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.event-status.status-concept {
    background: #f0f0f0;
    color: #666;
}

.event-status.status-bevestigd {
    background: #d4edda;
    color: #155724;
}

.event-status.status-geannuleerd {
    background: #f8d7da;
    color: #721c24;
}

.event-description {
    margin-top: 10px;
    color: #555;
    line-height: 1.5;
}

.event-clothing {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* Calendar Styles */
.dweilagenda-calendar-wrapper {
    margin: 20px 0;
}

.dweilagenda-calendar-wrapper.loading {
    opacity: 0.6;
    pointer-events: none;
}

.dweilagenda-calendar {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.calendar-header {
    background: #0073aa;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calendar-header .calendar-title {
    margin: 0;
    font-size: 20px;
    flex: 1;
    text-align: center;
}

.calendar-nav {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.calendar-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.calendar-nav:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.calendar-today-nav {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.calendar-today-btn {
    background: #fff;
    border: 1px solid #0073aa;
    color: #0073aa;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.calendar-today-btn:hover {
    background: #0073aa;
    color: #fff;
}

.calendar-grid {
    display: grid;
    grid-template-rows: auto 1fr;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.weekday {
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #666;
}

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

.calendar-day {
    min-height: 100px;
    padding: 8px;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    position: relative;
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.calendar-day.empty {
    background: #f8f9fa;
}

.calendar-day.today {
    background: #e3f2fd;
}

.calendar-day.today .day-number {
    background: #0073aa;
    color: #fff;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.calendar-day.has-events {
    background: #fff3cd;
}

.day-number {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.day-events {
    margin-top: 5px;
}

.day-event {
    margin-bottom: 2px;
}

.day-event a {
    display: block;
    padding: 2px 5px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    border-radius: 2px;
    line-height: 1.2;
}

.day-event a:hover {
    background: #005a87;
}

/* Calendar Compact Mode (Widget) */
.calendar-compact .dweilagenda-calendar {
    font-size: 12px;
}

.calendar-compact .calendar-header {
    padding: 10px 12px;
}

.calendar-compact .calendar-header .calendar-title {
    font-size: 16px;
}

.calendar-compact .calendar-nav {
    width: 28px;
    height: 28px;
}

.calendar-compact .calendar-today-nav {
    padding: 6px;
}

.calendar-compact .calendar-today-btn {
    padding: 4px 12px;
    font-size: 11px;
}

.calendar-compact .weekday {
    padding: 6px 2px;
    font-size: 11px;
}

.calendar-compact .calendar-day {
    min-height: 36px;
    padding: 4px;
    text-align: center;
}

.calendar-compact .day-number {
    font-size: 12px;
}

.calendar-compact .calendar-day.today .day-number {
    width: 20px;
    height: 20px;
    font-size: 11px;
}

/* Event dot for compact mode */
.event-dot {
    display: block;
    width: 6px;
    height: 6px;
    background: #0073aa;
    border-radius: 50%;
    margin: 3px auto 0;
}

.calendar-day.has-events .event-dot {
    background: #d63638;
}

/* Compact event list */
.calendar-event-list-compact {
    padding: 12px 15px;
    border-top: 1px solid #ddd;
    background: #f8f9fa;
}

.calendar-event-list-compact h4 {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #333;
}

.calendar-event-list-compact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.calendar-event-list-compact li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}

.calendar-event-list-compact li:last-child {
    border-bottom: none;
}

.calendar-event-list-compact .event-date-compact {
    background: #0073aa;
    color: #fff;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.calendar-event-list-compact a {
    color: #333;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.3;
}

.calendar-event-list-compact a:hover {
    color: #0073aa;
}

/* Widget specific styles */
.calendar-widget .dweilagenda-calendar {
    margin: 0;
}

.widget .dweilagenda-calendar-wrapper {
    margin: 0;
}

/* RSVP Styles */
.dweilagenda-rsvp {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin: 20px 0;
}

.dweilagenda-rsvp h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.current-status {
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
}

/* Status: Aanwezig (groen) */
.current-status.status-aanwezig,
.status-aanwezig {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Status: Afwezig (rood) */
.current-status.status-afwezig,
.status-afwezig {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Status: Onbekend (grijs/oranje) */
.current-status.status-onbekend,
.status-onbekend {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Status: Niet Opgekomen (donkerrood) */
.current-status.status-niet-opgekomen,
.status-niet-opgekomen {
    background: #dc3545;
    color: #fff;
    border: 1px solid #bd2130;
}

/* Backwards compatibility: oude statussen */
.current-status.status-wel {
    background: #d4edda;
    color: #155724;
}

.current-status.status-niet {
    background: #f8d7da;
    color: #721c24;
}

.status-buttons {
    margin: 15px 0;
}

.status-button {
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 8px 16px;
    border: 2px solid;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
}

/* Button: Aanwezig (groen) */
.status-button.button-aanwezig {
    border-color: #28a745;
    color: #28a745;
}

.status-button.button-aanwezig:hover:not(:disabled) {
    background: #28a745;
    color: #fff;
}

/* Button: Afwezig (rood) */
.status-button.button-afwezig {
    border-color: #dc3545;
    color: #dc3545;
}

.status-button.button-afwezig:hover:not(:disabled) {
    background: #dc3545;
    color: #fff;
}

/* Button: Niet Opgekomen (donkerrood) - alleen voor bestuur */
.status-button.button-niet-opgekomen {
    border-color: #721c24;
    color: #721c24;
}

.status-button.button-niet-opgekomen:hover:not(:disabled) {
    background: #721c24;
    color: #fff;
}

.status-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
}

.rsvp-message {
    padding: 10px 15px;
    margin: 15px 0;
    border-radius: 3px;
}

.rsvp-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.rsvp-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Message Styles */
.dweilagenda-message {
    padding: 12px 15px;
    margin: 15px 0;
    border-left: 4px solid;
    border-radius: 3px;
}

.dweilagenda-message.success {
    background: #f7fcfe;
    border-color: #00a0d2;
    color: #005a87;
}

.dweilagenda-message.error {
    background: #fef7f1;
    border-color: #d54e21;
    color: #d54e21;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dweilagenda-performance-form {
        padding: 20px;
    }

    .dweilagenda-form .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .dweilagenda-form .form-col {
        min-width: auto;
    }

    .event-item {
        flex-direction: column;
        text-align: center;
    }

    .event-date {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 10px;
    }

    .event-date .day,
    .event-date .month,
    .event-date .year {
        display: inline;
        margin: 0;
    }

    .event-meta {
        justify-content: center;
        text-align: center;
    }

    .calendar-header {
        padding: 10px 15px;
    }

    .calendar-header .calendar-title {
        font-size: 16px;
    }

    .calendar-nav {
        width: 32px;
        height: 32px;
    }

    .calendar-day {
        min-height: 60px;
        padding: 5px;
    }

    .day-event a {
        font-size: 10px;
        padding: 1px 3px;
    }

    .status-buttons {
        text-align: center;
    }

    .status-button {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .dweilagenda-performance-form {
        padding: 15px;
        margin: 10px 0;
    }

    .event-item {
        padding: 15px;
        margin-bottom: 15px;
    }

    .event-title {
        font-size: 18px;
    }

    .weekday {
        padding: 5px;
        font-size: 12px;
    }

    .calendar-day {
        min-height: 50px;
        padding: 3px;
    }

    .day-number {
        font-size: 12px;
    }
}

/* Agenda List Styles */
.agenda-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.agenda-item {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.agenda-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.agenda-item .item-details {
    flex: 1;
    min-width: 280px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-right: 1px solid #e0e0e0;
}

.agenda-item .date-time {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.agenda-item .detail-group {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #444;
}

.agenda-item .detail-group .icon {
    color: #0073aa;
    width: 16px;
    text-align: center;
}

.agenda-item .clothing-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.agenda-item .clothing-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.agenda-item .clothing-text {
    font-size: 12px;
    color: #666;
}

.agenda-item .item-location {
    flex: 1.5;
    min-width: 300px;
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.agenda-item .item-location > .icon {
    color: #dc3545;
    font-size: 18px;
    margin-top: 2px;
}

.agenda-item .location-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.agenda-item .event-type {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: #0073aa;
    font-weight: 500;
}

.agenda-item .address {
    margin: 0;
    font-size: 13px;
    color: #666;
}

/* Responsive Agenda List */
@media (max-width: 768px) {
    .agenda-item {
        flex-direction: column;
    }

    .agenda-item .item-details {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        min-width: auto;
    }

    .agenda-item .item-location {
        min-width: auto;
    }

    .agenda-item .date-time {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .agenda-item .item-details,
    .agenda-item .item-location {
        padding: 12px 15px;
    }

    .agenda-item .location-name {
        font-size: 15px;
    }

    .agenda-item .event-type {
        font-size: 13px;
    }
}

/* Grouped Event List Styles */
.dweilagenda-grouped-list {
    margin: 20px 0;
}

.event-date-group {
    margin-bottom: 25px;
}

.event-date-header {
    background: #0073aa;
    color: #fff;
    padding: 12px 20px;
    margin: 0 0 10px 0;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
}

.event-time-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-time-item {
    display: flex;
    align-items: baseline;
    padding: 12px 15px;
    margin-bottom: 5px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.event-time-item:hover {
    background: #f8f9fa;
}

.event-time-item .event-time {
    flex-shrink: 0;
    width: 60px;
    font-weight: 700;
    color: #0073aa;
    font-size: 16px;
}

.event-time-item .event-info {
    flex: 1;
}

.event-time-item .event-title-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.event-time-item .event-title-link:hover {
    color: #0073aa;
    text-decoration: underline;
}

.event-time-item .event-title-besloten {
    color: #666;
    font-weight: 500;
    font-size: 15px;
}

.event-time-item .besloten-badge {
    display: inline-block;
    padding: 2px 6px;
    margin-left: 8px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.event-time-item .event-location-inline {
    color: #666;
    font-size: 14px;
}

/* Responsive Grouped List */
@media (max-width: 768px) {
    .event-date-header {
        font-size: 16px;
        padding: 10px 15px;
    }

    .event-time-item {
        flex-direction: column;
        gap: 5px;
    }

    .event-time-item .event-time {
        width: auto;
    }
}

@media (max-width: 480px) {
    .event-date-header {
        font-size: 14px;
        padding: 8px 12px;
    }

    .event-time-item {
        padding: 10px 12px;
    }

    .event-time-item .event-title-link,
    .event-time-item .event-title-besloten {
        font-size: 14px;
    }
}

/* Print Styles */
@media print {
    .dweilagenda-performance-form,
    .dweilagenda-event-list,
    .dweilagenda-calendar {
        box-shadow: none;
        border: 1px solid #333;
    }

    .form-actions,
    .status-buttons {
        display: none;
    }

    .event-item {
        page-break-inside: avoid;
        margin-bottom: 15px;
    }

    .calendar-day {
        page-break-inside: avoid;
    }
}

/* ================================================
   Agenda Table Styles
   ================================================ */

.dweilagenda-agenda-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.dweilagenda-agenda-table thead {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: #fff;
}

.dweilagenda-agenda-table thead th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #004d73;
}

.dweilagenda-agenda-table tbody {
    display: table-row-group;
}

.dweilagenda-agenda-table tbody td {
    padding: 12px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #e8e8e8;
}

.agenda-row {
    transition: background-color 0.2s ease;
}

.agenda-row:last-child td {
    border-bottom: none;
}

.agenda-row:hover {
    background-color: #f8f9fa;
}

.agenda-row.besloten {
    background-color: #fff8e6;
}

.agenda-row.besloten:hover {
    background-color: #fff3d0;
}

/* New column styles */
.agenda-col-naam {
    min-width: 180px;
}

.agenda-col-naam strong {
    display: block;
    color: #333;
    font-size: 15px;
}

.agenda-col-naam .agenda-time {
    margin-top: 4px;
    color: #666;
}

.agenda-col-naam .agenda-time i {
    color: #0073aa;
    margin-right: 5px;
}

.agenda-col-naam .besloten-badge {
    color: #856404;
    margin-left: 5px;
}

.agenda-col-datum {
    white-space: nowrap;
    font-weight: 500;
    color: #333;
}

.agenda-col-locatie {
    color: #555;
}

.agenda-col-prijs {
    font-weight: 600;
    color: #28a745;
}

.agenda-col-status {
    text-align: center;
}

.agenda-col-status .status-badge {
    display: inline-block;
    white-space: nowrap;
}

.agenda-col-acties {
    text-align: center;
    white-space: nowrap;
}

.agenda-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: #f0f0f0;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
}

.agenda-action-btn:hover {
    background: #0073aa;
    color: #fff;
}

/* Legacy column styles for backwards compatibility */
.agenda-col-datetime {
    width: 140px;
    min-width: 140px;
    padding: 15px;
    vertical-align: top;
    border-right: 1px solid #e8e8e8;
    background-color: #fafafa;
}

.agenda-date {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.agenda-date i {
    color: #0073aa;
    margin-right: 8px;
    width: 16px;
}

.agenda-time small {
    color: #666;
    font-size: 0.9em;
}

.agenda-time i {
    color: #0073aa;
    margin-right: 5px;
}

.agenda-besloten {
    margin-bottom: 8px;
    color: #856404;
    font-weight: 500;
}

.agenda-besloten i {
    color: #856404;
    margin-right: 8px;
    width: 16px;
}

.agenda-clothing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

.agenda-clothing img {
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.agenda-clothing small {
    color: #666;
    font-size: 0.85em;
}

/* Location column */
.agenda-col-location {
    padding: 15px 20px;
    vertical-align: top;
}

.agenda-event-type {
    margin-bottom: 8px;
    color: #333;
}

.agenda-event-type i {
    color: #28a745;
    margin-right: 10px;
    width: 16px;
}

.agenda-event-type strong {
    font-size: 1.1em;
}

.agenda-event-type.besloten i {
    color: #856404;
}

.agenda-location-name {
    color: #0073aa;
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 1em;
}

.agenda-address {
    color: #666;
    font-size: 0.9em;
}

/* Responsive Agenda Table */
@media screen and (max-width: 768px) {
    .dweilagenda-agenda-table {
        display: block;
    }

    .dweilagenda-agenda-table thead {
        display: none;
    }

    .dweilagenda-agenda-table tbody {
        display: block;
    }

    .dweilagenda-agenda-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #e8e8e8;
        border-radius: 8px;
        padding: 15px;
        background: #fff;
    }

    .dweilagenda-agenda-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .dweilagenda-agenda-table tbody td:last-child {
        border-bottom: none;
    }

    .dweilagenda-agenda-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
        margin-right: 10px;
        flex-shrink: 0;
    }

    .agenda-col-naam {
        flex-direction: column;
        align-items: flex-start;
    }

    .agenda-col-naam::before {
        display: none;
    }

    .agenda-col-naam strong {
        font-size: 16px;
    }

    .agenda-col-status {
        justify-content: flex-start;
    }

    .agenda-col-acties {
        justify-content: flex-start;
    }

    /* Legacy responsive styles */
    .agenda-row {
        display: flex;
        flex-direction: column;
        padding: 15px;
        border-bottom: 2px solid #e8e8e8;
    }

    .agenda-col-datetime {
        width: 100%;
        min-width: auto;
        padding: 0 0 12px 0;
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        background-color: transparent;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 15px;
    }

    .agenda-col-datetime > div {
        margin-bottom: 0;
    }

    .agenda-clothing {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .agenda-col-location {
        padding: 12px 0 0 0;
    }
}

/* Print styles for agenda table */
@media print {
    .dweilagenda-agenda-table {
        box-shadow: none;
        border: 1px solid #333;
    }

    .agenda-row {
        page-break-inside: avoid;
    }

    .agenda-col-datetime {
        background-color: #f5f5f5 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}