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

@layer base {
  html { -webkit-text-size-adjust: 100%; }
  body { @apply antialiased text-slate-700; }
  h1, h2, h3 { @apply tracking-tight; }
}

@layer components {
  /* Buttons */
  .btn {
    @apply inline-flex items-center justify-center gap-2 rounded-lg px-4 py-2 text-sm font-semibold
           transition-colors duration-150 focus:outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer;
  }
  .btn-primary { @apply bg-ink-800 text-white hover:bg-ink-700 focus:ring-ink-800 shadow-sm; }
  .btn-secondary { @apply bg-white text-slate-700 ring-1 ring-inset ring-slate-300 hover:bg-slate-50 focus:ring-slate-400; }
  .btn-ghost { @apply text-slate-600 hover:text-slate-900 hover:bg-slate-100; }
  .btn-sm { @apply px-3 py-1.5 text-xs; }

  /* Surfaces */
  .card { @apply bg-white rounded-xl ring-1 ring-slate-200/80 shadow-card; }
  .card-pad { @apply p-5 sm:p-6; }

  /* Forms */
  .label { @apply block text-sm font-medium text-slate-700 mb-1; }
  .input, .select {
    @apply block w-full rounded-lg border-0 px-3 py-2 text-sm text-slate-900 ring-1 ring-inset ring-slate-300
           placeholder:text-slate-400 focus:ring-2 focus:ring-inset focus:ring-brand-600;
  }

  /* Badges */
  .badge { @apply inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium; }
  .badge-emerald { @apply bg-brand-50 text-brand-700 ring-1 ring-inset ring-brand-600/20; }
  .badge-rose { @apply bg-rose-50 text-rose-700 ring-1 ring-inset ring-rose-600/20; }
  .badge-amber { @apply bg-amber-50 text-amber-700 ring-1 ring-inset ring-amber-600/20; }
  .badge-slate { @apply bg-slate-100 text-slate-600 ring-1 ring-inset ring-slate-500/20; }

  /* Tables */
  .table-head { @apply bg-slate-50 text-left text-xs font-semibold uppercase tracking-wide text-slate-500; }

  /* Nav */
  .nav-link { @apply text-sm text-slate-300 hover:text-white transition-colors whitespace-nowrap; }
  .menu-item { @apply block px-4 py-2 text-sm text-slate-200 hover:bg-slate-700/60 transition-colors; }
}
/*
 * 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.
 *


 */
