.notification {
    position: fixed;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    transition: opacity 0.5s ease;
    opacity: 1;
}

.notification.error {
    background: #dc3545;
}

.kanban-board {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.kanban-column {
    width: 45%;
    background: #f4f4f4;
    padding: 10px;
    border-radius: 10px;
    min-height: 300px;
    height: fit-content;
}

.dragover {
    border: 2px dashed #999;
    background-color: #fafafa;
}

.dragging {
    opacity: 0.5;
}

.kanban-card {
    background: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.kanban-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.kanban-card .delete-btn,
.kanban-card .edit-btn {
    position: absolute;
    top: 5px;
    cursor: pointer;
    font-size: 16px;
}

.kanban-card .delete-btn {
    right: 5px;
    color: red;
}

.kanban-card .edit-btn {
    right: 30px;
    color: blue;
}

.kanban-card img {
    width: 100px;
    height: auto;
    border-radius: 5px;
    margin-top: 10px;
    transition: opacity 0.3s;
}

.ych-modal {
    display: none;
    z-index: 99999;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.ych-modal.show {
    display: block;
    opacity: 1;
}

.add-task-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.add-task-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.add-task-btn:active {
    transform: scale(0.98);
}

/* Style du formulaire */
.ych-modal input,
.ych-modal textarea,
.ych-modal select,
.ych-modal button {
    width: 100%;
    margin: 5px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.ych-modal button {
    background: #007bff;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.ych-modal button:hover {
    background: #0056b3;
}