/* General Styling */
body {
    background-color: #f0f4f8;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

header {
    background-color: #007bff;
    color: white;
    padding: 1.5em 0;
    font-size: 1.2em;
    text-align: center;
    margin: 0;
    border-radius: 0 0 10px 10px;
    max-width: 100%;
}

/* Input Form Styling */
#inputForm {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px auto;
    padding: 0 10px;
    max-width: 100%;
    box-sizing: border-box;
}

#task {
    flex: 1;
    max-width: 60%;
    height: 40px;
    border: 2px solid #007bff;
    border-radius: 5px;
    padding: 5px;
    font-size: 1em;
    min-width: 200px;
    box-sizing: border-box;
}

#addTask {
    width: auto;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #28a745;
    color: white;
    font-size: 1em;
    cursor: pointer;
    box-sizing: border-box;
}

#addTask:hover {
    background-color: #218838;
}

/* Main Sections Styling */
#main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 10px;
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    #main {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Column Styling */
#todo, #inprocess, #completed {
    background-color: #f8f9fa;
    width: 100%;
    max-width: 450px;
    border: 2px solid #007bff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    #todo, #inprocess, #completed {
        margin-bottom: 0;
    }
}

/* Task List Styling */
ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}

.task {
    background-color: #e9ecef;
    padding: 10px;
    margin: 8px 0;
    border-radius: 5px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Button Styling */
.textButton, #confirmDelete, #cancelDelete {
    padding: 8px 12px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    color: white;
    border: none;
}

#inProgressButton {
    background-color: #007bff;
}

#pendingButton {
    background-color: #ffc107;
}

#completedButton, #cancelDelete {
    background-color: #28a745;
}

#removeButton, #confirmDelete {
    background-color: #dc3545;
}

#editButton {
    background-color: skyblue;
}

/* Clear Button Styling */
.clear {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 15px 0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.clear:hover {
    background-color: #c82333;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    header {
        font-size: 1.5em;
        padding: 1em 0;
    }

    #task {
        max-width: 80%;
    }

    #addTask {
        width: 100%;
    }
}

.svgIcon {
    width: 16px;
    height: 14px;
    fill: white;
}

#confirmButtons {
    justify-content: center;
    display: flex;
}
  
:modal {
  background-color: beige;
  border: 2px solid burlywood;
  border-radius: 5px;
}

p {
  color: black;
}
