/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body */
body {
  font-family: "Inter", Arial, sans-serif;
  background: #f4f6f9;
  color: #333;
  line-height: 1.6;
  padding-bottom: 40px;
}

/* Header */
.main-header {
  background: #ffffff;
  text-align: center;
  padding: 25px 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.main-header h1 {
  font-size: 1.9rem;
  font-weight: 700;
}
.subtitle {
  color: #555;
  font-size: 0.95rem;
  margin-top: 5px;
}
.main-header .brand a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
  display: inline-block;
  margin-top: 8px;
}

/* Card */
.card {
  width: 92%;
  max-width: 600px;
  margin: 30px auto;
  background: white;
  padding: 20px 25px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}
.card h2 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

/* Form */
#new-todo-form {
  margin-bottom: 15px;
}
#new-todo {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fafafa;
}
#new-todo:focus {
  outline: none;
  border-color: #007bff;
  background: #fff;
}

/* Todo List */
#todo-items {
  list-style: none;
}
#todo-items li {
  background: #ffffff;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

/* Checkboxes */
input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
}

/* Home Button */
.home-btn-container {
  text-align: center;
  margin-top: 25px;
}
.home-btn {
  background: #007bff;
  padding: 12px 26px;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: 0.25s;
}
.home-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.20);
}

/* Footer */
footer {
  text-align: center;
  background: #212529;
  color: white;
  padding: 14px;
  margin-top: 40px;
  font-size: 0.9rem;
}
footer a {
  color: white;
  text-decoration: none;
}
