/* =========================
   Global Styles
========================= */
body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #fdf6f0, #f0f4f8); /* light pastel gradient */
    color: #333;
    text-align: center;
    padding: 50px 20px;
    margin: 0;
}

h1 {
    color: #4a90e2; /* soft blue */
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

/* =========================
   Form Styles
========================= */
form {
    margin-bottom: 40px;
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

form:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

input, select {
    padding: 12px 15px;
    margin: 8px 5px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 1em;
    width: 220px;
    outline: none;
    transition: all 0.3s;
}

input:focus, select:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.4);
}

/* =========================
   Button Styles
========================= */
button {
    padding: 12px 20px;
    margin: 10px 5px;
    border: none;
    border-radius: 12px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
}

button:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* Add / Save Button */
#addBtn {
    background-color: #4a90e2;
    color: white;
}

/* Cancel Button */
#cancelUpdate {
    background-color: #e57373;
    color: white;
}

/* =========================
   Task List Styles
========================= */
ul {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
}

li {
    background: #ffffff;
    margin: 15px 0;
    padding: 20px 25px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 0.5s ease forwards;
}

li:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

/* Task Info */
li div:first-child {
    text-align: left;
}

li strong {
    font-size: 1.2em;
    color: #4a90e2;
}

/* Status Badge */
.status {
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    font-size: 0.85em;
    margin-right: 15px;
}

/* Status Colors */
.pending {
    background-color: #f9a825; /* soft yellow/orange */
}

.completed {
    background-color: #66bb6a; /* soft green */
}

/* Task Buttons */
.task-buttons button {
    padding: 6px 12px;
    margin-left: 5px;
    border-radius: 12px;
    font-size: 0.9em;
    transition: all 0.3s;
}

.editBtn {
    background-color: #29b6f6; /* soft blue */
    color: white;
}

.delBtn {
    background-color: #ef5350; /* soft red */
    color: white;
}

/* =========================
   Animations
========================= */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   Responsive Design
========================= */
@media (max-width: 700px) {
    li {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .task-buttons {
        margin-top: 10px;
    }

    input, select {
        width: 80%;
    }
}

/* =========================
   Additional Enhancements
========================= */
/* Smooth button hover scale */
button:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Subtle shadow for status badges */
.status {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Form input hover glow */
input:hover, select:hover {
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.2);
}

/* Smooth transition for task card background */
li {
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
/* =========================
   Global Styles
========================= */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

body {
    font-family: 'Nunito', sans-serif;
    background: #fefcfb; /* very light pastel background */
    color: #333;
    text-align: center;
    padding: 50px 20px;
    margin: 0;
}

h1 {
    color: #6c63ff; /* soft purple */
    font-size: 3em;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.08);
}

/* =========================
   Form Styles
========================= */
form {
    margin-bottom: 40px;
    background: #ffffff;
    padding: 30px 35px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

form:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

input, select {
    padding: 12px 15px;
    margin: 8px 5px;
    border-radius: 12px;
    border: 1px solid #dcdcdc;
    font-size: 1em;
    width: 220px;
    outline: none;
    transition: all 0.3s;
}

input:focus, select:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 8px rgba(108, 99, 255, 0.3);
}

/* =========================
   Button Styles
========================= */
button {
    padding: 12px 20px;
    margin: 10px 5px;
    border: none;
    border-radius: 12px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
}

button:hover {
    opacity: 0.9;
    transform: translateY(-2px) scale(1.03);
}

/* Add / Save Button */
#addBtn {
    background-color: #6c63ff; /* soft purple */
    color: white;
}

/* Cancel Button */
#cancelUpdate {
    background-color: #ff8a80; /* light coral */
    color: white;
}

/* =========================
   Task List Styles
========================= */
ul {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
}

li {
    background: #ffffff;
    margin: 15px 0;
    padding: 22px 25px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    animation: fadeInUp 0.5s ease forwards;
}

li:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

/* Task Info */
li div:first-child {
    text-align: left;
}

li strong {
    font-size: 1.2em;
    color: #6c63ff;
}

/* Status Badge */
.status {
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    font-size: 0.85em;
    margin-right: 15px;
}

/* Status Colors */
.pending {
    background-color: #ffca28; /* soft yellow */
}

.completed {
    background-color: #66bb6a; /* soft green */
}

/* Task Buttons */
.task-buttons button {
    padding: 6px 12px;
    margin-left: 5px;
    border-radius: 12px;
    font-size: 0.9em;
    transition: all 0.3s;
}

.editBtn {
    background-color: #42a5f5; /* light blue */
    color: white;
}

.delBtn {
    background-color: #ef5350; /* soft red */
    color: white;
}

/* =========================
   Animations
========================= */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   Responsive Design
========================= */
@media (max-width: 700px) {
    li {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .task-buttons {
        margin-top: 10px;
    }

    input, select {
        width: 80%;
    }
}

/* =========================
   Additional Light Enhancements
========================= */
/* Subtle input hover glow */
input:hover, select:hover {
    box-shadow: 0 0 8px rgba(108, 99, 255, 0.2);
}

/* Status badge shadow */
.status {
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Smooth hover transition for task card background */
li {
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}



/* =========================
   Import Google Font
========================= */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

/* =========================
   Global Styles
========================= */
body {
    font-family: 'Nunito', sans-serif;
    background: #fdf7f9; /* very light pastel pink */
    color: #333;
    text-align: center;
    padding: 50px 20px;
    margin: 0;
}

h1 {
    color: #6c63ff; /* soft purple */
    font-size: 3em;
    margin-bottom: 25px;
}

/* =========================
   Form Styles
========================= */
form {
    margin: 0 auto 40px auto;
    background: #ffffff;
    padding: 30px 35px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

form:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.06);
}

input, select {
    padding: 12px 15px;
    margin: 8px 5px;
    border-radius: 12px;
    border: 1px solid #dcdcdc;
    font-size: 1em;
    width: 220px;
    outline: none;
    transition: all 0.3s;
}

input:focus, select:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 8px rgba(108, 99, 255, 0.2);
}

/* =========================
   Button Styles
========================= */
button {
    padding: 12px 20px;
    margin: 10px 5px;
    border: none;
    border-radius: 12px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
}

button:hover {
    opacity: 0.9;
    transform: translateY(-1px) scale(1.03);
}

/* Add / Save Button */
#addBtn {
    background-color: #a3d2f2; /* light pastel blue */
    color: #ffffff;
}

/* Cancel Button */
#cancelUpdate {
    background-color: #f9b3c1; /* light pastel pink */
    color: #ffffff;
}

/* =========================
   Task List Styles
========================= */
ul {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
}

li {
    background: #ffffff;
    margin: 15px 0;
    padding: 22px 25px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    animation: fadeInUp 0.5s ease forwards;
    text-align: center;
}

li:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Task Info */
li div:first-child {
    text-align: center;
}

li strong {
    font-size: 1.2em;
    color: #6c63ff;
}

/* Status Badge */
.status {
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    font-size: 0.85em;
    margin-right: 15px;
}

/* Status Colors */
.pending {
    background-color: #f9b3c1; /* light pink */
}

.completed {
    background-color: #81e39e; /* light green */
}

/* Task Buttons */
.task-buttons button {
    padding: 6px 12px;
    margin-left: 5px;
    border-radius: 12px;
    font-size: 0.9em;
    transition: all 0.3s;
}

.editBtn {
    background-color: #a3d2f2; /* light blue */
    color: white;
}

.delBtn {
    background-color: #f9b3c1; /* light pink */
    color: white;
}

/* =========================
   Animations
========================= */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   Responsive Design
========================= */
@media (max-width: 700px) {
    li {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .task-buttons {
        margin-top: 10px;
    }

    input, select {
        width: 80%;
    }
}

/* =========================
   Additional Light Enhancements
========================= */
input:hover, select:hover {
    box-shadow: 0 0 8px rgba(108, 99, 255, 0.1);
}

.status {
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

li {
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

button:hover {
    transform: translateY(-1px) scale(1.05);
}
