/*
 * 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 {
  --bf-teal: #068186;
  --bf-teal-hover: #07979d;
  --bf-charcoal: #222323;
  --bf-charcoal-deep: #191a1a;
  --bf-panel: #2a2c2c;
  --bf-panel-muted: #252727;
  --bf-border: #444848;
  --bf-copy: #f5f7f7;
  --bf-muted: #b5bdbd;
}

.bf-admin-shell {
  background: var(--bf-charcoal-deep);
  color: var(--bf-copy);
  font-family: Arial, Helvetica, sans-serif;
}

.bf-admin-nav {
  background: var(--bf-charcoal);
  border-bottom: 3px solid var(--bf-teal);
  box-shadow: 0 10px 28px rgb(0 0 0 / 22%);
}

.bf-logo-frame {
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 12%);
  display: inline-flex;
  flex: 0 0 auto;
  padding: 0.2rem 0.35rem;
}

.bf-admin-shell main h1 {
  color: var(--bf-teal) !important;
  font-style: italic;
  font-weight: 800;
}

.bf-admin-shell main h2,
.bf-admin-shell main h3 {
  color: var(--bf-copy) !important;
}

.bf-admin-shell .bg-white {
  background-color: var(--bf-panel) !important;
}

.bf-admin-shell .bg-gray-50 {
  background-color: var(--bf-panel-muted) !important;
}

.bf-admin-shell .text-gray-900,
.bf-admin-shell .text-gray-700,
.bf-admin-shell .text-gray-600 {
  color: var(--bf-copy) !important;
}

.bf-admin-shell .text-gray-500,
.bf-admin-shell .text-gray-400 {
  color: var(--bf-muted) !important;
}

.bf-admin-shell .border-gray-200,
.bf-admin-shell .border-gray-300 {
  border-color: var(--bf-border) !important;
}

.bf-admin-shell .divide-gray-200 > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--bf-border) !important;
}

.bf-admin-shell table tbody tr {
  transition: background-color 140ms ease;
}

.bf-admin-shell table tbody tr:hover {
  background: rgb(6 129 134 / 11%);
}

.bf-admin-shell input,
.bf-admin-shell select,
.bf-admin-shell textarea {
  background: #f8f9f9;
  border-color: #aeb8b8;
  caret-color: #172020;
  color: #172020 !important;
}

.bf-admin-shell input.text-gray-900,
.bf-admin-shell select.text-gray-900,
.bf-admin-shell textarea.text-gray-900 {
  -webkit-text-fill-color: #172020;
  color: #172020 !important;
}

.bf-admin-shell input::selection,
.bf-admin-shell textarea::selection {
  background: var(--bf-teal);
  color: #fff;
}

.bf-admin-shell input::placeholder,
.bf-admin-shell textarea::placeholder {
  color: #557b7d;
  font-style: italic;
  opacity: 0.62;
}

.bf-admin-shell input:focus,
.bf-admin-shell select:focus,
.bf-admin-shell textarea:focus {
  border-color: var(--bf-teal);
  box-shadow: 0 0 0 3px rgb(6 129 134 / 22%);
  outline: none;
}

.bf-admin-shell a.text-\[\#068186\] {
  color: #22b5bb !important;
}

.bf-admin-shell a.text-\[\#068186\]:hover {
  color: #65d8dc !important;
}

.bf-admin-shell .bg-\[\#068186\] {
  background-color: var(--bf-teal) !important;
}

.bf-admin-shell .bg-\[\#068186\]:hover {
  background-color: var(--bf-teal-hover) !important;
}

.bf-admin-shell .bg-gray-200 {
  background-color: #4a4e4e !important;
  color: #fff !important;
}

.bf-admin-shell .bg-gray-200:hover {
  background-color: #5b6060 !important;
}

.bf-login-card {
  background: var(--bf-panel);
  border: 1px solid var(--bf-border);
  border-top: 3px solid var(--bf-teal);
  border-radius: 0.5rem;
  box-shadow: 0 24px 60px rgb(0 0 0 / 28%);
  padding: 2rem;
}

.bf-brand-caption {
  color: var(--bf-muted);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bf-workflow {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bf-workflow li {
  align-items: center;
  background: var(--bf-panel-muted);
  border: 1px solid var(--bf-border);
  border-radius: 0.5rem;
  display: flex;
  gap: 0.75rem;
  min-height: 4.25rem;
  padding: 0.75rem;
}

.bf-workflow li > span,
.bf-step-number {
  align-items: center;
  background: #4a4e4e;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 700;
  height: 1.75rem;
  justify-content: center;
  width: 1.75rem;
}

.bf-workflow li.is-active > span,
.bf-step-number {
  background: var(--bf-teal);
}

.bf-workflow strong,
.bf-workflow small {
  display: block;
}

.bf-workflow small {
  color: var(--bf-muted);
  font-size: 0.7rem;
  margin-top: 0.15rem;
}

.bf-form-section-title {
  color: var(--bf-copy);
  font-size: 1rem;
  font-weight: 700;
}

.bf-form-section-help {
  color: var(--bf-muted);
  font-size: 0.75rem;
  margin-top: 0.3rem;
}

.bf-action-panel {
  background: rgb(6 129 134 / 8%);
  border: 1px solid rgb(6 129 134 / 35%);
  border-radius: 0.5rem;
  padding: 1rem;
}

.bf-button-primary,
.bf-button-secondary,
.bf-button-muted {
  border-radius: 0.375rem;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  justify-content: center;
  padding: 0.65rem 1rem;
}

.bf-button-primary {
  background: var(--bf-teal);
  border: 1px solid var(--bf-teal);
  color: #fff;
}

.bf-button-primary:hover {
  background: var(--bf-teal-hover);
}

.bf-button-secondary {
  background: transparent;
  border: 1px solid var(--bf-teal);
  color: #54d1d5;
}

.bf-button-secondary:hover {
  background: rgb(6 129 134 / 14%);
}

.bf-button-muted {
  background: #4a4e4e;
  border: 1px solid #5b6060;
  color: #fff;
}

.bf-button-muted:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.bf-button-primary:disabled,
.bf-button-secondary:disabled,
.bf-button-muted:disabled {
  cursor: wait;
  opacity: 0.72;
}

.bf-loading-spinner {
  animation: bf-spin 0.75s linear infinite;
  border: 2px solid currentColor;
  border-radius: 9999px;
  border-right-color: transparent;
  display: inline-block;
  height: 1rem;
  margin-right: 0.5rem;
  width: 1rem;
}

@keyframes bf-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bf-loading-spinner {
    animation: none;
  }
}

.bf-summary-list > div {
  align-items: baseline;
  border-top: 1px solid var(--bf-border);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 1.3fr);
  padding: 0.65rem 0;
}

.bf-summary-list > div:first-child {
  border-top: 0;
}

.bf-summary-list dt {
  color: var(--bf-muted);
  font-size: 0.75rem;
}

.bf-summary-list dd {
  font-size: 0.875rem;
  font-weight: 600;
  overflow-wrap: anywhere;
  text-align: right;
}

.bf-status-success,
.bf-status-neutral,
.bf-status-error {
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
}

.bf-status-success {
  background: rgb(16 185 129 / 18%);
  color: #6ee7b7;
}

.bf-status-neutral {
  background: rgb(6 129 134 / 18%);
  color: #67e8f0;
}

.bf-status-error {
  background: rgb(239 68 68 / 18%);
  color: #fca5a5;
}

@media (max-width: 767px) {
  .bf-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .bf-workflow {
    grid-template-columns: 1fr;
  }
}
