/* 
 * Placeholder fallback CSS
 * This file provides fallback styles when the main Vite-compiled CSS hasn't loaded yet
 * Helps prevent FOUC (Flash of Unstyled Content)
*/

:root {
  --primary-color: #5A67D8;
  --secondary-color: #4C51BF;
  --background-color: #F7FAFC;
  --text-color: #2D3748;
}

.app-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.app-loading-spinner {
  width: 40px;
  height: 40px;
  margin: 20px auto;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

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

/* Basic form styling */
input, button {
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  outline: none;
}

button {
  background-color: var(--primary-color);
  color: white;
  cursor: pointer;
}

button:hover {
  background-color: var(--secondary-color);
}

/* Basic layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
}

/* Prevent FOUC for important elements */
.w-full {
  width: 100%;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}