/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import "MultiSelect.css";
@import "styled_checkbox.css";
@import "autocomplete.css";
@import "simple_form.css";

/* Brand color system */
:root {
  --color-primary: #4292C6;
  --color-primary-hover: #3A80B0;
  --color-primary-light: #EBF3F9;
  --color-primary-dark: #2A6A94;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}
.btn-primary:hover {
  background-color: var(--color-primary-hover);
}
.btn-outline-primary {
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  background-color: transparent;
}
.btn-outline-primary:hover {
  background-color: var(--color-primary);
  color: white;
}
.text-primary { color: var(--color-primary); }
.hover\:text-primary:hover { color: var(--color-primary); }
.badge-primary {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.turbo-progress-bar { display: none; }

html[data-app-online="false"] .hide-offline { display: none !important; }
html:not([data-app-online="false"]) .show-offline { display: none !important; }

/* Global placeholder styling for all form controls */
::placeholder {
  color: #9ca3af; /* tailwind gray-400 */
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
}
