/* ============================================================
   trips-overview.css
   Tripspecifieke stijlen — bouwt voort op public-routes.css
   ============================================================ */

/* ── Statusbadges op de tripkaarten ── */
.trip-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

.trip-status-gepubliceerd { background: rgba(16, 185, 129, 0.85); }
.trip-status-concept      { background: rgba(245, 158,  11, 0.85); }
.trip-status-gesloten     { background: rgba(107, 114, 128, 0.85); }
.trip-status-geannuleerd  { background: rgba(239,  68,  68, 0.85); }

/* Grote statusbadge op de detailpagina */
.trip-status-large {
    position: static;
    display: inline-block;
    font-size: 14px;
    padding: 6px 16px;
    margin-bottom: 1rem;
}

/* Kleine statusbadge in de gerelateerde kaarten */
.trip-status-sm {
    font-size: 10px;
    padding: 3px 8px;
}

/* ── Aanmeldbadge ── */
.trip-aanmeld-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(123, 44, 191, 0.85);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

/* ── Datumlabels op de tripkaarten ── */
.trip-dates {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #7B2CBF;
    font-weight: 600;
    margin-bottom: 8px;
}

.trip-dates i {
    color: #7B2CBF;
}

/* ── Deelnemersinformatie ── */
.trip-deelnemers {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.trip-deelnemers i {
    color: #7B2CBF;
}

/* ── Tripkaart: iets hogere miniatuur dan routekaarten ── */
.trip-card .route-card-image {
    height: 180px;
}

/* ============================================================
   trip-detail.css
   Tripspecifieke stijlen voor de detailpagina
   ============================================================ */

/* ── Dagritten-lijst ── */
.trip-routes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trip-route-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: border-color 0.2s ease;
}

.trip-route-item:hover {
    border-color: #7B2CBF;
}

.trip-route-day {
    background: linear-gradient(135deg, #7B2CBF 0%, #9D4EDD 100%);
    color: white;
    font-weight: 800;
    font-size: 11px;
    text-align: center;
    padding: 6px 4px;
    border-radius: 8px;
    line-height: 1.3;
}

.trip-route-info h4 {
    margin: 0 0 6px 0;
    font-size: 15px;
    color: #1f2937;
}

/* ── Aanmeldknop-deadline opmerking ── */
.deadline-note {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.deadline-note i {
    color: #f59e0b;
}

/* ── Uitgeschakelde knop ── */
.btn-disabled {
    background: #9ca3af !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ── Info statuskleur in sidebar ── */
.info-status-gepubliceerd { color: #10b981; font-weight: 700; }
.info-status-concept      { color: #f59e0b; font-weight: 700; }
.info-status-gesloten     { color: #6b7280; font-weight: 700; }
.info-status-geannuleerd  { color: #ef4444; font-weight: 700; }

/* ── Kleine datumregel in gerelateerde kaarten ── */
.trip-dates-small {
    font-size: 12px;
    color: #7B2CBF;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ── Responsive aanpassingen ── */
@media (max-width: 768px) {
    .trip-route-item {
        grid-template-columns: 50px 1fr;
        grid-template-rows: auto auto;
    }

    .trip-route-item .btn {
        grid-column: 1 / -1;
        text-align: center;
    }

    .trip-dates {
        font-size: 12px;
    }
}
