* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.super-header {
    width: 100%;
    height: 50px;
    background-color: #0079bf;
}

.board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    padding: 20px;
    width: 100%;
    max-width: 90vw;
}

.column {

    background-color: #ebecf0;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: fit-content;
}

.column-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.title {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.card {
    background-color: #fdfdfd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.task-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.task-priority {
    font-size: 14px;
    color: #555;
    margin-top: 4px;
}

/* Priority Colors */
.card.Low {
    border-left: 5px solid #4caf50; /* Green for low priority */
}

.card.Medium {
    border-left: 5px solid #ffc107; /* Yellow for medium priority */
}

.card.High {
    border-left: 5px solid #f44336; /* Red for high priority */
}

/* Button */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.edit-btn, .delete-btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    width: 70px;
}

.edit-btn {
    background-color: #0079bf;
    color: #fff;
}

.edit-btn:hover {
    background-color: #005c99;
}

.delete-btn {
    background-color: #e53935;
    color: #fff;
}

.delete-btn:hover {
    background-color: #b71c1c;
}

.add-card, .add-list {
    background-color: #dfe1e6;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.add-card:hover, .add-list:hover {
    background-color: #c4c4c4;
}

/* Modal Background */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.8); /* Dark semi-transparent background */
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.modal-content {
    background-color: #f0f4f8; /* Light gray-blue background */
    border-radius: 10px;
    padding: 30px;
    width: 350px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    color: #333; /* Dark text color for readability */
    position: relative;
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #0079bf; /* Blue color for the close button */
    cursor: pointer;
}

.close:hover {
    color: #005c99; /* Darker blue on hover */
}

/* Modal Heading */
.modal h2 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #333;
}

/* Labels and Inputs */
.modal label {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: #555;
}

.modal input,
.modal select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccd9e1; /* Light border */
    background-color: #ffffff;
    color: #333;
}

/* Add Task Button */
.modal button {
    background-color: #0079bf; /* Blue button */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    margin-top: 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.modal button:hover {
    background-color: #005c99; /* Darker blue on hover */
}
