body {
  margin: 0;
  font-family: Arial;
  background: linear-gradient(135deg, #1e1e2f, #121212);
  color: white;
}

h1 {
  text-align: center;
  padding: 20px;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  width: 250px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  transition: 0.3s;
}

.card:hover {
  transform: scale(1.05);
}

button {
  margin: 5px;
  padding: 8px;
  border: none;
  border-radius: 6px;
  background: #0072ff;
  color: white;
  cursor: pointer;
}

input {
  padding: 8px;
  margin: 5px;
  border: none;
  border-radius: 6px;
  width: 180px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 14px;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

#timer {
  font-size: 40px;
}

.progress-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 10px 0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0072ff, #00d4ff);
  width: 0%;
  transition: width 0.3s ease;
}

.timer-btn {
  display: block;
  width: 100%;
  margin: 5px 0;
  padding: 10px;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#siteList {
  list-style: none;
  padding: 0;
}

.site-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  margin: 5px 0;
  background: rgba(255, 100, 100, 0.2);
  border-radius: 6px;
  word-break: break-word;
}

.delete-btn {
  background: #ff4444;
  padding: 4px 8px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  margin-left: 10px;
  min-width: 30px;
}

.delete-btn:hover {
  background: #cc0000;
}

#taskList {
  list-style: none;
  padding: 0;
}

.task-item {
  display: flex;
  align-items: center;
  padding: 10px;
  margin: 5px 0;
  background: rgba(100, 200, 255, 0.2);
  border-radius: 6px;
  word-break: break-word;
  gap: 8px;
}

.task-item.completed {
  background: rgba(100, 255, 100, 0.2);
  opacity: 0.7;
}

.task-item.completed span {
  text-decoration: line-through;
}

.task-item input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.task-item span {
  flex: 1;
  word-break: break-word;
}

.dark {
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: #e0e0e0;
}

.dark .card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}