/* General Page Styling */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #fff0f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.page {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90%;
    max-width: 500px;
    background: #fff3f8;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.page.active {
    display: flex;
}

/* Titles */
h1 {
    font-size: 3rem;
    color: #ff6f91;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.6rem;
    color: #ff4d6d;
    margin-bottom: 20px;
}

/* Buttons */
.next-btn, button {
    padding: 10px 18px;
    border: none;
    border-radius: 20px;
    background: #ff6f91;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
}

button:hover, .next-btn:hover {
    background: #ff1f60;
}

/* Inputs */
input[type="text"], input[type="date"] {
    padding: 10px 12px;
    margin: 8px 0;
    border-radius: 15px;
    border: 2px solid #ffccd5;
    outline: none;
    width: 70%;
    font-size: 1rem;
}

input:focus {
    border-color: #ff6f91;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

th, td {
    border: 1px solid #ffccd5;
    padding: 8px;
    border-radius: 10px;
    text-align: center;
}

tbody tr.completed td {
    text-decoration: line-through;
    opacity: 0.6;
}

/* Add task section */
.add-task-section {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
