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

@layer base {
  body {
    @apply text-slate-900 antialiased selection:bg-emerald-100 selection:text-emerald-900;
  }
}

@layer components {
  .card {
    @apply bg-white rounded-2xl shadow-sm border border-slate-200/60 p-6 hover:shadow-md transition-all duration-300;
  }

  .btn {
    @apply inline-flex items-center justify-center px-6 py-3 rounded-xl font-semibold transition-all duration-200 disabled:opacity-50 disabled:cursor-not-allowed active:scale-[0.98];
  }

  .btn-primary {
    @apply bg-emerald-600 text-white hover:bg-emerald-700 shadow-sm hover:shadow-md active:bg-emerald-800;
  }

  .btn-secondary {
    @apply bg-slate-100 text-slate-700 hover:bg-slate-200 active:bg-slate-300;
  }

  .btn-accent {
    @apply bg-yellow-400 text-emerald-900 hover:bg-yellow-300 shadow-sm hover:shadow-md active:bg-yellow-500;
  }

  .btn-danger {
    @apply bg-rose-500 text-white hover:bg-rose-600 active:bg-rose-700;
  }

  .badge {
    @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium;
  }

  .badge-success {
    @apply bg-emerald-100 text-emerald-800;
  }

  .badge-info {
    @apply bg-sky-100 text-sky-800;
  }

  .badge-warning {
    @apply bg-amber-100 text-amber-800;
  }

  .input {
    @apply w-full rounded-xl border-slate-200 bg-slate-50/50 shadow-sm focus:border-emerald-500 focus:ring-emerald-500 transition-colors py-2.5 px-4;
  }

  .heading-1 {
    @apply text-4xl font-extrabold tracking-tight text-slate-900;
  }

  .heading-2 {
    @apply text-2xl font-bold tracking-tight text-slate-900;
  }
}
/*
 * 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.
 *


 */
