.dashboard-carousel {
  width: 100%;
  min-width: 0;
}

.dashboard-carousel__viewport {
  width: 100%;
  overflow: hidden;
  transition: height 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dashboard-carousel__track {
  display: flex;
  width: 100%;
  align-items: flex-start;
  touch-action: pan-y;
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.dashboard-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}

.dashboard-carousel__slide[aria-hidden="true"] {
  pointer-events: none;
  user-select: none;
}

.dashboard-carousel__screen {
  position: relative;
  display: flex;
  min-height: 0;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  background: #f5f6f8;
}

.dashboard-carousel__screen::before {
  position: absolute;
  inset: -24px;
  background-image:
    linear-gradient(rgb(255 255 255 / 62%), rgb(255 255 255 / 62%)),
    var(--dashboard-carousel-backdrop);
  background-position: center;
  background-size: cover;
  content: "";
  filter: blur(24px);
  opacity: 0.3;
  transform: scale(1.05);
}

.dashboard-carousel__dashboard-content {
  width: 117.65%;
  transform: scale(0.85);
  transform-origin: top left;
}

.employee-preview-screen {
  display: block;
  background: #f4f5f7;
}

.employee-preview-screen::before {
  display: none;
}

.employee-preview {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  color: #252b36;
  background: #f4f5f7;
  font: 500 10px/1.35 var(--font-sans, sans-serif);
}

.employee-preview__topbar {
  display: flex;
  height: 36px;
  flex: none;
  align-items: center;
  gap: 16px;
  padding: 0 10px;
  color: #fff;
  background: #c91e25;
}

.employee-preview__brand {
  display: flex;
  min-width: 0;
  align-items: center;
}

.employee-preview__brand-badge {
  display: flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  background: #fff;
}

.employee-preview__brand-logo {
  display: block;
  width: auto;
  height: 16px;
}

.employee-preview__global-search {
  width: min(38%, 220px);
  padding: 5px 8px;
  border-radius: 4px;
  color: #737b89;
  background: #fff;
  font-size: 8px;
}

.employee-preview__topbar-right {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.employee-preview__date {
  padding: 4px 7px;
  border-radius: 4px;
  color: #c91e25;
  background: #fff;
  font-size: 8px;
}

.employee-preview__topbar-avatar,
.employee-preview__profile-avatar,
.employee-preview__employee-avatar {
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
}

.employee-preview__topbar-avatar {
  width: 22px;
  height: 22px;
  color: #6f4835;
  background: #f1d4bc;
}

.employee-preview__layout {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: minmax(88px, 17%) minmax(0, 1fr);
}

.employee-preview__sidebar {
  min-height: 0;
  overflow: hidden;
  padding: 10px 7px;
  border-right: 1px solid #e7e9ed;
  background: #fff;
}

.employee-preview__profile {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 12px;
  color: #606978;
  text-align: center;
}

.employee-preview__profile strong {
  color: #343a46;
  font-size: 9px;
}

.employee-preview__profile > span:last-child {
  overflow-wrap: anywhere;
  font-size: 8px;
}

.employee-preview__profile-avatar {
  width: 34px;
  height: 34px;
  margin-bottom: 2px;
  color: #fff;
  background: #8799a6;
  font-size: 12px;
}

.employee-preview__menu-label {
  display: block;
  margin: 3px 4px 5px;
  color: #a0a5ae;
  font-size: 7px;
  text-transform: uppercase;
}

.employee-preview__nav {
  display: grid;
  gap: 3px;
}

.employee-preview__nav-item {
  display: flex;
  min-height: 22px;
  align-items: center;
  gap: 6px;
  padding: 3px 4px;
  border-radius: 4px;
  color: #606978;
  font-size: 9px;
}

.employee-preview__nav-item.is-active {
  color: #c91e25;
  background: #fcebed;
  font-weight: 700;
}

.employee-preview__nav-icon {
  display: grid;
  width: 15px;
  height: 15px;
  flex: none;
  place-items: center;
  border-radius: 4px;
  background: #f0f1f3;
  font-size: 7px;
  font-weight: 700;
}

.employee-preview__nav-item.is-active .employee-preview__nav-icon {
  color: #fff;
  background: #c91e25;
}

.employee-preview__main {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 10px;
}

.employee-preview__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.employee-preview__eyebrow,
.employee-preview__breadcrumb {
  display: block;
  color: #7d8490;
  font-size: 9px;
}

.employee-preview__heading h2 {
  margin: 5px 0 2px;
  color: #252b36;
  font-size: 18px;
  font-weight: 700;
}

.employee-preview__add-button,
.employee-preview__search-button {
  flex: none;
  padding: 6px 8px;
  border-radius: 4px;
  color: #fff;
  background: #c91e25;
  font-size: 9px;
  font-weight: 700;
}

.employee-preview__filters {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  margin: 10px 0;
}

.employee-preview__search-field,
.employee-preview__status-select {
  overflow: hidden;
  padding: 6px 7px;
  border: 1px solid #dfe2e7;
  border-radius: 4px;
  color: #737b89;
  background: #fff;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employee-preview__search-field {
  min-width: 0;
  flex: 1;
}

.employee-preview__status-select {
  width: 25%;
}

.employee-preview__search-button {
  padding: 7px 10px;
}

.employee-preview__grid {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.employee-preview__card {
  display: flex;
  min-width: 0;
  min-height: 0;
  gap: 7px;
  overflow: hidden;
  padding: 8px;
  border: 1px solid #eceef1;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 5px rgb(24 31 44 / 5%);
}

.employee-preview__employee-avatar {
  width: 30px;
  height: 30px;
  color: #fff;
  font-size: 9px;
}

.employee-preview__employee-avatar.is-rose { background: #a86d72; }
.employee-preview__employee-avatar.is-blue { background: #647f9b; }
.employee-preview__employee-avatar.is-green { background: #708d7e; }
.employee-preview__employee-avatar.is-purple { background: #8c789f; }
.employee-preview__employee-avatar.is-gold { background: #a38a59; }
.employee-preview__employee-avatar.is-slate { background: #68798a; }
.employee-preview__employee-avatar.is-teal { background: #5f8c88; }
.employee-preview__employee-avatar.is-indigo { background: #6975a0; }
.employee-preview__employee-avatar.is-orange { background: #aa795f; }

.employee-preview__employee-details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.employee-preview__name-row {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3px;
}

.employee-preview__name-row strong {
  overflow-wrap: anywhere;
  color: #252b36;
  font-size: 11px;
  line-height: 1.2;
}

.employee-preview__terminated {
  padding: 2px 4px;
  border-radius: 3px;
  color: #fff;
  background: #c91e25;
  font-size: 6px;
}

.employee-preview__meta {
  color: #555e6d;
  font-size: 9px;
  white-space: nowrap;
}

.employee-preview__edit-button {
  margin-top: 2px;
  padding: 3px 5px;
  border: 1px solid #dc5a60;
  border-radius: 3px;
  color: #c91e25;
  font-size: 8px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .employee-preview__topbar {
    height: 30px;
    gap: 8px;
    padding: 0 7px;
  }

  .employee-preview__brand {
    min-width: 0;
  }

  .employee-preview__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .employee-preview__sidebar,
  .employee-preview__date {
    display: none;
  }

  .employee-preview__main {
    padding: 8px;
  }

  .employee-preview__heading h2 {
    font-size: 16px;
  }

  .employee-preview__filters {
    margin: 7px 0;
  }

  .employee-preview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }

  .employee-preview__card {
    gap: 5px;
    padding: 6px;
  }

  .employee-preview__employee-avatar {
    width: 25px;
    height: 25px;
    font-size: 8px;
  }

  .employee-preview__name-row strong {
    font-size: 10px;
  }

  .employee-preview__meta,
  .employee-preview__edit-button {
    font-size: 8px;
  }
}

@media (min-width: 640px) {
  .employee-preview__brand-badge {
    padding-right: 10px;
    padding-left: 10px;
  }

  .employee-preview__brand-logo {
    height: 20px;
  }
}

.dashboard-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.dashboard-carousel__arrow {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border: 1px solid #e8eaf0;
  border-radius: 50%;
  color: #555b68;
  background: #fff;
  box-shadow: 0 3px 12px rgb(23 27 44 / 7%);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.dashboard-carousel__arrow:hover {
  transform: translateY(-1px);
  border-color: oklch(55% 0.225 27 / 35%);
  color: oklch(55% 0.225 27);
  box-shadow: 0 5px 16px rgb(23 27 44 / 11%);
}

.dashboard-carousel__arrow:focus-visible,
.dashboard-carousel__dot:focus-visible {
  outline: 2px solid oklch(55% 0.225 27);
  outline-offset: 3px;
}

.dashboard-carousel__arrow svg {
  width: 17px;
  height: 17px;
}

.dashboard-carousel__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c9cdd5;
  cursor: pointer;
  transition:
    width 200ms ease,
    background-color 200ms ease;
}

.dashboard-carousel__dot[aria-current="true"] {
  width: 23px;
  background: oklch(55% 0.225 27);
}

.dashboard-carousel__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

#pricing .scroll-reveal-left a[href*="account.php"] {
  height: 40px;
  padding-right: 24px;
  padding-left: 24px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgb(23 27 44 / 12%);
}

#pricing .scroll-reveal-left a[href*="account.php"]:focus-visible {
  outline: 2px solid oklch(55% 0.225 27);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .dashboard-carousel__controls {
    gap: 12px;
    margin-top: 12px;
  }

  .dashboard-carousel__arrow {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-carousel__viewport,
  .dashboard-carousel__track,
  .dashboard-carousel__arrow,
  .dashboard-carousel__dot {
    transition: none;
  }
}
