/*
 * 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-lockup {
  font-family: "Plus Jakarta Sans", Manrope, ui-sans-serif, system-ui, sans-serif;
}

.aircontrol-logo-mark {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.aircontrol-wordmark {
  color: #12213d;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.75rem;
}

.aircontrol-locale-link {
  font-family: "Plus Jakarta Sans", Manrope, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
}

.support-assistant-editor:empty::before {
  color: #91a3b4;
  content: attr(data-placeholder);
  pointer-events: none;
}

.support-assistant-typing {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dce6f2;
  border-radius: 1rem 1rem 1rem 0.3rem;
  box-shadow: 0 1px 2px rgba(15, 32, 55, 0.06);
  display: inline-flex;
  gap: 0.25rem;
  height: 2.5rem;
  padding: 0 0.85rem;
}

.support-assistant-typing__dot {
  animation: support-assistant-typing 900ms ease-in-out infinite;
  background: #6f8fbc;
  border-radius: 50%;
  height: 0.38rem;
  width: 0.38rem;
}

.support-assistant-typing__dot:nth-child(2) {
  animation-delay: 150ms;
}

.support-assistant-typing__dot:nth-child(3) {
  animation-delay: 300ms;
}

.support-guide-card {
  animation: support-guide-card-enter 180ms ease-out;
  background: #ffffff;
  border: 1px solid #b8ccf2;
  border-radius: 1rem;
  bottom: 1rem;
  box-shadow: 0 18px 48px rgba(15, 32, 55, 0.24);
  color: #203040;
  left: 1rem;
  max-width: calc(100% - 2rem);
  padding: 1rem;
  position: absolute;
  width: 22rem;
  z-index: 100;
}

.support-guide-card--navigation {
  bottom: auto;
  position: fixed;
  z-index: 100;
}

.support-guide-card__header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.support-guide-card__counter {
  color: #255dc8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-guide-card__close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0.5rem;
  color: #6a7f93;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.35rem;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  width: 2rem;
}

.support-guide-card__close:hover {
  background: #eff5ff;
  color: #203040;
}

.support-guide-card__title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  margin-top: 0.35rem;
}

.support-guide-card__description {
  color: #52677d;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 0.35rem;
}

.support-guide-card__done {
  background: #255dc8;
  border: 0;
  border-radius: 0.65rem;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 0.8rem;
  padding: 0.6rem 0.9rem;
}

.support-guide-card__done:hover {
  background: #1d4faf;
}

[data-support-guide-highlight="true"] {
  border-radius: 0.6rem;
  outline: 4px solid rgba(37, 93, 200, 0.52);
  outline-offset: 4px;
  position: relative;
  z-index: 5;
}

@keyframes support-guide-card-enter {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes support-assistant-typing {
  0%,
  60%,
  100% {
    opacity: 0.45;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-0.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-assistant-typing__dot {
    animation: none;
    opacity: 0.7;
  }
}

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;
}
