/* Administrate: visible borders for selects and inputs */
.app-container select,
.app-container input[type="text"],
.app-container input[type="email"],
.app-container input[type="number"],
.app-container input[type="password"],
.app-container input[type="search"],
.app-container textarea {
  border: 1px solid #cbd5e1 !important;
  border-radius: 0.375rem;
}

/* File upload field */
.app-container input[type="file"] {
  border: 0 !important;
  padding: 0;
  background: transparent;
  box-shadow: none !important;
}

.app-container input[type="file"]::file-selector-button {
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: #fff;
  color: #334155;
  margin-right: 0.5rem;
  cursor: pointer;
}

/* Safari fallback */
.app-container input[type="file"]::-webkit-file-upload-button {
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: #fff;
  color: #334155;
  margin-right: 0.5rem;
  cursor: pointer;
}

.app-container select:focus,
.app-container input:not([type="file"]):focus,
.app-container textarea:focus {
  outline: none;
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 1px #6366f1;
}

/* Selectize (used by Administrate for some selects) */
.app-container .selectize-input {
  border: 1px solid #cbd5e1 !important;
  border-radius: 0.375rem;
}

.app-container .selectize-input.focus {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 1px #6366f1;
}

/* Special closing overlap confirmation modal */
.special-closing-overlap-modal__backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.special-closing-overlap-modal__dialog {
  width: min(680px, 92vw);
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.3);
  padding: 1.25rem 1.25rem 1rem;
}

.special-closing-overlap-modal__title {
  margin: 0;
  color: #0f172a;
  font-size: 1.25rem;
  line-height: 1.4;
}

.special-closing-overlap-modal__list {
  margin: 0.875rem 0 0;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  max-height: 220px;
  overflow: auto;
}

.special-closing-overlap-modal__item {
  color: #334155;
  margin-bottom: 0.375rem;
}

.special-closing-overlap-modal__item:last-child {
  margin-bottom: 0;
}

.special-closing-overlap-modal__actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.625rem;
}
/*
 * 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.
 *


 */
