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

.aircontrol-app {
  --font-weight-bold: var(--font-weight-medium);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.aircontrol-logo-mark {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.aircontrol-wordmark {
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: 0;
}

select.airpager-select {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8L10 12L14 8' stroke='%23506579' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 0.85rem center;
  background-repeat: no-repeat;
  background-size: 1rem 1rem;
}

.pricing-calendar-table-scroller,
.smart-lock-table-scroller {
  contain: inline-size paint;
  overscroll-behavior-inline: contain;
}

.client-console-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.client-detail-workspace-content [data-client-detail-workspace-target="panel"] > section {
  border-bottom-width: 0;
  min-height: 22rem;
}

.client-detail-workspace-content [data-client-detail-workspace-target="panel"] > section.client-console-grid {
  align-items: start;
}

@media (max-width: 767px) {
  .client-detail-workspace-content [data-client-detail-workspace-target="panel"] > section {
    min-height: 0;
  }
}

.conversation-thread-header {
  container-name: conversation-thread-header;
  container-type: inline-size;
}

.conversation-thread-header__layout {
  align-items: start;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(18rem, 1fr) auto;
}

.conversation-thread-header__actions {
  justify-self: end;
}

@container conversation-thread-header (max-width: 28rem) {
  .conversation-thread-header__translation-action {
    justify-content: center;
    min-height: 2.25rem;
    padding: 0;
    width: 2.25rem;
  }

  .conversation-thread-header__translation-label {
    display: none;
  }
}

@media (min-width: 1024px) {
  .client-console-grid {
    grid-template-columns: 18rem minmax(0, 1fr);
  }

  .client-detail-workspace-content .client-console-grid-wide {
    grid-template-columns: minmax(0, 1fr);
  }
}

.survey-rating-input:checked + .survey-rating-card,
.survey-rating-input:checked + .survey-rating-card:hover {
  box-shadow: 0 10px 22px rgba(32, 48, 64, 0.12);
  transform: translateY(-1px);
}

.survey-rating-input:checked + .survey-rating-card .survey-rating-number {
  background-color: rgba(255, 255, 255, 0.78) !important;
}

.survey-rating-input:checked + .survey-rating-card.rating-card-one,
.survey-rating-input:checked + .survey-rating-card.rating-card-one:hover {
  background-color: #fef2f2 !important;
  border-color: #fca5a5 !important;
  color: #7f1d1d !important;
}

.survey-rating-input:checked + .survey-rating-card.rating-card-two,
.survey-rating-input:checked + .survey-rating-card.rating-card-two:hover {
  background-color: #fff7ed !important;
  border-color: #fdba74 !important;
  color: #7c2d12 !important;
}

.survey-rating-input:checked + .survey-rating-card.rating-card-three,
.survey-rating-input:checked + .survey-rating-card.rating-card-three:hover {
  background-color: #fffbeb !important;
  border-color: #fcd34d !important;
  color: #713f12 !important;
}

.survey-rating-input:checked + .survey-rating-card.rating-card-four,
.survey-rating-input:checked + .survey-rating-card.rating-card-four:hover {
  background-color: #eff6ff !important;
  border-color: #93c5fd !important;
  color: #1e3a8a !important;
}

.survey-rating-input:checked + .survey-rating-card.rating-card-five,
.survey-rating-input:checked + .survey-rating-card.rating-card-five:hover {
  background-color: #ecfdf5 !important;
  border-color: #6ee7b7 !important;
  color: #064e3b !important;
}
