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

@layer components {
  .btn {
    @apply inline-flex items-center justify-center gap-2 rounded-lg px-4 py-2 text-sm font-medium transition duration-150 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50;
  }

  .btn-primary {
    @apply btn bg-blue-600 text-white shadow-sm hover:bg-blue-700 focus:ring-blue-500;
  }

  .btn-secondary {
    @apply btn border border-gray-300 bg-white text-gray-700 shadow-sm hover:bg-gray-50 focus:ring-blue-500;
  }

  .btn-danger {
    @apply btn border border-red-200 bg-white text-red-600 shadow-sm hover:bg-red-50 focus:ring-red-500;
  }

  .card {
    @apply rounded-xl border border-gray-200 bg-white p-6 shadow-sm;
  }

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

  .badge-user {
    @apply badge bg-sky-100 text-sky-700;
  }

  .badge-assistant {
    @apply badge bg-violet-100 text-violet-700;
  }

  .badge-neutral {
    @apply badge bg-gray-100 text-gray-600;
  }

  .form-label {
    @apply mb-1 block text-sm font-medium text-gray-700;
  }

  .form-input {
    @apply block w-full rounded-lg border border-gray-300 px-3 py-2 text-gray-900 shadow-sm outline-none transition focus:border-blue-500 focus:ring-2 focus:ring-blue-500;
  }

  .flash {
    @apply mb-6 rounded-lg px-4 py-3 text-sm font-medium;
  }

  .flash-notice {
    @apply flash bg-green-50 text-green-700;
  }

  .flash-alert {
    @apply flash bg-red-50 text-red-700;
  }
}
/*
 * 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.
 *


 */
