.tasks-page {
  min-height: 100vh;
  background: #0d1118;
  color: #e5e7eb;
  padding: 48px 32px;
  box-sizing: border-box;
}

.tasks-header {
  max-width: 1200px;
  margin: 0 auto 40px;
}

.tasks-title {
  font-size: 2rem;
  font-weight: 700;
  color: #f9fafb;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.tasks-subtitle {
  color: #6b7280;
  font-size: 0.95rem;
  margin: 0 0 24px;
}

.tasks-search {
  width: 100%;
  max-width: 400px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #e5e7eb;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.tasks-search::-moz-placeholder {
  color: #4b5563;
}

.tasks-search::placeholder {
  color: #4b5563;
}

.tasks-search:focus {
  border-color: rgba(96, 165, 250, 0.5);
}

.tasks-count {
  color: #4b5563;
  font-size: 0.8rem;
  margin-top: 8px;
}

.tasks-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.tasks-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.tasks-card:hover {
  background: rgba(96, 165, 250, 0.08);
  border-color: rgba(96, 165, 250, 0.25);
  transform: translateY(-1px);
}

.tasks-card:active {
  transform: translateY(0);
}

.tasks-card-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  color: #60a5fa;
  opacity: 0.8;
}

.tasks-card-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db;
  word-break: break-word;
  line-height: 1.4;
}

.tasks-loading {
  max-width: 1200px;
  margin: 80px auto;
  text-align: center;
  color: #4b5563;
  font-size: 0.9rem;
}

.tasks-loading-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-top-color: #60a5fa;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

.tasks-empty {
  max-width: 1200px;
  margin: 80px auto;
  text-align: center;
  color: #4b5563;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

