body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.calendar, .todo {
  width: 320px;
}

.calendar {
  transition: transform 0.3s ease;
}
.calendar:hover {
  transform: translateY(-5px);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h2 {
  margin: 0;
  font-size: 20px;
  color: #222;
}

button {
  background: #2a5298;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}
button:hover {
  background: #1e3c72;
}

.weekdays, .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.weekdays div {
  text-align: center;
  font-weight: bold;
  color: #555;
}

.days div {
  text-align: center;
  padding: 12px 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.3s ease;
}
.days div:hover {
  background: #dbeafe;
  color: #1e3c72;
  font-weight: bold;
}
.today {
  background: #2a5298;
  color: white;
  font-weight: bold;
}

.todo h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #222;
}

#taskInput {
  width: 70%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
#addTask {
  margin-left: 8px;
}

#taskList {
  margin-top: 15px;
  list-style: none;
  padding: 0;
}
#taskList li {
  padding: 8px;
  margin-bottom: 6px;
  background: #f3f4f6;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#taskList li:hover {
  background: #dbeafe;
}
.delete {
  color: red;
  cursor: pointer;
}
