@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";

/* App is optimized for mobile phones. Limit maximum width on other devices for now. */
body {
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 500px) {
  /* Adjust max-width for smaller screens */
  body {
    max-width: 13.229cm;
  }
}

.z0 {
  z-index: 0 !important;
}
.z50 {
  z-index: 50 !important;
}

input:invalid:not(:placeholder-shown) {
  background-color: hsl(12, 100%, 95%);
}

input:not([placeholder])[type="text"],
input:not([placeholder])[type="email"],
input:not([placeholder])[type="number"],
input:not([placeholder])[type="password"],
input:not([placeholder])[type="date"],
input:not([placeholder])[type="datetime"],
input:not([placeholder])[type="datetime-local"],
input:not([placeholder])[type="file"],
input:not([placeholder])[type="month"],
input:not([placeholder])[type="search"],
input:not([placeholder])[type="tel"],
input:not([placeholder])[type="time"],
input:not([placeholder])[type="url"],
input:not([placeholder])[type="week"] {
}

input:disabled,
select:disabled,
textarea:disabled,
button:disabled {
  opacity: 0.5;
}

p,
*.wordwrap {
  @apply break-words hyphens-auto;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="file"],
input[type="month"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
input[type="week"] {
  @apply shadow-inner;
  border: gray 1px solid !important;
}

.select-styling-root {
  --tw-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.39), 0 -1px 1px #fff,
    0 1px 0 #fff;
  --tw-shadow-colored: inset 0 1px 2px var(--tw-shadow-color),
    0 -1px 1px var(--tw-shadow-color), 0 1px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  border: gray 1px solid !important;
}

input[type="checkbox"],
input[type="radio"] {
  @apply drop-shadow-md;
}

input[type="button"],
input[type="submit"] input[type="reset"],
button,
select {
  @apply drop-shadow-lg;
}

#user-password-password-reset-with-password_password {
  border: 1px solid gray !important;
  border-radius: 10px !important;
}

img[src*="https://ash-hq.org/images/ash-framework-dark.png"]
{
  display: none !important;
}

/*
# For Emacs:
# Local Variables:
# mode: css
# indent-tabs-mode: t
# tab-width: 3
# End:
# For VIM:
# vim:set noexpandtab:
*/
