/*
    Developed By: Akmal Alif bin Abdullah
    Institution: Kolej Komuniti Temerloh
*/

body{
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-size: 12px;
    margin: 24px;
    background-color: lightgrey;
}

header{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

#pTitle{
    width: 40%;
    display: flex;
    align-items: center;
}

#pInstruction{
    width: 40%;
    display: flex;
    align-items: center;
}

#pTitle h1{
    padding-left: 12px;
}

#pInstruction p{
    padding-left: 12px;
}

#taskForm{
    width: 100%;
    margin-bottom: 24px;
}

#taskForm h3{
    margin-bottom: 6px;
}

#taskInput, #dueDateInput{
    width: 350px;
    padding: 12px;
    border: 1px solid black;
    border-radius: 6px;
}

#dueDateInput{
    width: 150px;
    padding: 12px;
    border: 1px solid black;
    border-radius: 6px;
}

#btnSubmit{
    padding: 12px;
    border: 1px solid black;
    border-radius: 6px;
    background-color: black;
    color: white;
}

#bgImage{
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 0;
    pointer-events: none;
}

#taskBoard{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.taskColumn{
    flex: 1;
    border: 1px dashed grey;
    border-radius: 6px;
    padding: 12px;
    min-height: 400px;
}

.taskColumn h2{
    text-align: center;
    margin-top: 0;
}

.taskCard{
    background-color: gold;
    border-radius: 6px;
    margin-bottom: 24px;
    padding: 12px;
    min-height: 200px;
    position: relative;
}

.taskCard h3{
    text-align: center;
    margin-top: 0;
    padding: 6px;
    background-color: black;
    color: white;
    border-radius: 6px;
}

.taskAction{
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 8px; 
}

.taskAction button{
    border: none;
    background: transparent;
    cursor: pointer;
}


.taskCard input{
    width: 200px;
}

#taskNormal{
    background-color:lightgreen;
}

#taskPriority{
    background-color: lightgoldenrodyellow;
}

#taskUrgent{
    background-color: lightcoral;
}