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

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

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

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

.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: 48rem) {
  .conversation-thread-header__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .conversation-thread-header__actions {
    justify-self: start;
    margin-left: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .client-console-grid {
    grid-template-columns: 18rem 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;
}
