* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: #f8fafc;
}

.container {
  max-width: 950px;
  margin: 40px auto;
  padding: 20px;
}

h1 {
  color: #38bdf8;
}

.card {
  background: #1e293b;
  border: 1px solid #334155;
  padding: 24px;
  margin: 20px 0;
  border-radius: 14px;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  background: #0f172a;
  color: white;
  border: 1px solid #475569;
  border-radius: 8px;
  font-size: 15px;
}

textarea {
  min-height: 90px;
}

button {
  background: #0284c7;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  margin: 5px 0;
}

button:hover {
  opacity: 0.85;
}

.task {
  background: #0f172a;
  padding: 18px;
  margin-top: 15px;
  border-radius: 10px;
  border-left: 4px solid #38bdf8;
}

.delete {
  background: #dc2626;
}

#apiStatus {
  color: #4ade80;
}

#executionTime {
  color: #facc15;
  font-size: 20px;
  font-weight: bold;
}

#message {
  color: #38bdf8;
}
.task-toolbar {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.statistics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.statistics > div {
  background: #18181b;
  border: 1px solid #40334f;
  border-radius: 12px;
  padding: 20px 10px;
  text-align: center;
}

.statistics strong {
  display: block;
  color: #a78bfa;
  font-size: 32px;
  margin-bottom: 8px;
}

.statistics span {
  color: #a1a1aa;
  font-size: 13px;
}

.task-item small {
  display: block;
  color: #a1a1aa;
  margin-bottom: 15px;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
