@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  body {
    @apply text-neutral-800 dark:text-neutral-200 antialiased;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  }
  
  h1, h2, h3, h4, h5, h6 {
    @apply text-neutral-900 dark:text-neutral-100 font-medium;
    letter-spacing: -0.02em;
  }
}

@layer components {
  .card {
    @apply bg-white dark:bg-neutral-800 rounded-xl shadow-card border border-neutral-200/50 dark:border-neutral-700/50;
  }
  
  .btn-primary {
    @apply bg-accent-500 hover:bg-accent-600 text-white font-medium px-4 py-3 sm:px-6 rounded-lg transition-colors duration-200 shadow-subtle touch-manipulation;
  }
  
  .btn-secondary {
    @apply bg-neutral-100 dark:bg-neutral-700 hover:bg-neutral-200 dark:hover:bg-neutral-600 text-neutral-700 dark:text-neutral-300 font-medium px-4 py-3 sm:px-6 rounded-lg transition-colors duration-200 touch-manipulation;
  }
  
  .input-field {
    @apply border-neutral-200 dark:border-neutral-600 focus:border-accent-500 focus:ring-accent-500/20 rounded-lg bg-white dark:bg-neutral-700 px-4 py-3 text-neutral-900 dark:text-neutral-100 placeholder-neutral-500 dark:placeholder-neutral-400 transition-colors duration-200;
  }
}

/* Turbo progress bar styling */
.turbo-progress-bar {
  background-color: #ef4444 !important; /* accent-500 color */
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Homepage specific styles */
.homepage-bg {
  background-color: #f7f6f1;
}

.homepage .bg-white {
  background-color: #f7f6f1 !important;
}
