/*
 * 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.
 */

 :root {
  --highlight-color: #EAC0C1;
  --intense-color: #BB271B;
}

 body {
  /* padding-top: 5rem; */
}

.field_with_errors {
  border: 1px red;
}

.logo {
  max-width: 100px;
}

.logo.small {
  height: 40px;
}

input.highlighted {
  background-color: var(--highlight-color);
}

.navbar.intense {
  background-color: var(--intense-color);
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1030; /* higher than default navbar */
  /* background-color: white; */
  box-shadow: 0 2px 4px rgba(0, 0 ,0 , 0.1);
  transition: padding 0.3s ease;
}

/* Utility classes using theme colors */
.text-intense {
  color: var(--intense-color) !important;
}

.bg-intense {
  background-color: var(--intense-color) !important;
}

.btn-intense {
  background-color: var(--intense-color);
  color: white;
  border-color: var(--intense-color);
}

.btn-intense:hover {
  background-color: #9a1f16;
  border-color: #9a1f16;
  color: white;
}

.btn-white {
  background-color: white;
  border-color: white;
}

.btn-white:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}
