/* ===================================================
   BLOP Swimlane Board
   =================================================== */

.swimlane-board {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 16px;
    min-height: 400px;
    align-items: flex-start;
}

/* --- Lane --- */
.swimlane-lane {
    min-width: 200px;
    max-width: 240px;
    flex: 1 0 200px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.swimlane-lane--completed {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.swimlane-lane__header {
    padding: 10px 12px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 6px;
    position: sticky;
    top: 0;
    z-index: 1;
    background: inherit;
    border-radius: 8px 8px 0 0;
}

.swimlane-lane__title {
    font-weight: 600;
    font-size: 0.82rem;
    flex: 1;
    white-space: nowrap;
}

.swimlane-lane__body {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 70vh;
    overflow-y: auto;
}

/* --- Card --- */
.swimlane-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    transition:
        box-shadow 0.15s ease,
        border-color 0.15s ease;
    font-size: 0.82rem;
}

.swimlane-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

/* Attention card — orange/red left border + subtle background */
.swimlane-card--attention {
    border-left: 3px solid #dc3545;
    background: #fff5f5;
}

.swimlane-card--attention:hover {
    border-color: #dc3545;
    border-left-color: #dc3545;
}

.swimlane-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.swimlane-card__callsign {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1e293b;
}

.swimlane-card__link {
    color: #94a3b8;
    text-decoration: none;
}

.swimlane-card__link:hover {
    color: #5b7dff;
}

.swimlane-card__attention {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #dc3545;
    font-size: 0.75rem;
    margin-bottom: 4px;
    font-weight: 500;
}

/* --- Step progress dots --- */
.swimlane-card__steps {
    display: flex;
    gap: 3px;
    margin: 4px 0;
}

.swimlane-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid transparent;
}

.swimlane-step-dot--completed {
    background: #1cbb8c;
    border-color: #17a377;
}

.swimlane-step-dot--in_progress {
    background: #5b7dff;
    border-color: #4a6ae5;
}

.swimlane-step-dot--pending {
    background: #dee2e6;
    border-color: #ced4da;
}

.swimlane-step-dot--attention {
    background: #dc3545;
    border-color: #c82333;
}

/* --- Legend dots --- */
.swimlane-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.swimlane-legend-dot--normal {
    background: #5b7dff;
    border: 1px solid #4a6ae5;
}

.swimlane-legend-dot--attention {
    background: #dc3545;
    border: 1px solid #c82333;
}

.swimlane-legend-dot--completed {
    background: #1cbb8c;
    border: 1px solid #17a377;
}
