/* GLOBAL - BOOTSTRAP CONFIGURATION */

:root {
  --bs-primary: #2c498f;
  --bs-primary-dark: #092059;
  --bs-primary-rgb: 44, 73, 143;
  --bs-secondary: #9d2e42;
  --bs-secondary-rgb: 157, 46, 66;
  --bs-secondary-dark: #80202e;
  --bs-body-bg: #fff;
  --bs-body-color: #1a1a1a;
  --bs-link-color: #2c498f;
  --bs-link-hover-color: #092059;
  --bs-border-color: #e2e5ea;
  --bs-border-radius: 0.75rem;
  --bs-border-radius-sm: 0.5rem;
  --bs-border-radius-lg: 1rem;
  --bs-font-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --bs-box-shadow: 0 2px 12px rgba(9, 32, 89, 0.12);
  --app-nav-width: 5.75rem;
  --app-bottom-nav-height: 4.25rem;
}

/* ICON CONFIGURATION */

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

/* Container structure */

body {
  min-height: 100dvh;
  background: var(--bs-body-bg);
}

.material-symbols-outlined.title-icon {
  font-size: 5rem;
}

.app-shell {
  min-height: 100dvh;
}

.app-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-bottom: calc(var(--app-bottom-nav-height) + env(safe-area-inset-bottom));
}

.site-main--guest {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  max-width: none;
  padding-top: max(1rem, env(safe-area-inset-top));
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

.guest-landing {
  width: 100%;
  max-width: 22rem;
  padding: 1.5rem 1rem;
}

.guest-landing__logo {
  display: block;
  width: min(16rem, 80vw);
  height: auto;
  margin: 0 auto 1.5rem;
}

.guest-landing__title {
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #092059;
}

.guest-landing__lead {
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.guest-landing__actions {
  max-width: 16rem;
  margin: 0 auto;
}

.guest-landing--auth {
  max-width: 28rem;
}

.auth-card__footer {
  margin-top: 1rem;
}

.login-panel .list-unstyled.text-danger,
.auth-form-panel .list-unstyled.text-danger {
  text-align: center;
}

.login-panel .form-control.is-valid,
.auth-form-panel .form-control.is-valid {
  background-image: none;
  border-color: var(--bs-border-color);
  padding-right: 0.75rem;
}

.password-field--toggle {
  position: relative;
}

.password-field--toggle .form-control {
  padding-right: 2.75rem;
}

.password-field--toggle .form-control.is-valid {
  padding-right: 2.75rem;
  background-image: none;
}

.password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 0.625rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--bs-secondary-color);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus-visible {
  color: var(--bs-body-color);
  background: rgba(9, 32, 89, 0.06);
  outline: none;
}

.password-toggle-btn .material-symbols-outlined {
  font-size: 1.25rem;
  line-height: 1;
}

.password-field-with-requirements .password-toggle-btn {
  top: calc(3rem / 2);
}

.password-field-with-requirements .password-requirements {
  display: none;
  margin-top: 0.625rem;
}

.password-field-with-requirements:focus-within .password-requirements {
  display: block;
}

.password-requirements__check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--bs-secondary-color);
  margin-bottom: 0.25rem;
}

.password-requirements__checkbox {
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  border: 2px solid var(--bs-border-color);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.password-requirements__check--met {
  color: var(--bs-body-color);
}

.password-requirements__check--met .password-requirements__checkbox {
  border-color: #198754;
  background-color: #198754;
}

.password-requirements__check--met .password-requirements__checkbox::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.35rem;
  height: 0.2rem;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -60%) rotate(-45deg);
}

.password-requirements__check--failed {
  color: #58151c;
}

.password-requirements__check--failed .password-requirements__checkbox {
  border-color: #dc3545;
}

.site-main {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem max(1rem, env(safe-area-inset-right))
    1rem max(1rem, env(safe-area-inset-left));
}

.btn-primary {
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: var(--bs-primary-dark);
  --bs-btn-hover-border-color: var(--bs-primary-dark);
  --bs-btn-active-bg: var(--bs-primary-dark);
  --bs-btn-active-border-color: var(--bs-primary-dark);
}

.btn-secondary {
  --bs-btn-bg: var(--bs-secondary);
  --bs-btn-border-color: var(--bs-secondary);
  --bs-btn-hover-bg: var(--bs-secondary-dark);
  --bs-btn-hover-border-color: var(--bs-secondary-dark);
  --bs-btn-active-bg: var(--bs-secondary-dark);
  --bs-btn-active-border-color: var(--bs-secondary-dark);
}

.btn-outline-primary {
  --bs-btn-color: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: var(--bs-primary);
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: var(--bs-primary);
}

.btn-outline-secondary {
  --bs-btn-color: var(--bs-secondary);
  --bs-btn-border-color: var(--bs-secondary);
  --bs-btn-hover-bg: var(--bs-secondary);
  --bs-btn-hover-border-color: var(--bs-secondary);
  --bs-btn-active-bg: var(--bs-secondary);
  --bs-btn-active-border-color: var(--bs-secondary);
}

.card {
  border-color: var(--bs-border-color);
  box-shadow: 0 1px 2px rgba(9, 32, 89, 0.06);
}

.message-toasts {
  position: fixed;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  top: calc(3.25rem + 1rem + env(safe-area-inset-top));
  left: max(1rem, env(safe-area-inset-left));
  right: max(1rem, env(safe-area-inset-right));
}

.app-shell--guest .message-toasts {
  top: max(1rem, calc(env(safe-area-inset-top) + 0.5rem));
}

.message-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  pointer-events: auto;
  margin: 0;
  padding: 0.875rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--bs-border-radius);
  box-shadow: 0 0.5rem 1.25rem rgba(9, 32, 89, 0.16);
}

.message-toast.alert-dismissible {
  padding-right: 1rem;
}

.message-toast.alert-dismissible .btn-close,
.message-toast__close {
  position: static;
  flex-shrink: 0;
  margin-top: 0.125rem;
  padding: 0.25rem;
  background-size: 0.75rem;
}

.message-toast__body {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.message-toast--success,
.message-toast.alert-success {
  background-color: #d1e7dd;
  border-color: #a3cfbb;
  color: #0a3622;
}

.message-toast--info,
.message-toast.alert-info {
  background-color: #cff4fc;
  border-color: #9eeaf9;
  color: #055160;
}

.message-toast--warning,
.message-toast.alert-warning {
  background-color: #fff3cd;
  border-color: #ffe69c;
  color: #664d03;
}

.message-toast--danger,
.message-toast.alert-danger {
  background-color: #f8d7da;
  border-color: #f1aeb5;
  color: #58151c;
}

/* Related to spinners during HTMX requests */

.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator {
  display: inline-block;
}

@media (min-width: 992px) {
  .app-shell {
    flex-direction: row;
  }

  .app-content {
    flex: 1;
    margin-left: var(--app-nav-width);
    padding-bottom: 0;
  }

  .app-nav {
    top: 0;
    bottom: 0;
    right: auto;
    width: var(--app-nav-width);
    flex-direction: column;
    border-top: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 2px 0 16px rgba(9, 32, 89, 0.08);
    padding-bottom: 0;
    padding-top: env(safe-area-inset-top);
  }

  .app-nav__list {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.25rem;
    padding: 0.75rem 0.5rem;
  }

  .app-nav__item {
    flex: 0 0 auto;
  }

  .app-nav__link {
    min-height: 4.5rem;
    padding: 0.625rem 0.375rem;
    border-radius: var(--bs-border-radius-sm);
    font-size: 0.6875rem;
  }

  .app-nav__label {
    white-space: normal;
  }

  .site-main {
    padding-top: 1.5rem;
    max-width: 48rem;
  }

  .site-main--shifts {
    max-width: none;
  }

  .shifts-page-intro {
    max-width: 48rem;
    margin-inline: auto;
  }

  .shifts-timeline-container {
    max-width: min(87.5rem, calc(100vw - var(--app-nav-width) - 3rem));
    margin-inline: auto;
  }

  .message-toasts {
    top: auto;
    left: auto;
    width: min(22rem, calc(100vw - 3rem));
    right: max(1.5rem, env(safe-area-inset-right));
    bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
}

.activity-card {
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  overflow: hidden;
}

.activity-card:hover {
  box-shadow: 0 0.5rem 1rem rgba(9, 32, 89, 0.12);
  transform: translateY(-2px);
}

.activity-card__image {
  width: 100%;
  height: 10rem;
  object-fit: cover;
}

.activity-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9eef8;
  color: #2c498f;
}

.activity-card__image--placeholder .material-symbols-outlined {
  font-size: 3rem;
}

.activity-card--past .activity-card__image,
.activity-card--past .activity-card__image--placeholder {
  filter: grayscale(1);
  opacity: 0.55;
}

.activity-card--load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  border-style: dashed;
  background: transparent;
  cursor: pointer;
}

.activity-card--load-more:hover {
  box-shadow: 0 0.5rem 1rem rgba(9, 32, 89, 0.12);
  transform: translateY(-2px);
}

.activity-card__load-more-label {
  font-weight: 600;
  color: #2c498f;
}

.activity-month-nav {
  padding: 0.75rem 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background: #fff;
}

.activity-hero {
  border-radius: var(--bs-border-radius);
  overflow: hidden;
}

.activity-hero__image {
  width: 100%;
  max-height: 18rem;
  object-fit: cover;
  display: block;
}

.activity-hero__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  background: #e9eef8;
  color: #2c498f;
}

.activity-hero__image--placeholder .material-symbols-outlined {
  font-size: 4rem;
}

.enrollment-card {
  border-color: var(--bs-border-color);
}

.enrollment-badge {
  font-weight: 500;
}

.enrollment-badge--awaiting_payment {
  background-color: #fff3cd;
  color: #664d03;
}

.enrollment-badge--paid,
.enrollment-badge--scanned {
  background-color: #d1e7dd;
  color: #0a3622;
}

.enrollment-badge--cancelled {
  background-color: #f8d7da;
  color: #58151c;
}

.enrollment-edit-form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* Language selector (Globe button) and floating home button */

.language-selector--floating {
  position: fixed;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  z-index: 1040;
}

.home-button--floating {
  position: fixed;
  top: max(0.75rem, env(safe-area-inset-top));
  left: max(0.75rem, env(safe-area-inset-left));
  z-index: 1040;
}

.language-selector__toggle,
.home-button__toggle {
  width: 2.5rem;
  height: 2.5rem;
  transition: all 0.15s ease;
}

.language-selector__toggle:hover,
.language-selector__toggle:focus-visible,
.home-button__toggle:hover,
.home-button__toggle:focus-visible {
  transform: scale(1.05);
  transition: all 0.15s ease;
}

/* App header and navigation */

.app-header {
  z-index: 1020;
  min-height: 3.25rem;
  grid-template-columns: 1fr auto 1fr;
}

.app-header__brand {
  text-decoration: none;
}

.app-header__side {
  min-width: 2.5rem;
}

.app-header__side--end {
  justify-self: end;
}

.app-header__home-link,
.app-header__admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-radius: 0.375rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.app-header__home-link:hover,
.app-header__home-link:focus-visible,
.app-header__admin-link:hover,
.app-header__admin-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.app-header__home-link .material-symbols-outlined,
.app-header__admin-link .material-symbols-outlined {
  font-size: 1.5rem;
}

.brand-logo {
  height: 2.5rem;
}

.app-nav {
  z-index: 1030;
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.app-nav__list {
  list-style: none;
}

.app-nav__item {
  flex: 1;
  min-width: 0;
}

.app-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  min-height: var(--app-bottom-nav-height);
  padding: 0.375rem 0.25rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: color 0.15s ease, background-color 0.15s ease;
}

button.app-nav__link--button {
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.app-nav__link:hover,
.app-nav__link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.app-nav__link.is-active {
  color: #fff;
}

.app-nav__link.is-active .material-symbols-outlined {
  font-variation-settings: "FILL" 1;
}

.app-nav__label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

fieldset:last-child {
  border-bottom: none !important;
}

.refresh-button:hover {
  transform: rotate(360deg);
  transition: transform 0.3s ease-in-out;
}

.refresh-button {
  transition: transform 0.3s ease-in-out;
}

.dashboard-activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dashboard-activity-item__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: inherit;
}

.dashboard-activity-item__link:hover {
  background: #f3f6fb;
}

.dashboard-activity-item__thumb {
  width: 3rem;
  height: 3rem;
  border-radius: 0.4rem;
  object-fit: cover;
  flex-shrink: 0;
}

.dashboard-activity-item__thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9eef8;
  color: #2c498f;
}

.dashboard-activity-item__thumb--placeholder .material-symbols-outlined {
  font-size: 1.5rem;
}

.dashboard-activity-item__name {
  font-weight: 600;
  line-height: 1.3;
}

.shifts-activity-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.shifts-activity-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #d5dceb;
  border-radius: 0.5rem;
  background: #fff;
  cursor: pointer;
  max-width: 100%;
}

.shifts-activity-chip.is-selected {
  border-color: #092059;
  background: #eef2fb;
}

.shifts-activity-chip.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.shifts-activity-chip input {
  margin-top: 0.2rem;
}

.shifts-activity-chip__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.shifts-activity-chip__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.shifts-activity-chip__meta {
  color: #6c757d;
  font-size: 0.8rem;
}

.shifts-timeline-shell {
  border: 1px solid #d5dceb;
  border-radius: 0.75rem;
  background: #fff;
  overflow: hidden;
}

.shifts-timeline {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(9, 32, 89, 0.28) transparent;
}

.shifts-timeline.is-scrollable {
  cursor: grab;
  touch-action: pan-y pinch-zoom;
}

.shifts-timeline.is-scrollable.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.shifts-timeline.is-scrollable.is-dragging * {
  cursor: grabbing;
}

.shifts-timeline::-webkit-scrollbar {
  height: 0.375rem;
}

.shifts-timeline::-webkit-scrollbar-track {
  background: transparent;
}

.shifts-timeline::-webkit-scrollbar-thumb {
  background: rgba(9, 32, 89, 0.28);
  border-radius: 999px;
}

.shifts-timeline::-webkit-scrollbar-thumb:hover {
  background: rgba(9, 32, 89, 0.42);
}

.shifts-timeline__toolbar {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid #e4e8f0;
  background: #fff;
}

.shifts-timeline__zoom {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.shifts-timeline__zoom-label {
  min-width: 2.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2c498f;
  text-align: center;
}

.shifts-timeline__zoom-btn {
  --bs-btn-padding-y: 0.1rem;
  --bs-btn-padding-x: 0.35rem;
  line-height: 1;
}

.shifts-timeline__zoom-btn .material-symbols-outlined {
  font-size: 1.1rem;
}

.shifts-timeline__canvas {
  --timeline-zoom: 1;
  width: fit-content;
  min-width: calc(12rem + var(--timeline-width) * var(--timeline-zoom));
}

.shifts-timeline__header,
.shifts-timeline__lane {
  width: fit-content;
  display: grid;
  grid-template-columns: 12rem calc(var(--timeline-width) * var(--timeline-zoom));
}

.shifts-timeline__header {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 3.5rem;
  background: #092059;
  color: #fff;
}

.shifts-timeline__corner,
.shifts-timeline__lane-label {
  position: sticky;
  left: 0;
  z-index: 4;
  width: 12rem;
  padding: 0.65rem 0.75rem;
  border-right: 1px solid #d5dceb;
}

.shifts-timeline__corner {
  display: flex;
  align-items: center;
  z-index: 6;
  font-weight: 700;
  background: #092059;
}

.shifts-timeline__axis,
.shifts-timeline__lane-track {
  position: relative;
  overflow: hidden;
  width: calc(var(--timeline-width) * var(--timeline-zoom));
}

.shifts-timeline__axis {
  height: 3.5rem;
}

.shifts-timeline__tick {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 5rem;
  padding-left: 0.35rem;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.72rem;
  line-height: 1.2;
  white-space: nowrap;
}

.shifts-timeline__tick-date {
  font-weight: 700;
}

.shifts-timeline__lane {
  border-bottom: 1px solid #e4e8f0;
}

.shifts-timeline__lane:last-child {
  border-bottom: 0;
}

.shifts-timeline__lane-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f7f8fb;
}

.shifts-timeline__lane-track {
  --block-row-height: 4rem;
  min-height: calc(0.65rem + var(--lane-rows, 1) * var(--block-row-height) + 0.5rem);
  background: #fff;
  background-image: linear-gradient(
    to bottom,
    rgba(9, 32, 89, 0.015),
    rgba(9, 32, 89, 0.04)
  );
}

.shifts-timeline__gridline {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e1e5ed;
}

.shifts-timeline__block {
  position: absolute;
  height: var(--block-row-height);
  padding: 0.55rem;
  border: 1px solid #2c498f;
  border-radius: 0.45rem;
  background: #dce6fa;
  color: #092059;
  overflow: hidden;
  box-shadow: 0 0.15rem 0.35rem rgba(9, 32, 89, 0.12);
}

.shifts-timeline__block.is-enrolled {
  border-color: #198754;
  background: #d9f2e5;
}

.shifts-timeline__block.is-full {
  border-color: #dc3545;
  background: #f5e0e3;
  color: #6c757d;
  box-shadow: none;
}

.shifts-timeline__block.is-full .shifts-timeline__block-title {
  color: #495057;
}

.shifts-mobile-card.is-enrolled {
  --bs-card-border-color: #198754;
  background-color: #d9f2e5;
}

.shifts-mobile-card.is-full {
  --bs-card-border-color: #dc3545;
  background-color: #f5e0e3;
  color: #6c757d;
}

.shifts-mobile-card.is-full .card-body {
  color: #6c757d;
}

.shifts-mobile-card.is-full .h6,
.shifts-mobile-card.is-full .small {
  color: inherit;
}

.shifts-timeline__block-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
}

.shifts-timeline__block-title {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
}

.shifts-timeline__block-meta,
.shifts-timeline__block-people {
  flex-shrink: 1;
  min-width: 0;
  font-size: 0.7rem;
  text-align: right;
}

.shifts-timeline__block-action {
  margin-top: 0.35rem;
}

.shifts-timeline__block-action .btn {
  --bs-btn-padding-y: 0.15rem;
  --bs-btn-padding-x: 0.35rem;
  --bs-btn-font-size: 0.7rem;
}

.shifts-timeline__activity {
  font-size: 0.75rem;
  font-weight: 600;
  color: #2c498f;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.reward-card {
  overflow: hidden;
}

.page-points {
  min-width: 8.5rem;
  background: #f4f7ff;
  border-color: var(--bs-primary);
}

.page-points .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.75rem 1.15rem;
}

.page-points__label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bs-primary);
  line-height: 1.2;
}

.page-points__value {
  font-size: 1.85rem;
  font-weight: 700;
  color: #092059;
  line-height: 1.1;
}

.reward-card__image {
  width: 100%;
  height: 9rem;
  object-fit: cover;
}

.reward-card__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.reward-card__title {
  flex: 1;
  min-width: 0;
}

.reward-card__points-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--bs-secondary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.reward-card__no-deduction {
  margin: -0.15rem 0 0.5rem;
  font-size: 0.75rem;
  color: var(--bs-secondary);
}

.reward-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9eef8;
  color: #2c498f;
}

.reward-card__image--placeholder .material-symbols-outlined {
  font-size: 2.5rem;
}

.account-email-field {
  position: relative;
}

.account-email-field .form-control {
  padding-right: 2.75rem;
}

.account-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.account-avatar--lg {
  width: 6rem;
  height: 6rem;
}

.account-profile-picture .invalid-feedback {
  text-align: center;
}

.account-email-field > .account-email-status {
  position: absolute;
  top: calc((3.5rem + 2px) / 2);
  right: 0.75rem;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 5;
  font-size: 1.2rem;
  line-height: 1;
}

.account-email-status--confirmed {
  color: #198754;
}

.account-email-status--pending {
  color: #fd7e14;
}
