.glass-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
}

.dark .glass-card {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.18);
}

.input-field {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dark .input-field {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(71, 85, 105, 0.8);
  color: #f8fafc;
}

.input-field:focus {
  outline: none;
  border-color: rgba(16, 185, 129, 0.65);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.7);
  color: #0f172a;
}

.dark .btn-secondary {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(71, 85, 105, 0.8);
  color: #e2e8f0;
}

.drop-zone.drag-over {
  border-color: rgba(16, 185, 129, 0.9);
  background: rgba(16, 185, 129, 0.12);
  transform: scale(1.01);
}

.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(148, 163, 184, 0.35);
  border-top-color: #10b981;
  border-radius: 9999px;
  animation: spin 0.8s linear infinite;
}

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

.toast {
  pointer-events: auto;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  animation: toast-in 0.25s ease;
}

.toast-success {
  background: rgba(236, 253, 245, 0.95);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.toast-error {
  background: rgba(254, 242, 242, 0.95);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.dark .toast-success {
  background: rgba(6, 78, 59, 0.92);
  color: #d1fae5;
}

.dark .toast-error {
  background: rgba(127, 29, 29, 0.92);
  color: #fee2e2;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.table-action {
  border-radius: 0.75rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.65);
}

.dark .table-action {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(71, 85, 105, 0.8);
}
