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

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}
*/

@layer base {
  [x-cloak] {
    display: none !important;
  }
}

@layer components {
  .field {
    @apply flex flex-col my-4
  }

  .field label {
    @apply text-xs mb-2
  }

  .field .field_with_errors label {
    @apply text-red-600
  }

  .field .field_with_errors input, .field .field_with_errors textarea {
    @apply border-red-600 w-full
  }

  .field.checkbox {
    @apply flex-row
  }

  .field.checkbox label {
    @apply ml-3
  }

  .field input, .field select, .field textarea {
    @apply rounded
  }

  .logform {
    @apply mx-auto max-w-[500px] w-full p-4 m-4 flex flex-col shadow rounded-xl
  }

  .logform .actions {
    @apply flex flex-row items-center
  }

  .actions input {
    @apply bg-[#52796f] px-5 py-2 rounded shadow-lg w-fit mx-auto my-10 uppercase text-white font-bold cursor-pointer mt-5 block
  }
}
/*
 * 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.
 *


 */
