/* Fleet vehicle dialog — seat layout template preview */
.fleet-seat-preview-wrap {
    margin-top: 8px;
    margin-bottom: 8px;
}

.fleet-seat-preview-caption {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.54);
    margin-bottom: 8px;
    font-weight: 500;
}

.fleet-seat-preview-scroll {
    max-width: 100%;
    overflow: auto;
    padding: 10px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.fleet-seat-preview-grid {
    margin: 0 auto;
    width: max-content;
    max-width: 100%;
}

.fleet-seat-preview-cell {
    box-sizing: border-box;
    border-radius: 3px;
    border: 1px solid #ccc;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 1px;
}

.fleet-seat-preview-seat {
    background: #e3f2fd;
    border-color: #64b5f6;
    color: #1565c0;
}

.fleet-seat-preview-aisle {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    border-color: #cbd5e1;
}

.fleet-seat-preview-window {
    background: linear-gradient(180deg, #dbeafe 0%, #93c5fd 100%);
    border-color: #60a5fa;
}

.fleet-seat-preview-window-right {
    background: linear-gradient(180deg, #e0f2fe 0%, #7dd3fc 100%);
    border-color: #38bdf8;
}

.fleet-seat-preview-door {
    background: linear-gradient(135deg, #d4a574 0%, #92400e 100%);
    border-color: #78350f;
    color: rgba(255, 255, 255, 0.95);
}

.fleet-seat-preview-restroom {
    background: linear-gradient(180deg, #e8dff5 0%, #a78bfa 100%);
    border-color: #7c3aed;
    color: rgba(76, 29, 149, 0.85);
}

.fleet-seat-preview-cabin {
    background: linear-gradient(180deg, #475569 0%, #334155 100%);
    border-color: #1e293b;
    color: rgba(255, 255, 255, 0.4);
}

.fleet-seat-preview-wall {
    position: relative;
    border-color: #e2e8f0;
    background: transparent;
}

/* Same inboard side as window strips: leftmost col → strip toward bus interior (right of cell) */
.fleet-seat-preview-wall::before {
    content: '';
    position: absolute;
    left: auto;
    right: 1px;
    top: 1px;
    bottom: 1px;
    width: 30%;
    max-width: 7px;
    min-width: 3px;
    border-radius: 1px;
    border-left: 1px solid #64748b;
    border-right: 1px solid #475569;
    background: #94a3b8;
}

.fleet-seat-preview-wall--inboard-last-col::before {
    left: 1px;
    right: auto;
}

.fleet-seat-preview-empty {
    border: none;
    background: transparent;
}
