/* Kanban Container */
.kanban-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Kanban Header */
.kanban-header {
    flex: 0 0 auto;
    width: 100%;
    overflow: hidden;
}

.kanban-swimlanes-header {
    display: flex;
    align-items: center;
    min-height: 50px;
    border-bottom: 1px solid #dee2e6;
}

.kanban-swimlane-header {
    flex: 1;
    padding: 14px;
    text-align: center;
    font-weight: 600;
    border-right: 1px solid #dee2e6;
    background-color: #3f51b5;
    color: white;
}

.kanban-swimlane-header:last-child {
    border-right: none;
}

.kanban-swimlane-count {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
    display: inline-block;
}

/* Kanban Body */
.kanban-body {
    flex: 1 1 auto;
    overflow-x: auto;
    overflow-y: hidden;
    min-height: 500px;
    padding-bottom: 16px;
}

.kanban-swimlanes {
    display: flex;
    height: 100%;
    min-height: 400px;
}

.kanban-swimlane {
    flex: 1;
    min-width: 250px;
    padding: 16px;
    border-right: 1px solid #dee2e6;
    background-color: #f8f9fa;
    height: 100%;
    overflow-y: auto;
    transition: all 0.3s ease;
}

.kanban-swimlane:last-child {
    border-right: none;
}

.kanban-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Kanban Cards */
.kanban-card {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    margin-bottom: 10px;
    border-left: 3px solid #3f51b5;
}

.kanban-card:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    transform: translateY(-2px);
}

.kanban-card-content {
    margin-bottom: 8px;
    min-height: 60px;
}

.kanban-card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    border-top: 1px solid #eee;
    padding-top: 8px;
}

.location-name {
    font-size: 16px;
    font-weight: bold;
    color: #3f51b5;
    margin-bottom: 8px;
}

.location-notes {
    font-size: 14px;
    color: #555;
    font-style: italic;
}

.kanban-lane-empty {
    text-align: center;
    padding: 20px;
    color: #6c757d;
}

/* Display Field Component */
.display-field {
    margin-bottom: 5px;
}

.display-field.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    background-color: #f0f0f0;
    margin-right: 5px;
}

.display-field.emphasis {
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 8px;
}

.display-field-label {
    font-weight: 500;
}

/* View Selector Component */
.view-selector {
    margin-bottom: 1rem;
    display: flex;
    justify-content: flex-end;
}

.view-selector-toggle .btn-group {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .kanban-swimlane {
        min-width: 200px;
    }
}
