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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  background: #041122;
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

header {
  text-align: center;
  color: #e6f99d;
  margin-bottom: 40px;
  padding: 20px;
  background: #0a1929;
  border: 2px solid #259073;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: none;
  color: #7fda89;
}

.subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  color: #e6f99d;
  margin-bottom: 15px;
}

.auto-refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.auto-refresh label {
  color: #7fda89;
  font-weight: 500;
  margin: 0;
}

.auto-refresh select {
  padding: 8px 16px;
  border: 2px solid #259073;
  border-radius: 4px;
  background: #041122;
  color: #e6f99d;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.3s;
}

.auto-refresh select:focus {
  outline: none;
  border-color: #7fda89;
}

.main-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  margin-bottom: 20px;
}

.card {
  background: #0a1929;
  border-radius: 4px;
  padding: 24px;
  box-shadow: none;
  border: 2px solid #259073;
}

.card h2 {
  color: #7fda89;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #e6f99d;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #259073;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s;
  background: #041122;
  color: #e6f99d;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #7fda89;
}

textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

button {
  background: #259073;
  color: #e6f99d;
  border: 2px solid #259073;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

button:hover {
  background: #7fda89;
  border-color: #7fda89;
  color: #041122;
}

button:active {
  transform: scale(0.98);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.task-item {
  background: #041122;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 12px;
  border: 2px solid #259073;
  transition: border-color 0.3s;
  display: flex;
  gap: 12px;
}

.task-item.selected {
  border-color: #7fda89;
  background: #0a1929;
}

.task-checkbox {
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
}

.task-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #7fda89;
}

.task-content {
  flex: 1;
}

.task-item:hover {
  border-color: #7fda89;
}

.task-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.task-name {
  font-weight: 600;
  color: #7fda89;
  font-size: 1.1rem;
}

.task-id {
  color: #259073;
  font-size: 0.85rem;
}

.task-text {
  color: #e6f99d;
  line-height: 1.5;
  margin-bottom: 12px;
}

.task-actions {
  display: flex;
  gap: 8px;
}

.btn-small {
  padding: 6px 12px;
  font-size: 12px;
  width: auto;
}

.btn-edit {
  background: #259073;
  border-color: #259073;
}

.btn-edit:hover {
  background: #7fda89;
  border-color: #7fda89;
  color: #041122;
}

.btn-delete {
  background: #041122;
  border-color: #7fda89;
  color: #7fda89;
}

.btn-delete:hover {
  background: #7fda89;
  border-color: #7fda89;
  color: #041122;
}

.bulk-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.bulk-actions button {
  width: auto;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.pagination button {
  width: auto;
  min-width: 40px;
}

.alert {
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 14px;
  border: 2px solid;
}

.alert-success {
  background: #041122;
  color: #7fda89;
  border-color: #7fda89;
}

.alert-error {
  background: #041122;
  color: #e6f99d;
  border-color: #e6f99d;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #7fda89;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #259073;
}

.empty-state svg {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .main-content {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }
}
