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

html {
  transition: filter 0.2s ease;
}

html.dark-mode {
  filter: invert(1) hue-rotate(180deg);
}

html.dark-mode img,
html.dark-mode video,
html.dark-mode picture,
html.dark-mode iframe,
html.dark-mode svg {
  filter: invert(1) hue-rotate(180deg);
}

@layer base {
  [type='text'], [type='email'], [type='password'], [type='number'], [type='date'],
  textarea, select {
    border-radius: theme('borderRadius.lg');
    border-color: theme('colors.gray.300');
  }

  [type='text']:focus, [type='email']:focus, [type='password']:focus,
  [type='number']:focus, [type='date']:focus, textarea:focus, select:focus {
    --tw-ring-color: theme('colors.primary.500');
    border-color: theme('colors.primary.500');
  }
}
/*
 * 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.
 *


 */
