:root {
  --background: #FFFFFF;
  --foreground: #0D0D0D;
  --primary: #0D0D0D;
  --secondary: #6B6B6B;
  --accent: #1A73E8;
  --border: #E8E8E8;
  --radius-card: 12px;
  --radius-input: 8px;
  --radius-button: 10px;
}

body {
  background-color: #ffffff;
  color: var(--foreground);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Custom Table Design conforming to Google Antigravity Spec */
table {
  width: 100%;
  border-collapse: collapse;
}

th {
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

/* Antigravity Glassmorphism Button */
.btn-primary {
  background: rgba(26, 115, 232, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-button);
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px 0 rgba(26, 115, 232, 0.2);
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-primary:hover {
  background: rgba(26, 115, 232, 1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(26, 115, 232, 0.3);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Skeleton loader shimmers */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

/* Animations */
@keyframes dotsMove {
  from { background-position: 0 0; }
  to { background-position: 60px 60px; }
}

.animate-dots {
  animation: dotsMove 30s linear infinite;
}

@keyframes ripple-out {
  0% {
    width: 0;
    height: 0;
    opacity: 0.8;
  }
  100% {
    width: 250px;
    height: 250px;
    opacity: 0;
  }
}

.animate-ripple {
  animation: ripple-out 0.8s ease-out forwards;
}

@keyframes rainbow-blink {
  0%, 100% { background-color: #1A73E8; opacity: 1; }
  20% { background-color: #EA4335; }
  40% { background-color: #FBBC04; }
  60% { background-color: #34A853; }
  80% { background-color: #9334E6; }
  50% { opacity: 0.5; }
}

.animate-rainbow-blink {
  animation: rainbow-blink 1s infinite;
}

@keyframes liquid-neon {
  0% { background-position: 0% 0%; }
  50% { background-position: 0% 100%; }
  100% { background-position: 0% 0%; }
}

.animate-liquid-neon {
  background-size: 100% 400%;
  animation: liquid-neon 2s ease infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #E8E8E8;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6B6B6B;
}

/* Toast container styling */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  padding: 12px 16px;
  color: #0D0D0D;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  animation: slideIn 0.2s ease-out forwards;
  display: flex;
  align-items: center;
  gap: 8px;
}

@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.toast-error {
  border-left: 3px solid #D93025;
}

.toast-success {
  border-left: 3px solid #1E8E3E;
}
