/* kipclip styles - matching the cute chicken mascot aesthetic */

:root {
  --cream: #f5f1e8;
  --coral: #e66456;
  --teal: #5b8a8f;
  --orange: #f4a261;
  --dark-gray: #2d3748;
  --light-gray: #e2e8f0;
  --sidebar-bg: #f7f9fa;
}

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  background: linear-gradient(135deg, var(--cream) 0%, #e8f4f5 100%);
  color: var(--dark-gray);
  min-height: 100vh;
}

#root {
  min-height: 100vh;
}

/* Utility classes to complement Tailwind */
.btn-primary {
  background-color: var(--coral);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  background-color: #d45546;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--teal);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background-color: #4a7a7f;
  transform: translateY(-1px);
}

.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  padding: 1.5rem;
  transition: all 0.2s;
}

.card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Loading spinner */
.spinner {
  border: 3px solid var(--light-gray);
  border-top-color: var(--coral);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 0.8s linear infinite;
}

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

/* Smooth page transitions */
.fade-in {
  animation: fadeIn 0.3s ease-in;
}

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

/* Actor typeahead autocomplete - kipclip themed */
actor-typeahead {
  --color-background: #ffffff;
  --color-border: var(--light-gray);
  --color-shadow: #000000;
  --color-hover: #fff1f1;
  --color-avatar-fallback: #fecaca;
  --radius: 8px;
  --padding-menu: 4px;
}
