/* Kanban Board Styles */
.kanban-container {
    display: flex;
    gap: 2rem;
    height: 100vh;
    padding: 2rem;
}

.sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow-y: auto;
}

.sidebar h2 {
    color: #ff6b6b;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.new-board-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.7rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.new-board-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.create-board-btn {
    width: 100%;
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 0.7rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.create-board-btn:hover {
    background: #ff5252;
}

.boards-list {
    margin-top: 1rem;
}

.board-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.board-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.board-item.active {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid #ff6b6b;
}

.board-name {
    color: white;
    font-size: 0.95rem;
}

.delete-board-btn {
    background: rgba(255, 0, 0, 0.3);
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0;
}

.delete-board-btn:hover {
    background: rgba(255, 0, 0, 0.6);
}

.status {
    color: #aaa;
    font-size: 0.8rem;
    margin-top: 1rem;
    text-align: center;
}

.kanban-main {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.kanban-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.kanban-header h1 {
    color: #ff6b6b;
    font-size: 1.8rem;
    margin: 0;
}

.add-column-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
}

.add-column-btn:hover {
    background: #ff5252;
}

.kanban-board {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    flex: 1;
    padding-bottom: 1rem;
}

.kanban-column {
    min-width: 280px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.column-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.3rem;
    flex: 1;
}

.delete-column-btn {
    background: rgba(255, 0, 0, 0.3);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    line-height: 1;
    padding: 0;
}

.delete-column-btn:hover {
    background: rgba(255, 0, 0, 0.6);
}

.cards-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-height: 100px;
}

.kanban-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.8rem;
    cursor: move;
    position: relative;
}

.kanban-card.dragging {
    opacity: 0.5;
}

.delete-card-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.3);
    color: white;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0;
}

.delete-card-btn:hover {
    background: rgba(255, 0, 0, 0.6);
}

.card-content {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.card-content::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.add-card-btn {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    padding: 0.6rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.add-card-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}
