/* CLEM matching.css */

.matching-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 640px) {
    .matching-cols { grid-template-columns: 1fr; }
}

.matching-card {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.matching-card h3 {
    font-size: .95rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.matching-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem .6rem;
    border-radius: 6px;
    margin-bottom: .4rem;
    font-size: .88rem;
    border: 1px solid transparent;
}
.matching-item.proposed {
    background: #fef3c7;
    border-color: #f59e0b;
}
.matching-item.confirmed {
    background: #d1fae5;
    border-color: #10b981;
}
.matching-item.unmatched {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #6b7280;
}

.matching-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot-proposed  { background: #f59e0b; }
.dot-confirmed { background: #10b981; }
.dot-unmatched { background: #9ca3af; }

.matching-name { flex: 1; margin: 0 .5rem; font-weight: 500; }
.matching-route { font-size: .78rem; color: #6b7280; }

.matching-actions { display: flex; gap: .4rem; }
.btn-confirm-match {
    padding: .25rem .6rem;
    font-size: .78rem;
    background: #10b981;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.btn-confirm-match:hover { background: #059669; }

.matching-banner {
    background: #dbeafe;
    color: #1e40af;
    padding: .6rem 1rem;
    border-radius: 6px;
    font-size: .88rem;
    margin-top: .75rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.closing-time-info {
    font-size: .85rem;
    color: #6b7280;
    margin-top: .5rem;
}
.closing-time-info strong { color: #374151; }
