.expert-card--disabled {
  pointer-events: none;
  cursor: not-allowed;
}

.flat-card,
.expert-tablet-surface {
  background-color: #ffffff;
  border: 1px solid #d8e2ec;
  border-radius: 0.5rem;
}

.expert-card-border {
  border-color: #d8e2ec;
}

input[type='radio']:checked + .expert-tablet-surface {
  border-color: #1e88e5;
  background-color: #f0f4f8;
}

input[type='radio']:checked + .expert-tablet-surface .expert-tablet-role {
  color: #1e88e5;
}

input[type='radio']:checked + .expert-tablet-surface .expert-tablet-avatar {
  border-color: #1e88e5;
}

input[type='radio']:checked + .expert-tablet-surface .expert-tablet-indicator-line {
  background-color: #d8e2ec;
}

input[type='radio']:checked + .expert-tablet-surface .expert-tablet-check {
  opacity: 1;
}

input[type='radio']:not(:checked) + .expert-tablet-surface .expert-tablet-indicator-line {
  background-color: transparent;
}

input[type='radio']:checked + .expert-list-surface {
  border-color: #1e88e5;
  background-color: #f0f4f8;
}

input[type='radio']:checked + .expert-list-surface .check-icon-container {
  opacity: 1;
  transform: scale(1);
}

input[type='radio']:not(:checked) + .expert-list-surface .check-icon-container {
  opacity: 0;
  transform: scale(0.8);
}

.check-icon-container {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.expert-tablet-check {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.staff-avatar-fallback {
  background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.booking-loading-pulse {
  animation: booking-pulse 1.4s ease-in-out infinite;
}

.booking-loading-state {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.booking-progress-indicator {
  width: 2.75rem;
  height: 2.75rem;
  border: 3px solid #d8e2ec;
  border-top-color: #1e88e5;
  border-radius: 9999px;
  animation: booking-progress-spin 0.8s linear infinite;
}

@keyframes booking-pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes booking-progress-spin {
  to {
    transform: rotate(360deg);
  }
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.service-mobile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #d8e2ec;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.service-mobile-card--selected {
  border-color: #1e88e5;
  border-width: 2px;
  padding: 9px 11px;
  background-color: #f0f4f8;
}

.service-mobile-avatar {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 9999px;
  background-color: #edf1f5;
}

.service-mobile-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.service-mobile-title {
  margin: 0;
  font-family: var(--font-label-md, Sora, sans-serif);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-mobile-subtitle {
  margin: 0;
  font-family: var(--font-label-sm, Sora, sans-serif);
  font-size: 12px;
  line-height: 1.4;
  color: #546e7a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-mobile-trailing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
}

.service-mobile-price {
  font-family: var(--font-label-md, Sora, sans-serif);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  color: #1e88e5;
  white-space: nowrap;
}

#services-list-mobile {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-tablet-card {
  cursor: pointer;
}

.service-image-placeholder {
  min-height: 100%;
}

.booking-date-chip--selected {
  border: 2px solid #1e88e5;
  background-color: #1e88e5;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 136, 229, 0.39);
}

.booking-date-chip--selected .booking-date-weekday,
.booking-date-chip--selected .booking-date-number {
  color: #ffffff;
}

.booking-slot--selected {
  border: 2px solid #1e88e5;
  background-color: #1e88e5;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 136, 229, 0.39);
}

.booking-slot--unavailable {
  opacity: 0.5;
  cursor: not-allowed;
  position: relative;
  overflow: hidden;
}

.booking-slot--unavailable::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background-color: #90a4ae;
  transform: rotate(-12deg);
}

@media (min-width: 768px) {
  .booking-success-icon {
    animation: booking-success-pop 0.6s ease-out 1;
  }
}

@keyframes booking-success-pop {
  0% {
    transform: scale(0.85);
    opacity: 0.6;
  }
  60% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.country-dial-code-picker {
  position: relative;
}

.country-dial-code-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  min-height: 42px;
  padding: 0 0.75rem;
  border: 1px solid #d8e2ec;
  border-radius: 0.5rem;
  background-color: #ffffff;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.country-dial-code-trigger:hover {
  border-color: #1e88e5;
}

.country-dial-code-trigger:focus-visible {
  outline: 2px solid #1e88e5;
  outline-offset: 2px;
}

.country-dial-code-trigger__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-dial-code-trigger__icon {
  flex-shrink: 0;
  color: #607d8b;
}

.country-dial-code-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background-color: rgba(15, 23, 42, 0.45);
}

.country-dial-code-modal__panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 82vh;
  background-color: #ffffff;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.18);
}

.country-dial-code-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid #e8eef3;
}

.country-dial-code-modal__title {
  font-size: 1rem;
  font-weight: 600;
  color: #102027;
}

.country-dial-code-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: #607d8b;
  cursor: pointer;
}

.country-dial-code-modal__list-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.country-dial-code-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem 1rem;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.country-dial-code-option:hover,
.country-dial-code-option:focus-visible {
  background-color: #f0f4f8;
  outline: none;
}

.country-dial-code-option--selected {
  background-color: #e3f2fd;
}

.country-dial-code-option__flag {
  font-size: 1.25rem;
  line-height: 1;
}

.country-dial-code-option__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #102027;
}

.country-dial-code-option__dial {
  color: #607d8b;
  font-variant-numeric: tabular-nums;
}

body.country-dial-code-picker-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .country-dial-code-modal {
    align-items: center;
    padding: 1.5rem;
  }

  .country-dial-code-modal__panel {
    max-width: 28rem;
    max-height: min(82vh, 40rem);
    border-radius: 1rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  }
}
