/* assets/css/board.css */

/* Reset & base styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f5f7;
    color: #333;
}

h1, h2, h3 {
    margin: 0 0 10px;
}

/* Container for the entire board */
#lists-container {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    overflow-x: auto;
    height: calc(100vh - 60px); /* leave room for header */
    box-sizing: border-box;
}

/* Each list (column) */
.list {
    background: #ebecf0;
    border-radius: 6px;
    padding: 10px;
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    max-height: 100%;
}

.list h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Cards inside lists */
.cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    padding-right: 4px;
}

.card {
    background: #fff;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    cursor: grab;
    transition: background 0.2s, transform 0.1s;
}

.card:active {
    cursor: grabbing;
    transform: scale(0.98);
}

.card:hover {
    background: #fdfdfd;
}

/* Buttons */
button, .btn {
    background: #0079bf;
    border: none;
    border-radius: 4px;
    color: #fff;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover, .btn:hover {
    background: #026aa7;
}

/* Forms inside lists */
form {
    margin-top: 10px;
}

input[type="text"], textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 6px;
    font-size: 14px;
}

input[type="text"]:focus, textarea:focus {
    outline: none;
    border-color: #0079bf;
}

/* Scrollbar styling for lists */
.cards::-webkit-scrollbar {
    width: 8px;
}

.cards::-webkit-scrollbar-thumb {
    background: #c1c7d0;
    border-radius: 4px;
}

.cards::-webkit-scrollbar-thumb:hover {
    background: #b3bac5;
}
