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

.linked-hub-brand-image {
  background: #fff;
  border-radius: 8px;
  object-fit: contain;
  padding: 2px;
}

.linked-hub-login-logo {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 220px;
  width: 100%;
}

.infra-provider-logo {
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 6px;
  height: 40px;
  object-fit: contain;
  padding: 4px;
  width: 40px;
}

.infra-provider-identity {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  min-width: 0;
}

.infra-billing-flow {
  align-items: stretch;
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.75rem;
}

.infra-billing-flow-step {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  flex: 1 0 150px;
  min-width: 150px;
  padding: 1rem;
}

.infra-billing-flow-label {
  color: var(--bs-secondary-color);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
}

.infra-billing-flow-amount {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0.35rem;
  white-space: nowrap;
}

.infra-billing-flow-meta {
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.infra-billing-flow-arrow {
  align-items: center;
  color: var(--bs-secondary-color);
  display: flex;
  font-size: 1.25rem;
}

.infra-billing-summary {
  border: 1px solid var(--bs-border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

@media (max-width: 767.98px) {
  .infra-billing-flow {
    flex-direction: column;
  }

  .infra-billing-flow-step {
    flex-basis: auto;
  }

  .infra-billing-flow-arrow {
    justify-content: center;
    transform: rotate(90deg);
  }
}
