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

/**
 * The base layer is for things like reset rules or default styles
 * applied to plain HTML elements.
 */
@layer base {
  html,
  body {
    font-size: 16px;
    line-height: 24px;
  }

  select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23747a80' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-size: 16px 12px;
    background-repeat: no-repeat;
  }
}

/**
 * The components layer is for class-based styles
 * that you want to be able to override with utilities.
 */
@layer components {
  @media (prefers-color-scheme: dark) {
    .dark\:calendar-icon-white::-webkit-calendar-picker-indicator {
      filter: invert(1);
    }
  }
}

/**
 * The utilities layer is for small, single-purpose classes
 * that should always take precedence over any other styles.
 */
@layer utilities {
}
.flatpickr-calendar .flatpickr-monthDropdown-months {
  margin: 0;
  padding: 0;
}
.flatpickr-calendar .flatpickr-month .numInputWrapper {
  position: absolute;
  left: 2px;
  font-size: 14px;
  display: flex;
  top: 8px;
  align-items: center;
  width: 3.75rem;
  color: #666;
}
.flatpickr-calendar .flatpickr-month .numInputWrapper .arrowUp,
.flatpickr-calendar .flatpickr-month .numInputWrapper .arrowDown {
  display: none;
}
.flatpickr-calendar .flatpickr-month .numInputWrapper:after {
  position: absolute;
  right: 0;
  content: "";
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS 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/SCSS
 * 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.
 *


 */

.field_with_errors {
  width: 100%;
}
