/* ========== GLOBAL RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Makes width/height include padding & border */
}

/* ========== BODY STYLING ========== */
body {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); /* Purple → Blue gradient */
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; /* Clean modern font */
  min-height: 100vh; /* Full viewport height */
  display: flex; /* Center everything horizontally + vertically */
  align-items: center;
  justify-content: center;
}

/* ========== MAIN CONTAINER CARD ========== */
.container .col-md-6 {
  background: #ffffff; /* White card */
  padding: 25px 30px; 
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2); /* Drop shadow */
  transition: transform 0.2s ease; /* Smooth hover effect if added */
}

/* ========== PAGE TITLE ========== */
.title h1 {
  font-weight: bold;
  color: #2575fc; /* Blue text */
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* ========== INPUT FIELD ========== */
#taskInput {
  border: 2px solid #2575fc; /* Blue border */
  border-radius: 8px; 
  transition: all 0.3s ease; /* Smooth focus effect */
}

/* Input focus effect */
#taskInput:focus {
  border-color: #6a11cb; /* Purple border */
  box-shadow: 0px 0px 10px rgba(106, 17, 203, 0.5); /* Glow effect */
}

/* ========== ADD TASK BUTTON ========== */
#addTaskButton {
  border-radius: 8px;
  font-weight: bold;
  background: linear-gradient(135deg, #2575fc, #6a11cb); /* Blue → Purple gradient */
  border: none;
  transition: 0.3s ease; /* Hover effect ready */
}

/* ========== TASK LIST STYLING ========== */
#taskList li {
  border: none;
  margin: 8px 0; /* Space between tasks */
}

/* Task card box */
#taskList li div {
  border-radius: 10px;
  padding: 12px;
  background: #f9f9f9; /* Light grey background */
  transition: 0.3s ease; /* For hover/animations */
}

/* Task title text */
#taskList span {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

/* Buttons inside each task */
#taskList button {
  margin-left: 6px;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 14px;
  transition: 0.3s ease;
}

/* Edit button */
#taskList button:first-child {
  background: #ffc107; /* Yellow */
  border: none;
  color: #fff;
}

/* Delete button */
#taskList button:last-child {
  background: #dc3545; /* Red */
  border: none;
  color: #fff;
}

/* ========== TASK BOX CONTENT ========== */
.task-box {
  border-left: 5px solid #2575fc; /* Blue highlight strip */
  transition: 0.3s ease;
}

/* Task title */
.task-box span {
  font-size: 16px;
}

/* Task description */
.task-box p {
  margin: 5px 0;
  font-size: 14px;
}

/* Due date text */
.task-box small {
  font-size: 12px;
  color: #555; /* Grey */
}