.slot-card {
  background: #ffffff;
  border: 1px solid #e8ebf2;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(21, 31, 57, 0.08);
  margin: 0 auto 30px;
  max-width: 920px;
  padding: 32px;
}
.slot-card,
.slot-card * {
  font-family: "Manrope", "Segoe UI", sans-serif !important;
}

.slot-card code,
.slot-card pre,
.slot-card kbd,
.slot-card samp {
  font-family: inherit !important;
}
.slot-card h2 {
  color: #18243d;
  font-size: 1.6rem;
  margin: 0 0 18px;
}

.slot-card h3 {
  color: #243556;
  margin: 10px 0 14px;
}

.slot-section-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.slot-section-head > h2 {
  margin: 0;
}

.slot-form-card form {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

.slot-booking-card {
  max-width: 500px;
  overflow: hidden;
  padding: 20px;
}

.slot-booking-card h2 {
  text-align: center;
}

.slot-booking-subtitle {
  margin-bottom: 6px;
  text-align: center;
}

.slot-booking-tour-actions {
  justify-content: center;
  margin-bottom: 6px;
}

.slot-booking-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.slot-booking-progress__item {
  background: #eef2fb;
  border: 1px solid #dae2f3;
  border-radius: 999px;
  color: #4d628a;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 10px;
}

.slot-booking-progress__item.is-active {
  background: #1e57d1;
  border-color: #1e57d1;
  color: #fff;
}

.slot-booking-progress__item.is-done {
  background: #e7f6ed;
  border-color: #c8e7d4;
  color: #20693a;
}

.slot-booking-progress__item.is-disabled {
  opacity: 0.55;
}

.slot-booking-step {
  display: none;
  gap: 12px;
}

.slot-booking-step.is-active {
  animation: slot-step-fade 0.2s ease-out;
  display: grid;
}

@keyframes slot-step-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slot-booking-card form {
  margin: 0 auto;
  max-width: 460px;
  overflow-x: hidden;
  width: 100%;
}

.slot-form-step-title {
  border-top: 1px solid #e8edf7;
  color: #1f355e;
  font-size: 1rem;
  margin: 4px 0 0;
  padding-top: 14px;
}

.slot-form-step-title--help {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.slot-help-trigger {
  background: #e9f1ff;
  border: 1px solid #c9daf9;
  border-radius: 999px;
  color: #2b4f92;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  padding: 7px 11px;
  white-space: nowrap;
}

.slot-help-trigger:hover {
  background: #dce9ff;
}

.slot-inline-help {
  margin: 0;
}

.slot-auth-footer {
  color: #4f6288;
  margin: 4px 0 0;
  text-align: center;
}

.slot-auth-card {
  max-width: 500px;
  padding: 24px 22px;
}

.slot-auth-card h2 {
  margin-bottom: 10px;
  text-align: center;
}

.slot-auth-card .slot-muted {
  margin-bottom: 4px;
  text-align: center;
}

.slot-auth-card form {
  margin: 0 auto;
  max-width: 460px;
  width: 100%;
}

.slot-register-google-link {
  margin: 8px 0 10px;
}

.slot-register-google-link .slot-inline-actions {
  justify-content: flex-start;
  margin-top: 6px;
}

.slot-register-google-link .slot-google-note {
  margin: 0 0 8px;
}

.slot-auth-card .slot-button {
  width: 100%;
}

.slot-first-time-card {
  max-width: 980px;
  padding: 34px;
}

.slot-first-time-head {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin-bottom: 18px;
  text-align: center;
}

.slot-first-time-head__logo-wrap {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 48px;
}

.slot-first-time-head__logo {
  display: block;
  height: 48px;
  object-fit: contain;
  width: auto;
}

.slot-first-time-head__logo-inline {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.slot-first-time-head__logo-inline svg {
  display: block;
  height: 52px;
  width: auto;
}

.slot-first-time-head__logo-fallback {
  color: var(--slot-primary, #1f3f8f);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.slot-first-time-head h2 {
  margin: 0;
}

.slot-first-time-head .slot-muted {
  margin: 0;
  max-width: 680px;
}

.slot-first-time-progress {
  --slot-step-label-height: 52px;
  --slot-step-label-gap: 14px;
  --slot-step-dot-size: 30px;
  --slot-step-line-thickness: 6px;
  --slot-step-line-y: calc(var(--slot-step-label-height) + var(--slot-step-label-gap) + (var(--slot-step-dot-size) / 2));

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  position: relative;
  margin: 0 0 28px 0;
  padding: 0 14px 18px;
}

.slot-first-time-progress::before {
  content: "";
  position: absolute;
  left: calc(10% + (var(--slot-step-dot-size) / 2));
  right: calc(10% + (var(--slot-step-dot-size) / 2));
  top: var(--slot-step-line-y);
  height: var(--slot-step-line-thickness);
  background: #e8eef8;
  border-radius: 999px;
  transform: translateY(-50%);
  z-index: 0;
}

.slot-first-time-progress__item {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 8px;
}

.slot-first-time-progress__label {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: var(--slot-step-label-height);
  margin: 0 0 var(--slot-step-label-gap) 0;
  color: #7c8fae;
  font-size: 0.96rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.slot-first-time-progress__dot {
  width: var(--slot-step-dot-size);
  height: var(--slot-step-dot-size);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  border-radius: 50%;
  background: #edf2f8;
  border: 4px solid #edf2f8;
  overflow: hidden;
  line-height: 1;
}

.slot-first-time-progress__item::after {
  content: "";
  position: absolute;
  top: var(--slot-step-line-y);
  left: calc(50% + (var(--slot-step-dot-size) / 2));
  width: calc(100% - var(--slot-step-dot-size));
  height: var(--slot-step-line-thickness);
  background: transparent;
  border-radius: 999px;
  transform: translateY(-50%);
  z-index: 1;
}

.slot-first-time-progress__item:last-child::after {
  display: none;
}

.slot-first-time-progress__item.is-done::after {
  background: radial-gradient(circle at 35% 35%, #0ea5a3 0%, #0f5bdd 78%);
}

.slot-first-time-progress__item.is-active .slot-first-time-progress__label,
.slot-first-time-progress__item.is-done .slot-first-time-progress__label {
  color: #1d3d77;
}

.slot-first-time-progress__item.is-pending .slot-first-time-progress__label {
  color: #7c8fae;
}

.slot-first-time-progress__item.is-active .slot-first-time-progress__dot {
  background: #ffffff;
  border-color: #2f5fda;
  z-index: 3;

}

.slot-first-time-progress__item.is-done .slot-first-time-progress__dot {
  background: radial-gradient(circle at 35% 35%, #0ea5a3 0%, #0f5bdd 78%);
  border: 0;
  border-radius: 50%;
  background-clip: padding-box;
  z-index: 3;

}

.slot-first-time-progress__item.is-done .slot-first-time-progress__dot::after {
  content: "✓";
  display: block;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.slot-first-time-progress__item.is-pending .slot-first-time-progress__dot {
  background: #edf2f8;
  border-color: #edf2f8;
}

@media (max-width: 767px) {
  .slot-first-time-progress {
    display: none !important;
  }
}

.slot-first-time-welcome,
.slot-first-time-google,
.slot-first-time-finish {
  background: #f7faff;
  border: 1px solid #dbe5f7;
  border-radius: 16px;
  display: grid;
  gap: 12px;
  padding: 20px;
}

.slot-first-time-welcome h3,
.slot-first-time-google h3,
.slot-first-time-finish h3 {
  margin: 0;
}

.slot-first-time-welcome p,
.slot-first-time-google p,
.slot-first-time-finish p {
  margin: 0;
}

.slot-first-time-bullets {
  margin: 0;
  padding-left: 18px;
}

.slot-first-time-bullets li + li {
  margin-top: 6px;
}

.slot-first-time-step-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.slot-first-time-step-card {
  background: #ffffff;
  border: 1px solid #d7e1f3;
  border-radius: 14px;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.slot-first-time-step-card header {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.slot-first-time-step-card h4 {
  margin: 0;
}

.slot-first-time-step-card p {
  color: #4d638e;
  margin: 0;
}

.slot-first-time-step-pill {
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  padding: 8px 10px;
}

.slot-first-time-step-pill.is-ok {
  background: #e3f5ea;
  color: #215f3f;
}

.slot-first-time-step-pill.is-pending {
  background: #fff3da;
  color: #8c6a1b;
}

.slot-first-time-form {
  background: #f7faff;
  border: 1px solid #dbe5f7;
  border-radius: 16px;
  display: grid;
  gap: 12px;
  padding: 20px;
}

.slot-first-time-form h3 {
  margin: 0;
}

.slot-first-time-form .slot-muted {
  margin: 0;
}

.slot-first-time-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.slot-first-time-form select,
.slot-first-time-form textarea {
  background: #ffffff;
  border: 1px solid #c6d5ef;
  border-radius: 20px;
  color: #1e3155;
  font-size: 1rem;
  line-height: 1.2;
  min-height: 52px;
  padding: 12px 18px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  width: 100%;
}

.slot-first-time-form textarea {
  min-height: 118px;
  resize: vertical;
}

.slot-first-time-form input::placeholder,
.slot-first-time-form textarea::placeholder {
  color: #7c8fae;
}

.slot-first-time-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.slot-first-time-form select:focus,
.slot-first-time-form textarea:focus {
  border-color: #4a69de;
  box-shadow: 0 0 0 3px rgba(74, 105, 222, 0.15);
  outline: none;
}

.slot-first-time-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #4d638e 50%),
    linear-gradient(135deg, #4d638e 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-repeat: no-repeat;
  background-size: 7px 7px, 7px 7px;
  padding-right: 44px;
}

.slot-first-time-logo-preview {
  background: #fff;
  border: 1px solid #d5e0f3;
  border-radius: 12px;
  display: block;
  height: 68px;
  object-fit: contain;
  padding: 6px;
  width: auto;
}

.slot-first-time-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 6px;
}

.slot-first-time-actions .slot-button,
.slot-first-time-actions .slot-mini-button {
  min-width: 190px;
}

.slot-onboarding-profile-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.slot-onboarding-profile-card {
  background: #fff;
  border: 1px solid #d7e1f3;
  border-radius: 14px;
  cursor: pointer;
  display: grid;
  gap: 8px;
  min-height: 148px;
  padding: 14px 14px 12px;
  position: relative;
}

.slot-onboarding-profile-card input {
  height: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.slot-onboarding-profile-card__icon {
  align-items: center;
  background: #eef4ff;
  border-radius: 12px;
  color: #2d53a1;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.slot-onboarding-profile-card__icon svg {
  fill: currentColor;
  height: 22px;
  width: 22px;
}

.slot-onboarding-profile-card__title {
  color: #1f355d;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.slot-onboarding-profile-card__meta {
  color: #60749e;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.slot-onboarding-profile-card__details {
  color: #4c638f;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.3;
}

.slot-onboarding-profile-card:has(input:checked) {
  background: linear-gradient(140deg, #f1f6ff, #eef9ff);
  border-color: #2a61d9;
  box-shadow: 0 10px 24px rgba(31, 67, 142, 0.16);
}

.slot-onboarding-profile-card:has(input:checked) .slot-onboarding-profile-card__icon {
  background: linear-gradient(120deg, #2a5fda, #0cc2be);
  color: #fff;
}

.slot-onboarding-profile-card:hover {
  border-color: #9eb8e8;
}

.slot-model-icon-chip {
  align-items: center;
  background: #eef4ff;
  border: 1px solid #d3ddf2;
  border-radius: 12px;
  color: #2a4f96;
  display: inline-flex;
  font-size: 1.1rem;
  height: 34px;
  justify-content: center;
  line-height: 1;
  min-width: 34px;
  padding: 0 8px;
}

.slot-model-services-editor {
  border: 1px solid #d5e1f5;
  border-radius: 14px;
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding: 12px;
}

.slot-model-services-editor__head {
  align-items: center;
  color: #4a618c;
  display: flex;
  font-size: 0.85rem;
  font-weight: 700;
  gap: 10px;
  justify-content: space-between;
}

.slot-model-services-editor__rows {
  display: grid;
  gap: 8px;
}

.slot-model-service-row {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(220px, 2fr) minmax(120px, 1fr) minmax(140px, 1fr) auto;
}

.slot-model-service-row input {
  min-height: 42px;
}

.slot-model-service-row__remove {
  min-height: 42px;
  min-width: 96px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .slot-model-services-editor {
    padding: 10px;
  }

  .slot-model-services-editor__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .slot-model-service-row {
    grid-template-columns: 1fr;
  }

  .slot-model-service-row__remove {
    width: 100%;
  }
}

.slot-password-field {
  position: relative;
  width: 100%;
}

.slot-password-field input {
  padding-right: 56px !important;
}

.slot-password-toggle {
  align-items: center;
  background: #eef3ff;
  border: 1px solid #cdd8f0;
  border-radius: 10px;
  color: #2a4f96;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  line-height: 1;
  min-height: 36px;
  min-width: 44px;
  padding: 0;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  width: 44px;
  z-index: 2;
}

.slot-password-toggle::after {
  background: #12284d;
  border-radius: 8px;
  color: #fff;
  content: attr(data-slot-tooltip);
  font-size: 0.72rem;
  font-weight: 700;
  left: 50%;
  line-height: 1;
  opacity: 0;
  padding: 6px 8px;
  pointer-events: none;
  position: absolute;
  top: -8px;
  transform: translate(-50%, -100%);
  transition: opacity 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.slot-password-toggle:hover::after,
.slot-password-toggle:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 2px));
}

.slot-password-toggle:hover {
  background: #e4ecff;
  border-color: #b8caef;
  transform: translateY(calc(-50% - 1px));
}

.slot-password-toggle__icon {
  align-items: center;
  display: inline-flex;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.slot-password-toggle__icon svg {
  display: block;
  fill: currentColor;
  height: 100%;
  width: 100%;
}

.slot-password-toggle__icon--hide {
  display: none;
}

.slot-password-toggle:focus-visible {
  border-color: #4a69de;
  box-shadow: 0 0 0 3px rgba(74, 105, 222, 0.16);
  outline: none;
}

.slot-password-toggle.is-visible {
  background: #e8f4ed;
  border-color: #c8e5d2;
  color: #1f6c3c;
}

.slot-password-toggle.is-visible .slot-password-toggle__icon--show {
  display: none;
}

.slot-password-toggle.is-visible .slot-password-toggle__icon--hide {
  display: inline-flex;
}

.slot-password-hint {
  font-size: 0.82rem;
  margin: -4px 0 0;
}

.slot-form-card label:not(.slot-check-item),
.slot-provider-card label:not(.slot-check-item),
.slot-inline-grid label:not(.slot-check-item) {
  color: #1f355e;
  display: block;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
}

.slot-form-card input:not([type="checkbox"]):not([type="radio"]),
.slot-form-card select,
.slot-form-card textarea,
.slot-provider-card input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.slot-provider-card select,
.slot-provider-card textarea,
.slot-inline-grid > div > input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.slot-inline-grid > div > select,
.slot-inline-grid > div > textarea {
  box-sizing: border-box;
  border: 1px solid #ccd3e0;
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.2;
  max-width: 100%;
  min-height: 46px;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  width: 100%;
}

.slot-form-card textarea {
  min-height: 110px;
  resize: vertical;
}

.slot-provider-card textarea,
.slot-inline-grid > div > textarea {
  min-height: 110px;
  resize: vertical;
}

.slot-form-card input[type="checkbox"],
.slot-form-card input[type="radio"] {
  min-height: 0;
  min-width: 0;
  padding: 0;
  width: auto;
}

.slot-form-card select {
  background-color: #fff;
  padding-right: 34px;
}

.slot-provider-card select,
.slot-inline-grid > div > select {
  background-color: #fff;
  padding-right: 34px;
}

.slot-form-card input[type="file"] {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.slot-account-photo-editor {
  background: #f7f9ff;
  border: 1px solid #d8e1f3;
  border-radius: 12px;
  display: grid;
  gap: 12px;
  padding: 12px;
}

.slot-account-photo-preview {
  align-items: center;
  background: #ffffff;
  border: 1px dashed #ced8ef;
  border-radius: 12px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  height: 92px;
  justify-content: center;
  overflow: hidden;
  width: 92px;
}

.slot-account-photo-preview img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.slot-form-card input[type="time"],
.slot-form-card input[type="date"] {
  padding-left: 14px;
}

.slot-choices .choices__inner {
  border: 1px solid #ccd3e0;
  border-radius: 10px;
  min-height: 44px;
  padding: 7px 10px;
}

.slot-choices.is-focused .choices__inner,
.slot-choices.is-open .choices__inner {
  border-color: #0f5bdd;
}

.slot-choices .choices__list--dropdown {
  border: 1px solid #ccd3e0;
  border-radius: 10px;
}

.slot-button {
  background: linear-gradient(120deg, #0f5bdd, #0ea5a3);
  border: 0;
  border-radius: 10px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  line-height: 1.15;
  min-height: 42px;
  padding: 11px 16px;
  text-decoration: none;
  white-space: nowrap;
}

.slot-button:hover {
  filter: brightness(1.05);
}

.slot-button--ghost {
  background: #eaf0fb;
  color: #27457a;
}

.slot-link {
  color: #0f5bdd;
  text-decoration: none;
}

.slot-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 18px 0 22px;
}

.slot-config-hub .slot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.slot-grid article {
  background: #f7f9fd;
  border-radius: 12px;
  padding: 16px;
}

.slot-config-card {
  border: 1px solid #dbe6f7;
}

.slot-config-card__head {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.slot-config-card__head h3 {
  margin: 0;
}

.slot-config-card__badge {
  background: #eaf2ff;
  border: 1px solid #cfe0fb;
  border-radius: 999px;
  color: #2b4f92;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 9px;
}

.slot-config-progress {
  background: #f6f9ff;
  border: 1px solid #d7e3fb;
  border-radius: 12px;
  margin: 12px 0 6px;
  padding: 12px 14px;
}

.slot-config-progress__head {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.slot-config-progress__head strong {
  color: #1f2f5a;
  font-size: 0.95rem;
}

.slot-config-progress__head span {
  color: #3e588f;
  font-size: 0.85rem;
  font-weight: 700;
}

.slot-config-progress__track {
  background: #e6eefc;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.slot-config-progress__bar {
  background: linear-gradient(90deg, #2f58d4 0%, #3ea9a8 100%);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 0.3s ease;
}

.slot-config-card__status-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 2px;
}

.slot-config-card__status {
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 3px 10px;
}

.slot-config-card__status--pending {
  background: #eef1f7;
  color: #54627f;
}

.slot-config-card__status--progress {
  background: #fff2d8;
  color: #946600;
}

.slot-config-card__status--done {
  background: #dcf4e4;
  color: #2a6a42;
}

.slot-config-card__status--optional {
  background: #edf3ff;
  color: #445f96;
}

.slot-config-card__meta {
  color: #6a7da8;
  font-size: 0.74rem;
  font-weight: 700;
}

.slot-config-card__todo {
  background: #f8fbff;
  border: 1px dashed #d5e3fa;
  border-radius: 10px;
  margin: 8px 0 10px;
  padding: 8px 10px;
}

.slot-config-card__todo small {
  color: #355285;
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.slot-config-card__todo ul {
  margin: 0;
  padding-left: 18px;
}

.slot-config-card__todo li {
  color: #45608f;
  font-size: 0.81rem;
  margin: 2px 0;
}

.slot-config-next-step {
  align-items: center;
  background: #eef5ff;
  border: 1px solid #d8e6fd;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 10px;
  padding: 10px 12px;
}

.slot-config-next-step p {
  color: #2b4779;
  margin: 0;
}

.slot-config-next-step--done {
  background: #e8f7ee;
  border-color: #c7ebd7;
}

.slot-config-next-step--done p {
  color: #2c6b49;
  font-weight: 700;
}

.slot-config-onboarding {
  align-items: center;
  background: #edf4ff;
  border: 1px solid #d2e1fb;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 12px;
  padding: 10px 12px;
}

.slot-config-onboarding p {
  color: #27457a;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
}

.slot-page-tour-actions {
  justify-content: flex-end;
  margin: 8px 0 4px;
}

.slot-section-head .slot-page-tour-actions {
  margin: 0;
}

.slot-copy-booking-link--invite {
  font-size: 0.9rem;
  min-height: 40px;
  padding: 10px 14px;
}

.slot-assistant {
  background: #f4f8ff;
  border: 1px solid #d5e2fb;
  border-radius: 12px;
  margin: 6px 0 14px;
  padding: 12px 14px;
}

.slot-assistant h3 {
  color: #1f3360;
  font-size: 1rem;
  margin: 0 0 4px;
}

.slot-assistant__intro {
  color: #49608f;
  font-size: 0.9rem;
  margin: 0 0 8px;
}

.slot-assistant__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.slot-assistant__item {
  align-items: center;
  color: #435a89;
  display: flex;
  gap: 8px;
  font-size: 0.88rem;
  margin: 6px 0;
}

.slot-assistant__icon {
  background: #e5edfb;
  border-radius: 999px;
  color: #4e638f;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 800;
  height: 20px;
  justify-content: center;
  min-width: 20px;
  padding: 0 4px;
  text-transform: uppercase;
}

.slot-assistant__item.is-done {
  color: #2f6f4a;
}

.slot-assistant__item.is-done .slot-assistant__icon {
  background: #d7f1e2;
  color: #2f6f4a;
}

.slot-assistant__progress {
  color: #3f5788;
  font-size: 0.83rem;
  font-weight: 800;
  margin: 10px 0 0;
}

.slot-assistant.is-complete {
  background: #edf8f1;
  border-color: #cde8d8;
}

.slot-grid--stats {
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.slot-grid--stats.is-loading .slot-stat-card {
  overflow: hidden;
  pointer-events: none;
  position: relative;
}

.slot-grid--stats.is-loading .slot-stat-card > * {
  opacity: 0;
}

.slot-grid--stats.is-loading .slot-stat-card::before {
  background: linear-gradient(90deg, rgba(240, 245, 255, 0) 0%, rgba(240, 245, 255, 0.92) 52%, rgba(240, 245, 255, 0) 100%);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-100%);
  z-index: 1;
  animation: slot-stats-shimmer 1.1s ease-in-out infinite;
}

.slot-stat-card {
  align-items: center;
  background: #f7f9fd;
  border: 1px solid #dfe7f4;
  border-radius: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: 80px 1fr;
  min-height: 118px;
  padding: 14px;
}

.slot-stat-ring {
  --slot-stat-pct: 0;
  --slot-stat-color: #2d57cf;
  align-items: center;
  background: conic-gradient(var(--slot-stat-color) calc(var(--slot-stat-pct) * 1%), #e5ebf7 0);
  border-radius: 999px;
  display: inline-flex;
  height: 70px;
  justify-content: center;
  position: relative;
  width: 70px;
}

.slot-stat-ring::after {
  background: #fff;
  border-radius: inherit;
  content: "";
  height: 52px;
  position: absolute;
  width: 52px;
}

.slot-stat-ring span {
  color: #304670;
  font-size: 0.76rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.slot-stat-copy h3 {
  color: #1f3257;
  font-size: 0.98rem;
  margin: 0 0 6px;
}

.slot-stat-copy p {
  color: #182948;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

.slot-stat-copy small {
  color: #5a6d93;
  display: block;
  font-size: 0.76rem;
  margin-top: 4px;
}

.slot-stat-card--blue .slot-stat-ring { --slot-stat-color: #1f63db; }
.slot-stat-card--teal .slot-stat-ring { --slot-stat-color: #1e9ea0; }
.slot-stat-card--indigo .slot-stat-ring { --slot-stat-color: #0cc2be; }
.slot-stat-card--green .slot-stat-ring { --slot-stat-color: #2f9d58; }
.slot-stat-card--red .slot-stat-ring { --slot-stat-color: #d34b4b; }
.slot-stat-card--amber .slot-stat-ring { --slot-stat-color: #ffcc00; }
.slot-stat-card--purple .slot-stat-ring { --slot-stat-color: #8a55d7; }

@keyframes slot-stats-shimmer {
  to {
    transform: translateX(100%);
  }
}

.slot-error {
  background: #ffffff;
  border: 1px solid #f1c7c7;
  border-left: 5px solid #d34b4b;
  border-radius: 10px;
  color: #a92525;
  margin-bottom: 12px;
  padding: 10px;
}

.slot-success {
  background: #ffffff;
  border: 1px solid #c9ebd6;
  border-left: 5px solid #2f9d58;
  border-radius: 10px;
  color: #1f6b34;
  margin-bottom: 12px;
  padding: 10px;
}

.slot-warning {
  background: #ffffff;
  border: 1px solid #e7d9b4;
  border-left: 5px solid #ffcc00;
  border-radius: 10px;
  color: #ffba00;
  margin-bottom: 12px;
  padding: 10px;
}

.slot-list {
  margin: 0 0 14px;
  padding-left: 18px;
}

.slot-list li {
  margin: 8px 0;
}

.slot-separator {
  border: 0;
  border-top: 1px solid #dfe6f4;
  margin: 18px 0;
}

.slot-muted {
  color: #4e5f84;
  margin: 0 0 10px;
}

.slot-google-note {
  background: #eef6ff;
  border: 1px solid #cfe2ff;
  border-radius: 10px;
  color: #214678;
  margin: 0 0 14px;
  padding: 10px 12px;
}

.slot-inline-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 0;
  margin-top: 8px;
  vertical-align: middle;
}

.slot-inline-actions--toolbar {
  justify-content: flex-end;
  width: 100%;
}

.slot-card > .slot-inline-actions {
  justify-content: flex-end;
  width: 100%;
}

.slot-provider-card .slot-inline-actions {
  align-items: flex-end;
}

.slot-inline-action {
  display: inline-flex;
  margin: 0;
}

.slot-inline-actions form {
  margin: 0;
}

.slot-assign-form {
  align-items: center;
  gap: 8px;
}

.slot-mini-select {
  background: #fff;
  border: 1px solid #c6d3eb;
  border-radius: 999px;
  color: #1f355e;
  font-size: 0.78rem;
  min-width: 140px;
  padding: 6px 10px;
}

.slot-mini-select:focus {
  border-color: #3f66d8;
  outline: none;
}

.slot-inline-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.slot-inline-grid > div {
  align-content: start;
  display: grid;
  gap: 6px;
}

.slot-inline-grid > div > input,
.slot-inline-grid > div > select,
.slot-inline-grid > div > textarea {
  width: 100%;
}

.slot-provider-stack {
  display: grid;
  gap: 16px;
}

.slot-payment-methods {
  display: grid;
  gap: 14px;
  margin: 8px 0 14px;
}

.slot-payment-methods-summary {
  border-radius: 10px;
  margin: 4px 0 8px;
  padding: 8px 10px;
}

.slot-payment-methods-summary.is-warning {
  background: #fff4d6;
  border: 1px solid #f2d58a;
  color: #775300;
  font-weight: 700;
}

.slot-provider-card {
  background: #f7f9fd;
  border: 1px solid #d9e2f2;
  border-radius: 12px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.slot-provider-card h3 {
  margin: 0;
}

.slot-provider-card > .slot-muted {
  margin: -2px 0 2px;
}

.slot-provider-card form label {
  display: block;
  margin: 12px 0 6px;
}

.slot-provider-card form .slot-inline-grid {
  margin-top: 10px;
}

.slot-provider-card form .slot-inline-grid label {
  margin-top: 0;
}

.slot-provider-card form .slot-button {
  margin-top: 14px;
}

.slot-template-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.slot-notification-template-card {
  margin-top: 4px;
}

.slot-notification-template-item {
  background: #ffffff;
  border: 1px solid #dbe4f7;
  border-radius: 12px;
  margin-top: 10px;
  padding: 10px 12px;
}

.slot-notification-template-item summary {
  color: #1e3764;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  outline: none;
}

.slot-notification-template-item summary::-webkit-details-marker {
  display: none;
}

.slot-notification-template-fields {
  border-top: 1px solid #e6ecf9;
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
}

.slot-notification-template-test {
  background: #f8fbff;
  border: 1px dashed #d3def6;
  border-radius: 12px;
  margin-top: 6px;
  padding: 10px 12px;
}

.slot-notification-template-test > label {
  margin: 0 0 6px;
}

.slot-notification-template-test__actions {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(180px, 1fr) auto;
}

.slot-notification-template-test__actions .slot-mini-button {
  min-height: 40px;
}

.slot-notification-template-test .slot-muted {
  margin: 6px 0 0;
}

.slot-admin-app-payment-form {
  display: grid;
  gap: 16px;
}

.slot-admin-app-payment-form .slot-inline-grid {
  margin-top: 0;
}

.slot-admin-app-payment-form .slot-inline-grid + .slot-inline-grid {
  margin-top: 4px;
}

.slot-admin-app-payment-form label {
  margin-bottom: 6px;
}

.slot-admin-app-payment-form .slot-button {
  margin-top: 14px;
  width: fit-content;
}

.slot-google-actions {
  border-top: 1px dashed #d5e0f2;
  justify-content: flex-start;
  margin-top: 8px;
  padding-top: 10px;
}

.slot-it-advanced {
  margin-top: 12px;
}

.slot-it-advanced > summary {
  color: #1f355e;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  list-style: none;
}

.slot-it-advanced > summary::-webkit-details-marker {
  display: none;
}

.slot-it-advanced > summary::after {
  content: "Mostrar";
  color: #4c6493;
  float: right;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.slot-it-advanced[open] > summary::after {
  content: "Ocultar";
}

.slot-it-advanced[open] > summary {
  margin-bottom: 10px;
}

.slot-integration-title {
  align-items: center;
  column-gap: 12px;
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto;
  margin-bottom: 4px;
  row-gap: 8px;
}

.slot-integration-title img {
  border-radius: 0;
  display: block;
  height: 52px;
  object-fit: contain;
  object-position: left center;
  width: 190px;
}

.slot-integration-title span {
  color: #415780;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.slot-provider-card.is-hidden {
  display: none;
}

.slot-provider-card--preview {
  background: #ffffff;
  border: 1px dashed #c8d7f1;
  border-radius: 10px;
  margin-top: 4px;
  min-height: 52px;
  padding: 10px 12px;
}

.slot-provider-card--preview p {
  margin: 0;
}

.slot-token-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-token-editor {
  background: #ffffff;
  border: 1px solid #ccd8ee;
  border-radius: 12px;
  line-height: 1.45;
  min-height: 124px;
  overflow-wrap: anywhere;
  padding: 10px 12px;
  white-space: pre-wrap;
}

.slot-token-editor:focus {
  border-color: #3f5de0;
  box-shadow: 0 0 0 3px rgba(63, 93, 224, 0.15);
  outline: 0;
}

.slot-token-chip {
  align-items: center;
  background: #eaf0ff;
  border: 1px solid #b9c8f3;
  border-radius: 999px;
  color: #284694;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  margin: 2px 3px;
  padding: 4px 10px;
  vertical-align: middle;
}

.slot-visually-hidden {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

.slot-wa-send-modal .slot-form-modal__panel {
  max-width: 980px;
}

.slot-business-model-modal {
  max-width: 980px;
}

.slot-wa-send-modal__panel {
  display: grid;
  gap: 14px;
}

.slot-wa-send-hero {
  align-items: center;
  background: linear-gradient(135deg, #eef8f2 0%, #f5f7ff 100%);
  border: 1px solid #d9e6fa;
  border-radius: 14px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
}

.slot-wa-send-hero__left {
  display: grid;
  gap: 4px;
}

.slot-wa-send-brand-row {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.slot-wa-send-brand-logo {
  height: 28px;
  max-width: 154px;
  object-fit: contain;
  width: auto;
}

.slot-wa-send-brand-name {
  color: #1f355f;
  font-size: 0.86rem;
  font-weight: 700;
}

.slot-wa-send-hero__badge {
  align-items: center;
  background: #1f8b4c;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  max-width: max-content;
  padding: 4px 10px;
  text-transform: uppercase;
}

.slot-wa-send-hero__phone {
  color: #223659;
  font-size: 1.02rem;
  margin: 0;
}

.slot-wa-send-hero__phone strong {
  color: #182948;
}

.slot-wa-send-hero__help {
  color: #55698f;
  font-size: 0.88rem;
  margin: 0;
}

.slot-wa-send-hero__right {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d7e4f7;
  border-radius: 999px;
  color: #274478;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 8px;
  padding: 8px 12px;
  white-space: nowrap;
}

.slot-wa-send-state-dot {
  animation: slot-wa-pulse 1.5s ease-in-out infinite;
  background: #1f8b4c;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(31, 139, 76, 0.4);
  display: inline-block;
  height: 8px;
  width: 8px;
}

@keyframes slot-wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 139, 76, 0.35);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(31, 139, 76, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(31, 139, 76, 0);
  }
}

.slot-wa-send-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(300px, 1.1fr) minmax(260px, 0.9fr);
}

.slot-wa-send-editor,
.slot-wa-send-preview-pane {
  background: #f8fbff;
  border: 1px solid #dbe6f8;
  border-radius: 14px;
  padding: 12px;
}

.slot-wa-send-editor {
  display: grid;
  gap: 10px;
}

.slot-wa-send-modal textarea {
  font-family: "Segoe UI", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", Arial, sans-serif !important;
  font-size: 1.03rem;
  letter-spacing: 0.01em;
  line-height: 1.45;
  min-height: 140px;
  resize: vertical;
}

.slot-wa-template-list {
  display: grid;
  gap: 8px;
  max-height: 206px;
  overflow: auto;
  padding-right: 2px;
}

.slot-wa-template-list::-webkit-scrollbar {
  width: 8px;
}

.slot-wa-template-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #315cda 0%, #49b4b7 100%);
  border-radius: 999px;
}

.slot-wa-template-item {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #d5dff3;
  border-radius: 12px;
  color: #1c2f53;
  cursor: pointer;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.slot-wa-template-item:hover {
  border-color: #84a2ea;
  box-shadow: 0 8px 18px rgba(30, 75, 183, 0.12);
  transform: translateY(-1px);
}

.slot-wa-template-item.is-active {
  background: linear-gradient(135deg, #f3f7ff 0%, #edf8f1 100%);
  border-color: #2f56cb;
  box-shadow: 0 0 0 2px rgba(47, 86, 203, 0.16);
}

.slot-wa-template-item__name {
  font-size: 0.92rem;
  font-weight: 700;
}

.slot-wa-template-item__meta {
  color: #5f739b;
  font-size: 0.76rem;
}

.slot-wa-send-meta {
  align-items: center;
  color: #60739a;
  display: flex;
  font-size: 0.8rem;
  gap: 10px;
  justify-content: space-between;
}

.slot-wa-send-meta #slot_wa_send_chars {
  color: #20365f;
  font-weight: 700;
}

.slot-wa-send-preview-pane {
  display: grid;
  gap: 10px;
}

.slot-wa-send-preview-title {
  color: #223a67;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
}

.slot-wa-phone-mock {
  background: #dde6f7;
  border: 1px solid #cfdbf2;
  border-radius: 18px;
  overflow: hidden;
}

.slot-wa-phone-mock__top {
  align-items: center;
  background: linear-gradient(90deg, #1f8b4c 0%, #2ca566 100%);
  color: #fff;
  display: flex;
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: space-between;
  padding: 9px 11px;
}

.slot-wa-phone-mock__brand {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  letter-spacing: 0.01em;
}

.slot-wa-send-whatsapp-logo {
  border-radius: 4px;
  height: 16px;
  object-fit: contain;
  width: auto;
}

.slot-wa-phone-mock__phone {
  opacity: 0.9;
}

.slot-wa-phone-mock__body {
  background:
    radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.42) 2px, transparent 2px) 0 0 / 24px 24px,
    linear-gradient(180deg, #d4ecd6 0%, #d9efe3 100%);
  max-height: 360px;
  min-height: 320px;
  overflow-y: auto;
  padding: 14px;
}

.slot-wa-chat-body {
  display: block;
  min-height: 0;
  width: 100%;
}

.slot-wa-chat-bubble {
  background: #ffffff;
  border: 1px solid #d7e4f6;
  border-radius: 13px 13px 13px 4px;
  box-shadow: 0 8px 20px rgba(16, 34, 63, 0.12);
  color: #192a49;
  line-height: 1.48;
  overflow-wrap: anywhere;
  padding: 12px 12px;
  white-space: pre-wrap;
}

.slot-wa-chat-bubble.is-placeholder {
  color: #7386a8;
  font-style: italic;
}

.slot-wa-send-actions {
  justify-content: flex-start;
}

.slot-mini-button {
  background: linear-gradient(120deg, #2a5fda, #0cc2be);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  justify-content: center;
  line-height: 1.15;
  min-height: 40px;
  min-width: 98px;
  padding: 0 16px;
  text-decoration: none;
  white-space: nowrap;
}

.slot-mini-button--ghost {
  background: #eef2fb;
  color: #2f4b85;
}

.slot-mini-button--success {
  background: linear-gradient(135deg, #2bb968 0%, #1f8b4c 55%, #16733c 100%);
  color: #fff;
}

.slot-mini-button--danger {
  background: linear-gradient(135deg, #e05a5a 0%, #c94141 55%, #a92f2f 100%);
  color: #fff;
}

.slot-mini-button--info {
  background: linear-gradient(120deg, #2a5fda, #0cc2be);
  color: #fff;
}

.slot-mini-button--icon {
  min-width: 40px;
  width: 40px;
  padding: 0;
}

.slot-mini-button--icon svg {
  height: 18px;
  width: 18px;
}

.slot-schedule-card {
  background: #fff;
  border: 1px solid #dde5f2;
  border-radius: 16px;
  margin: 0 auto;
  max-width: 460px;
  padding: 14px;
}

.slot-calendar-layout {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  justify-items: center;
}

.slot-inline-calendar {
  background: #fff;
  border: 0;
  border-radius: 12px;
  max-width: fit-content;
  padding: 0;
}

.slot-calendar-pane {
  border-right: 0;
  display: grid;
  gap: 8px;
  justify-items: start;
  margin: 0 auto;
  padding-right: 0;
  width: fit-content;
}

.slot-schedule-summary {
  background: #ffffff;
  border: 1px solid #d7ddec;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 auto;
  max-width: 360px;
  padding: 10px;
  width: auto;
}

.slot-schedule-summary label {
  display: block;
  font-weight: 600;
  margin-bottom: 0;
}

.slot-time-controls {
  align-items: end;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(84px, 108px));
  justify-content: center;
}

.slot-time-controls > div > label {
  color: #20345a;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.slot-time-controls select {
  border: 1px solid #ccd3e0;
  border-radius: 8px;
  font-size: 0.96rem;
  min-height: 40px;
  padding: 7px 8px;
  width: 100%;
}

.flatpickr-calendar {
  border: 0;
  box-shadow: none;
}

.slot-schedule-card .flatpickr-input,
.slot-inline-calendar .flatpickr-input {
  display: none !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #0f5bdd;
  border-color: #0f5bdd;
}

.flatpickr-day.slot-fp-day--available:not(.selected) {
  background: #eefaf1;
  border-color: #d6eedf;
  color: #1f6b34;
}

.flatpickr-day.slot-fp-day--partial:not(.selected) {
  background: #fff7e4;
  border-color: #f2e1b4;
  color: #875f00;
}

.flatpickr-day.slot-fp-day--occupied:not(.selected) {
  background: #feecec;
  border-color: #f1caca;
  color: #9b3c3c;
  text-decoration: line-through;
}

.flatpickr-day.slot-fp-day--managed:not(.selected) {
  background: #f2f5ff;
  border-color: #dce4fb;
  color: #3a4f86;
}

.slot-legend--booking {
  margin-top: 10px;
}

.slot-time-help {
  color: #314d7d;
  font-size: 0.95rem;
  margin: 0 0 10px;
}

.slot-error--inline {
  margin: 10px 0 0;
}

.slot-repeat-card {
  background: #f8faff;
  border: 1px solid #d8e1f3;
  border-radius: 12px;
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 10px;
}

.slot-check-item--pill {
  max-width: 220px;
}

.slot-repeat-fields {
  display: grid;
  gap: 10px;
}

.slot-repeat-fields .slot-inline-grid {
  gap: 10px;
}

.slot-repeat-fields .slot-inline-grid > div {
  gap: 4px;
}

.slot-repeat-fields .slot-muted {
  margin: 0;
}

.slot-google-setup {
  background: #f7f9ff;
  border: 1px solid #d9e1f2;
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 12px;
}

.slot-google-setup p {
  margin: 0 0 8px;
}

.slot-google-setup ol {
  margin: 0 0 8px 18px;
  padding: 0;
}

.slot-google-setup li {
  margin-bottom: 6px;
}

.slot-google-setup code {
  background: #eef2fa;
  border-radius: 6px;
  padding: 2px 6px;
}

.slot-table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  overflow-y: visible;
  position: relative;
}

.slot-table-wrap--clients {
  overflow-x: auto;
}

.slot-table {
  border-collapse: collapse;
  width: 100%;
}

.slot-table--clients {
  table-layout: fixed;
}

.slot-table th,
.slot-table td {
  border-bottom: 1px solid #e6ebf5;
  font-size: 0.95rem;
  padding: 12px 10px;
  text-align: left;
  vertical-align: middle;
}

.slot-table td:last-child {
  white-space: nowrap;
}

.slot-table--clients .slot-col-client {
  width: 22%;
}

.slot-table--clients .slot-col-phone {
  width: 16%;
}

.slot-table--clients .slot-col-email {
  width: 28%;
  overflow-wrap: anywhere;
}

.slot-table--clients .slot-col-count {
  width: 8%;
  text-align: center;
}

.slot-table--clients .slot-col-last {
  width: 14%;
}

.slot-table--clients .slot-col-actions {
  width: 12%;
}

.slot-table--clients th.slot-col-count {
  text-align: center;
}

.slot-table--clients td.slot-col-actions {
  white-space: normal;
}

.slot-table td .slot-inline-actions {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-start;
}

.slot-table td .slot-inline-actions .slot-inline-action,
.slot-table td .slot-inline-actions form {
  align-items: center;
  display: inline-flex;
  margin: 0;
}

.slot-table td .slot-inline-actions .slot-mini-button {
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
}

.slot-table td .slot-inline-actions form {
  display: inline-flex;
  margin: 0;
}

.slot-table td .slot-inline-actions--compact {
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-start;
  width: auto;
}

.slot-action-more {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
}

.slot-action-more-toggle {
  align-items: center;
  background: #eef3ff;
  border: 1px solid #cfdbf6;
  color: #29457e;
  display: inline-flex;
  gap: 8px;
  min-width: 40px;
  padding: 0;
}

.slot-action-more-toggle:hover {
  background: #e4ecff;
  border-color: #bfd0f3;
}

.slot-action-more-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(63, 93, 224, 0.16);
  outline: none;
}

.slot-action-more-toggle__plus {
  align-items: center;
  background: linear-gradient(120deg, #2c57d2, #28a6a4);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  height: 18px;
  justify-content: center;
  line-height: 1;
  width: 18px;
}

.slot-action-more-toggle__label {
  display: none;
}

.slot-table td .slot-inline-actions .slot-icon-action {
  align-items: center;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 0;
  width: 40px;
}

.slot-table td .slot-inline-actions .slot-icon-action__icon {
  align-items: center;
  display: inline-flex;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.slot-table td .slot-inline-actions .slot-icon-action__icon svg {
  display: block;
  height: 100%;
  width: 100%;
}

.slot-table td .slot-inline-actions .slot-icon-action--whatsapp .slot-icon-action__icon {
  height: 20px;
  width: 20px;
}

.slot-table td .slot-inline-actions .slot-action-more {
  display: inline-flex;
  justify-items: start;
}

.slot-table td .slot-inline-actions .slot-action-more-menu {
  justify-items: start;
}

.slot-action-more.is-open .slot-action-more-toggle {
  background: #dde8ff;
  border-color: #acc1ec;
}

.slot-action-more-menu {
  background: #ffffff;
  border: 1px solid #d8e2f4;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(19, 34, 63, 0.2);
  display: none;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-top: 0;
  max-width: none;
  padding: 8px;
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  width: auto;
  z-index: 60;
}

.slot-action-more.is-open .slot-action-more-menu {
  display: inline-flex;
}

.slot-action-more-menu form,
.slot-action-more-menu .slot-inline-action {
  display: flex;
  justify-content: center;
  margin: 0;
  width: auto;
}

.slot-action-more-menu .slot-mini-button,
.slot-action-more-menu a.slot-mini-button {
  min-width: 40px;
  padding: 0;
  width: 40px;
}

.slot-table td.slot-table-actions-cell {
  min-width: 108px;
  white-space: nowrap;
  width: 1%;
}

@media (min-width: 1120px) {
  .slot-table th:last-child,
  .slot-table td:last-child {
    min-width: 120px;
  }
}

.slot-table th {
  color: #2a3d64;
  font-weight: 700;
}

.slot-row-focus {
  background: #eff6ff;
}

.slot-status {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
}

.slot-status--pending {
  background: #fff4d6;
  color: #8d6300;
}

.slot-status--confirmed {
  background: #e4f8eb;
  color: #1e6c38;
}

.slot-status--cancelled {
  background: #ffe8e8;
  color: #963434;
}

.slot-status--completed {
  background: #e8f0ff;
  color: #25539e;
}

.slot-status--payment-pending {
  background: #fff4d6;
  color: #8d6300;
}

.slot-status--payment-paid {
  background: #e4f8eb;
  color: #1e6c38;
}

.slot-status--payment-failed {
  background: #ffe8e8;
  color: #963434;
}

.slot-status--payment-refunded {
  background: #eef2fb;
  color: #3a4d78;
}

.slot-checkbox-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.slot-module-role-grid {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.slot-module-role-group {
  background: #f8fafd;
  border: 1px solid #d9e3f5;
  border-radius: 12px;
  margin: 0;
  padding: 12px;
}

.slot-module-role-group legend {
  color: #2a3d64;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0 6px;
}

.slot-module-role-group .slot-checkbox-grid {
  margin-top: 4px;
}

.slot-role-scope-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 6px;
}

.slot-role-scope-item {
  background: #f8fafd;
  border: 1px solid #d9e3f5;
  border-radius: 12px;
  padding: 12px;
}

.slot-role-scope-item label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.slot-role-scope-item select {
  width: 100%;
}

.slot-check-item {
  align-items: center;
  background: #f7f9fd;
  border: 1px solid #d9e3f5;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px 10px 42px;
  position: relative;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.slot-form-card label.slot-check-item,
.slot-provider-card label.slot-check-item,
.slot-inline-grid label.slot-check-item {
  display: flex;
  margin-bottom: 0;
}

.slot-check-item input[type="checkbox"] {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  inset: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  z-index: 3;
}

.slot-check-item span {
  color: #1f355e;
  display: block;
  font-weight: 600;
  line-height: 1.25;
  padding-right: 0;
  position: relative;
  width: 100%;
}

.slot-check-item span::after {
  align-items: center;
  background: #ffffff;
  border: 1px solid #b8c8e6;
  border-radius: 7px;
  color: transparent;
  content: "";
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 900;
  height: 18px;
  justify-content: center;
  left: -30px;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
}

.slot-check-item input[type="checkbox"]:checked + span::after {
  background: #3a46dd;
  border-color: #3a46dd;
  color: #ffffff;
  content: "\2713";
}

.slot-checkbox-grid .slot-check-item {
  align-items: flex-start;
  background: #ffffff;
  border: 1.5px solid #d6e0f4;
  border-radius: 14px;
  cursor: pointer;
  min-height: 94px;
  padding: 16px 18px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, background-color 0.16s ease;
}

.slot-checkbox-grid .slot-check-item:hover {
  border-color: #b9c8e8;
  box-shadow: 0 8px 16px rgba(33, 54, 96, 0.08);
  transform: translateY(-1px);
}

.slot-checkbox-grid .slot-check-item input[type="checkbox"] {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  inset: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  z-index: 3;
}

.slot-checkbox-grid .slot-check-item span {
  font-size: 1rem;
  font-weight: 700;
  padding-right: 44px;
}

.slot-checkbox-grid .slot-check-item span strong {
  color: #1f355e;
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.slot-checkbox-grid .slot-check-item span small {
  color: #5b6f94;
  display: block;
  font-size: 0.81rem;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 2px;
}

.slot-checkbox-grid .slot-check-item span::after {
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #ced8ec;
  border-radius: 999px;
  color: transparent;
  content: "";
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  left: auto;
  right: 2px;
  top: 2px;
  transform: none;
  width: 22px;
}

.slot-checkbox-grid .slot-check-item input[type="checkbox"]:checked + span::after {
  background: #0CC2BE;
  border-color: #0CC2BE;
  color: #ffffff;
  content: "\2713";
}

.slot-check-item:focus-within {
  border-color: #5e74df;
  box-shadow: 0 0 0 3px rgba(58, 70, 221, 0.16);
}

.slot-checkbox-grid .slot-check-item:has(input[type="checkbox"]:checked),
.slot-checkbox-grid .slot-check-item.is-checked {
  background: #faf9ff;
  border-color: #0CC2BE;
  box-shadow: 0 10px 20px rgba(44, 82, 194, 0.1), 0 0 0 2px rgba(12, 194, 190, 0.14);
}

.slot-checkbox-grid .slot-check-item:has(input[type="checkbox"]:checked) span,
.slot-checkbox-grid .slot-check-item.is-checked span {
  color: #2c37a5;
}

.slot-form-card .slot-check-item {
  margin-bottom: 0;
}

.slot-check-item.is-disabled {
  opacity: 0.55;
}

.slot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}

.slot-calendar-nav {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.slot-badge {
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
}

.slot-badge--available {
  background: #e4f8eb;
  color: #1e6c38;
}

.slot-badge--partial {
  background: #fff4d6;
  color: #8d6300;
}

.slot-badge--occupied {
  background: #ffe8e8;
  color: #963434;
}

.slot-badge--closed {
  background: #eef2fb;
  color: #3a4d78;
}

.slot-badge--managed {
  background: #edf2ff;
  color: #2f4b86;
}

.slot-days-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.slot-months {
  display: grid;
  gap: 16px;
}

.slot-month {
  background: #fbfdff;
  border: 1px solid #dfe7f6;
  border-radius: 14px;
  padding: 14px;
}

.slot-month h4 {
  color: #1d3156;
  font-size: 1rem;
  margin: 0 0 10px;
}

.slot-weekdays,
.slot-month-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.slot-weekdays {
  margin-bottom: 8px;
}

.slot-weekdays span {
  color: #5b6f96;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.slot-day {
  border: 1px solid #dfe7f6;
  border-radius: 12px;
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 8px;
}

button.slot-day {
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.slot-day strong {
  color: #1e3053;
  font-size: 0.95rem;
  text-align: center;
}

.slot-day small,
.slot-day span {
  color: #56698f;
  font-size: 0.72rem;
  text-align: center;
}

.slot-day--available {
  background: #f0fcf4;
}

.slot-day--partial {
  background: #fffaf0;
}

.slot-day--occupied {
  background: #fff3f3;
}

.slot-day--closed {
  background: #f5f7fb;
}

.slot-day--managed {
  background: #f2f5ff;
}

.slot-day--past {
  background: #f8f9fc;
  opacity: 0.65;
}

.slot-day--empty {
  background: transparent;
  border-color: transparent;
}

.slot-day--has-bookings {
  box-shadow: inset 0 0 0 1px rgba(32, 79, 173, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.slot-day--has-bookings:hover {
  box-shadow: 0 8px 20px rgba(25, 56, 114, 0.12);
  transform: translateY(-1px);
}

.slot-day-modal {
  inset: 0;
  position: fixed;
  z-index: 9999;
}

.slot-day-modal__overlay {
  background: rgba(11, 21, 44, 0.52);
  height: 100%;
  width: 100%;
}

.slot-day-modal__panel {
  background: #fff;
  border: 1px solid #dbe4f4;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(19, 34, 63, 0.25);
  left: 50%;
  max-height: min(80vh, 640px);
  max-width: 640px;
  overflow: auto;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
}

.slot-day-modal__head {
  align-items: center;
  border-bottom: 1px solid #e7edf8;
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
}

.slot-day-modal__head h4 {
  color: #1b2f53;
  margin: 0;
}

.slot-day-modal__close {
  background: transparent;
  border: 0;
  color: #3b4f77;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.slot-day-modal__body {
  padding: 14px;
}

.slot-day-modal__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px 0;
}

.slot-day-filter {
  background: #eef3ff;
  border: 1px solid #d5def1;
  border-radius: 999px;
  color: #234277;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  padding: 7px 10px;
}

.slot-day-filter.is-active {
  background: #1f5ad5;
  border-color: #1f5ad5;
  color: #fff;
}

.slot-day-modal__list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.slot-day-modal__list li {
  background: #f7faff;
  border: 1px solid #dce6f6;
  border-radius: 10px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
}

.slot-day-modal__meta {
  color: #5a6d94;
  font-size: 0.8rem;
  font-weight: 700;
}

.slot-day-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.slot-day-modal__actions form {
  margin: 0;
}

.slot-day-modal__actions .slot-assign-form {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.slot-day-modal__actions .slot-assign-form .slot-mini-select {
  min-width: 170px;
}

.slot-day-modal__actions .slot-mini-button {
  min-height: 32px;
}

body.slot-day-modal-open {
  overflow: hidden;
}

.slot-form-modal {
  inset: 0;
  position: fixed;
  z-index: 10000;
}

.slot-form-modal[hidden],
.slot-confirm-modal[hidden],
.slot-day-modal[hidden],
#slotConfirmModal[hidden],
#slotInfoModal[hidden],
#slotTourModal[hidden],
#slotWhatsAppSendModal[hidden] {
  display: none !important;
  pointer-events: none !important;
}

.slot-form-modal__overlay {
  background: rgba(10, 18, 35, 0.44);
  height: 100%;
  width: 100%;
}

.slot-form-modal__panel {
  background: #ffffff;
  border: 1px solid #dbe4f4;
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(19, 34, 63, 0.28);
  left: 50%;
  max-height: calc(100vh - 56px);
  max-width: 760px;
  overflow: auto;
  padding: 18px;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 24px);
}

.slot-form-modal__head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.slot-form-modal__head h3 {
  margin: 0;
}

.slot-form-modal__close {
  align-items: center;
  background: #edf2fc;
  border: 1px solid #d2dcf3;
  border-radius: 10px;
  color: #2d4a7f;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.2rem;
  height: 34px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}

.slot-form-modal__close:hover {
  background: #e1ebfb;
}

body.slot-form-modal-open {
  overflow: hidden;
}

.slot-confirm-modal {
  inset: 0;
  position: fixed;
  z-index: 10001;
}

.slot-confirm-modal__overlay {
  background: rgba(10, 18, 35, 0.56);
  height: 100%;
  width: 100%;
}

.slot-confirm-modal__panel {
  background: #fff;
  border: 1px solid #dbe4f4;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(19, 34, 63, 0.28);
  left: 50%;
  max-width: 460px;
  padding: 16px;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
}

.slot-confirm-modal__icon {
  align-items: center;
  animation: slot-icon-pulse 1.6s ease-in-out infinite;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  margin-bottom: 8px;
  width: 32px;
}

.slot-confirm-modal__icon--info {
  background: #e6f0ff;
  color: #2552a0;
}

.slot-confirm-modal__icon--warning {
  background: #fff2d8;
  color: #865f09;
}

.slot-confirm-modal__icon--success {
  background: #e7f7ec;
  color: #216c3a;
}

.slot-confirm-modal__icon--error {
  background: #ffe8e8;
  color: #922f2f;
}

@keyframes slot-icon-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 90, 166, 0.26);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(52, 90, 166, 0);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 90, 166, 0);
    transform: scale(1);
  }
}

.slot-confirm-modal__panel h4 {
  color: #1b2f53;
  margin: 0 0 8px;
}

.slot-confirm-modal__panel p {
  color: #334f7a;
  margin: 0 0 14px;
}

.slot-confirm-modal__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.slot-tour-modal__panel {
  left: auto;
  max-height: calc(100vh - 120px);
  max-width: 360px;
  overflow: auto;
  right: 16px;
  top: 92px;
  transform: none;
}

.slot-tour-modal__counter {
  color: #4a628f;
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.slot-tour-modal__actions {
  align-items: center;
}

.slot-tour-modal {
  pointer-events: none;
}

.slot-tour-modal .slot-confirm-modal__overlay {
  background: transparent;
  pointer-events: none;
}

.slot-tour-modal .slot-tour-modal__panel {
  pointer-events: auto;
}

.slot-tour-target {
  animation: slot-tour-highlight 1.4s ease-in-out infinite;
  outline: 2px solid #2f63d5;
  outline-offset: 4px;
  position: relative;
  z-index: 2;
}

@keyframes slot-tour-highlight {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 99, 213, 0.2);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(47, 99, 213, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 99, 213, 0);
  }
}

body.slot-confirm-open {
  overflow: hidden;
}

.slot-toast-host {
  display: grid;
  gap: 10px;
  pointer-events: none;
  position: fixed;
  right: 16px;
  top: 16px;
  width: min(360px, calc(100% - 24px));
  z-index: 10020;
}

.slot-toast {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8e2f4;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(18, 44, 89, 0.12);
  color: #203355;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr auto;
  opacity: 1;
  padding: 10px 12px;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.slot-toast.is-closing {
  opacity: 0;
  transform: translateY(-6px);
}

.slot-toast--success {
  border-left: 5px solid #2f9d58;
}

.slot-toast--warning {
  border-left: 5px solid #ffcc00;
}

.slot-toast--error {
  border-left: 5px solid #d34b4b;
}

.slot-toast__text {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.slot-toast__icon {
  align-items: center;
  animation: slot-icon-pulse 1.6s ease-in-out infinite;
  background: #edf2fc;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.slot-toast__close {
  background: #f1f5fd;
  border: 1px solid #d6e0f3;
  border-radius: 999px;
  color: #294372;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  height: 24px;
  line-height: 1;
  width: 24px;
}

.slot-integration-title {
  align-items: center;
  column-gap: 12px;
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto;
  row-gap: 8px;
}

.slot-integration-title img {
  flex: 0 0 auto;
}

.slot-integration-title span {
  flex: 1 1 auto;
}

.slot-badge--past {
  background: #eef1f7;
  color: #54627f;
}

.slot-badge--pending {
  background: #fff4d6;
  color: #8d6300;
}

.slot-badge--confirmed {
  background: #e4f8eb;
  color: #1e6c38;
}

.slot-badge--completed {
  background: #e8f0ff;
  color: #25539e;
}

.slot-badge--cancelled {
  background: #ffe8e8;
  color: #963434;
}

.slot-badge--total {
  background: #edf2fb;
  color: #3a4d78;
}

.slot-filter-form {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin: 14px 0 18px;
}

.slot-filter-form > div {
  align-content: start;
  display: grid;
  gap: 6px;
}

.slot-filter-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0;
}

.slot-filter-form input,
.slot-filter-form select {
  background: #ffffff;
  border: 1px solid #c6d5ef;
  border-radius: 20px;
  color: #1e3155;
  font-size: 1rem;
  line-height: 1.2;
  min-height: 44px;
  padding: 10px 16px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  width: 100%;
}

.slot-filter-form input::placeholder {
  color: #7c8fae;
}

.slot-filter-form input:focus,
.slot-filter-form select:focus {
  border-color: #4a69de;
  box-shadow: 0 0 0 3px rgba(74, 105, 222, 0.15);
  outline: none;
}

.slot-filter-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #4d638e 50%),
    linear-gradient(135deg, #4d638e 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-repeat: no-repeat;
  background-size: 7px 7px, 7px 7px;
  padding-right: 44px;
}

.slot-filter-form .slot-button {
  align-self: end;
  min-height: 44px;
}

.slot-filter-form--clients {
  grid-template-columns: minmax(0, 1fr) auto;
}

.slot-filter-form--clients .slot-filter-form__search {
  min-width: 0;
}

.slot-filter-form--clients .slot-filter-form__submit {
  align-items: end;
  display: flex;
}

.slot-filter-form--clients .slot-button {
  min-width: 132px;
}

.slot-filter-form--calendar {
  grid-template-columns: minmax(220px, 320px) auto;
  max-width: 560px;
}

.slot-logo-uploader {
  background: #f7f9fd;
  border: 1px dashed #c8d4ea;
  border-radius: 12px;
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 14px;
}

.slot-logo-uploader img {
  background: #fff;
  border: 1px solid #dce5f4;
  border-radius: 10px;
  max-height: 84px;
  max-width: 220px;
  object-fit: contain;
  padding: 6px;
}

.slot-payment-section {
  background: #f7f9fd;
  border: 1px solid #dde5f4;
  border-radius: 12px;
  display: grid;
  gap: 12px;
  margin: 8px auto 6px;
  max-width: 460px;
  padding: 14px;
  width: 100%;
}

.slot-booking-review {
  background: #f6f9ff;
  border: 1px solid #dce5f5;
  border-radius: 12px;
  display: grid;
  gap: 6px;
  margin: 0 auto 4px;
  max-width: 460px;
  padding: 12px;
  width: 100%;
}

.slot-booking-review p {
  margin: 0;
}

.slot-booking-review strong {
  color: #1d355f;
}

.slot-booking-review.is-pending {
  background: #f6f9ff;
  border-color: #dce5f5;
}

.slot-booking-review.is-complete {
  background: #edf9f1;
  border-color: #bfe4cb;
}

.slot-review-status {
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 4px;
  padding: 8px 10px;
}

.slot-review-status--pending {
  background: #fff6e8;
  color: #7b5d18;
}

.slot-review-status--ready {
  background: #e4f6ea;
  color: #1f6b34;
}

.slot-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.slot-button[disabled] {
  cursor: not-allowed;
  filter: grayscale(0.2);
  opacity: 0.6;
}

.slot-business-brand {
  align-items: center;
  background: #f6f9ff;
  border: 1px solid #e0e8f6;
  border-radius: 12px;
  display: inline-flex;
  gap: 10px;
  margin-bottom: 12px;
  padding: 8px 12px;
}

.slot-business-brand__logo {
  border-radius: 8px;
  display: block;
  height: 44px;
  object-fit: contain;
  width: 44px;
}

.slot-business-brand__name {
  color: #1e3157;
  font-size: 0.95rem;
  font-weight: 700;
}

.slot-booking-brand {
  display: flex;
  justify-content: center;
  margin: 0 0 10px;
}

.slot-booking-brand__logo {
  display: block;
  height: 118px;
  object-fit: contain;
  width: auto;
}

@media (max-width: 760px) {
  .slot-card {
    padding: 18px;
  }

  .slot-first-time-card {
    padding: 18px;
  }

  .slot-first-time-progress {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
  }

  .slot-first-time-progress__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .slot-first-time-progress__item {
    min-height: 40px;
    padding: 7px 8px;
  }

  .slot-first-time-progress__item small {
    font-size: 0.72rem;
  }

  .slot-first-time-form,
  .slot-first-time-welcome,
  .slot-first-time-google,
  .slot-first-time-finish {
    border-radius: 14px;
    padding: 14px;
  }

  .slot-first-time-step-list {
    grid-template-columns: 1fr;
  }

  .slot-first-time-actions {
    justify-content: stretch;
  }

  .slot-first-time-actions .slot-button,
  .slot-first-time-actions .slot-mini-button {
    min-width: 0;
    width: 100%;
  }

  .slot-onboarding-profile-grid {
    grid-template-columns: 1fr;
  }

  .slot-form-card form {
    gap: 12px;
  }

  .slot-form-step-title {
    font-size: 0.96rem;
    margin-top: 2px;
    padding-top: 10px;
  }

  .slot-form-step-title--help {
    align-items: flex-start;
    flex-direction: column;
  }

  .slot-booking-progress {
    justify-content: flex-start;
  }

  .slot-booking-progress__item {
    font-size: 0.72rem;
    padding: 5px 8px;
  }

  #slot_step_error {
    margin-bottom: 0;
  }

  .slot-booking-card {
    max-width: calc(100% - 12px);
    overflow-x: hidden;
    padding: 14px;
  }

  .slot-booking-card form {
    max-width: 100%;
    min-width: 0;
  }

  .slot-schedule-card {
    max-width: 100%;
    padding: 10px;
  }

  .slot-calendar-pane {
    width: 100%;
    justify-items: center;
  }

  .slot-inline-calendar {
    max-width: 100%;
    width: 100%;
  }

  .slot-inline-calendar .flatpickr-calendar.inline {
    margin: 0 auto;
    width: 100%;
  }

  .slot-inline-calendar .flatpickr-months .flatpickr-month {
    height: 40px;
  }

  .slot-inline-calendar .flatpickr-current-month {
    font-size: 1.1rem;
    padding-top: 4px;
  }

  .slot-inline-calendar .flatpickr-current-month .flatpickr-monthDropdown-months,
  .slot-inline-calendar .flatpickr-current-month input.cur-year {
    font-size: 1.1rem;
    font-weight: 700;
  }

  .slot-inline-calendar .flatpickr-weekday {
    font-size: 0.75rem;
    font-weight: 700;
    height: 28px;
    line-height: 28px;
  }

  .slot-inline-calendar .flatpickr-day {
    font-size: 0.94rem;
    height: 38px;
    line-height: 38px;
    margin: 1px 0;
    max-width: 38px;
    width: 38px;
  }

  .slot-inline-calendar .flatpickr-days,
  .slot-inline-calendar .dayContainer {
    max-width: 100%;
    width: 100%;
  }

  .slot-inline-calendar .dayContainer {
    justify-content: space-between;
  }

  .slot-schedule-summary {
    max-width: 100%;
    width: 100%;
  }

  .slot-payment-section {
    max-width: 100%;
  }

  .slot-grid--stats {
    grid-template-columns: 1fr;
  }

  .slot-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .slot-section-head .slot-copy-booking-link--agenda,
  .slot-section-head .slot-copy-booking-link--invite {
    align-self: flex-start;
    max-width: 100%;
    width: auto;
  }

  .slot-tour-modal__actions {
    flex-wrap: wrap;
  }

  .slot-tour-modal__panel {
    bottom: 10px;
    left: 10px;
    max-height: 48vh;
    max-width: none;
    right: 10px;
    top: auto;
  }

  .slot-toast-host {
    right: 10px;
    top: 10px;
    width: calc(100% - 20px);
  }

  .slot-stat-card {
    grid-template-columns: 70px 1fr;
    min-height: 104px;
  }
  .slot-time-controls {
    grid-template-columns: 1fr;
    max-width: 100%;
    justify-content: stretch;
  }

  .slot-time-controls > div > label {
    font-size: 0.78rem;
    margin-bottom: 4px;
  }

  .slot-legend--booking {
    justify-content: center;
  }

  .slot-legend--booking .slot-badge {
    font-size: 0.74rem;
    padding: 4px 8px;
  }

  .slot-booking-card .slot-button {
    justify-content: center;
    width: 100%;
  }

  .slot-auth-card {
    max-width: calc(100% - 12px);
    padding: 16px;
  }

  .slot-auth-card form {
    max-width: 100%;
  }

  .slot-password-field input {
    padding-right: 52px !important;
  }

  .slot-password-toggle {
    min-height: 34px;
    min-width: 40px;
    right: 6px;
    width: 40px;
  }

  .slot-password-toggle::after {
    font-size: 0.68rem;
  }

  .slot-step-actions {
    gap: 8px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e4ebf8;
    bottom: 6px;
    left: 0;
    padding: 8px 0 0;
    position: sticky;
    z-index: 5;
  }

  .slot-booking-review {
    padding: 10px;
  }

  .slot-booking-review p {
    font-size: 0.95rem;
  }

  .slot-review-status {
    font-size: 0.8rem;
    padding: 7px 8px;
  }

  .slot-booking-brand__logo {
    height: 88px;
  }

  .slot-help-trigger {
    font-size: 0.74rem;
    padding: 6px 10px;
  }

  .slot-inline-grid {
    grid-template-columns: 1fr;
  }

  .slot-integration-title {
    grid-template-columns: 1fr;
  }

  .slot-integration-title img {
    width: 170px;
  }

  .slot-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .slot-config-onboarding {
    align-items: flex-start;
    flex-direction: column;
  }

  .slot-config-progress__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .slot-config-next-step {
    align-items: flex-start;
    flex-direction: column;
  }

  .slot-config-card__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .slot-form-card input:not([type="checkbox"]):not([type="radio"]),
  .slot-form-card select,
  .slot-form-card textarea,
  .slot-form-card button {
    max-width: 100% !important;
    min-height: 48px;
    min-width: 0;
  }

  .slot-filter-form {
    align-items: stretch;
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .slot-filter-form .slot-button {
    width: 100%;
  }

  .slot-inline-actions {
    flex-wrap: wrap;
  }

  .slot-table td .slot-inline-actions,
  .slot-table td .slot-inline-actions--compact {
    justify-content: flex-end;
  }

  .slot-table-wrap,
  .slot-table-wrap--clients {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .slot-table {
    width: 100%;
  }

  .slot-table thead {
    display: none;
  }

  .slot-table,
  .slot-table tbody,
  .slot-table tr,
  .slot-table td {
    display: block;
    width: 100%;
  }

  .slot-table tbody {
    display: grid;
    gap: 10px;
  }

  .slot-table tbody tr {
    background: #ffffff;
    border: 1px solid #dbe5f7;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(21, 39, 76, 0.08);
    padding: 8px 12px;
  }

  .slot-table th,
  .slot-table td {
    border-bottom: 0;
  }

  .slot-table td {
    align-items: start;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(118px, 40%) minmax(0, 1fr);
    padding: 8px 0;
    white-space: normal;
  }

  .slot-table td::before {
    color: #47608f;
    content: attr(data-slot-label);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.25;
    padding-top: 2px;
    text-transform: uppercase;
  }

  .slot-table td > * {
    min-width: 0;
  }

  .slot-table td.slot-table-actions-cell {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    width: 100%;
  }

  .slot-table td.slot-table-actions-cell::before {
    color: #47608f;
    content: attr(data-slot-label);
    flex: 1 1 auto;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.25;
    text-align: left;
    text-transform: uppercase;
  }

  .slot-table td.slot-table-actions-cell .slot-inline-actions {
    flex-wrap: nowrap;
    justify-content: flex-end;
    margin-left: auto;
    width: auto;
  }

  .slot-table td.slot-table-actions-cell .slot-inline-actions--compact {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .slot-action-more-menu {
    max-width: min(92vw, 360px);
    min-width: 0;
    right: calc(100% + 8px);
    width: auto;
  }

  .slot-calendar-nav {
    flex-direction: column;
    gap: 8px;
  }

  .slot-wa-send-layout {
    grid-template-columns: 1fr;
  }

  .slot-wa-send-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .slot-wa-send-hero__right {
    align-self: flex-start;
  }

  .slot-wa-send-brand-logo {
    height: 24px;
    max-width: 132px;
  }

  .slot-wa-phone-mock__body {
    min-height: 220px;
  }

  .slot-wa-send-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .slot-form-modal__panel {
    border-radius: 14px;
    max-height: calc(100vh - 20px);
    padding: 14px;
    width: calc(100% - 10px);
  }
}




/* Professional UI pass: visual consistency + spacing rhythm */
:root {
  --slot-ui-radius-sm: 10px;
  --slot-ui-radius-md: 14px;
  --slot-ui-radius-lg: 18px;
  --slot-ui-border: #d8e3f4;
  --slot-ui-border-strong: #c6d5ef;
  --slot-ui-shadow-soft: 0 10px 24px rgba(18, 44, 89, 0.09);
  --slot-ui-shadow-card: 0 18px 40px rgba(17, 36, 72, 0.1);
}

.slot-card {
  border: 1px solid var(--slot-ui-border);
  border-radius: var(--slot-ui-radius-lg);
  box-shadow: var(--slot-ui-shadow-soft);
}

.slot-card h2 {
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.slot-card h3 {
  letter-spacing: -0.008em;
}

.slot-form-card form {
  gap: 14px;
}

.slot-form-card input:not([type="checkbox"]):not([type="radio"]),
.slot-form-card select,
.slot-form-card textarea,
.slot-provider-card input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.slot-provider-card select,
.slot-provider-card textarea,
.slot-inline-grid > div > input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.slot-inline-grid > div > select,
.slot-inline-grid > div > textarea {
  background: #ffffff;
  border: 1px solid var(--slot-ui-border-strong);
  border-radius: 20px;
  color: #1e3155;
  font-size: 1rem;
  line-height: 1.2;
  min-height: 52px;
  padding: 12px 18px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.slot-form-card input::placeholder,
.slot-form-card textarea::placeholder,
.slot-provider-card input::placeholder,
.slot-provider-card textarea::placeholder,
.slot-inline-grid > div > input::placeholder,
.slot-inline-grid > div > textarea::placeholder {
  color: #7c8fae;
}

.slot-form-card input:not([type="checkbox"]):not([type="radio"]):focus,
.slot-form-card select:focus,
.slot-form-card textarea:focus,
.slot-provider-card input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.slot-provider-card select:focus,
.slot-provider-card textarea:focus,
.slot-inline-grid > div > input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.slot-inline-grid > div > select:focus,
.slot-inline-grid > div > textarea:focus {
  border-color: #4a69de;
  box-shadow: 0 0 0 3px rgba(74, 105, 222, 0.15);
  outline: none;
}

.slot-form-card select,
.slot-provider-card select,
.slot-inline-grid > div > select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #4d638e 50%),
    linear-gradient(135deg, #4d638e 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-repeat: no-repeat;
  background-size: 7px 7px, 7px 7px;
  padding-right: 44px;
}

.slot-inline-actions {
  gap: 10px;
}

.slot-form-card .slot-inline-actions {
  margin-top: 12px;
}

.slot-form-card form > .slot-inline-actions {
  justify-content: flex-end;
}

.slot-button {
  align-items: center;
  border-radius: var(--slot-ui-radius-sm);
  box-shadow: 0 8px 18px rgba(31, 73, 165, 0.2);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  line-height: 1.15;
  min-height: 42px;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.slot-button__icon {
  align-items: center;
  display: inline-flex;
  height: 16px;
  justify-content: center;
  width: 16px;
}

.slot-button__icon svg {
  display: block;
  fill: currentColor;
  height: 100%;
  width: 100%;
}

.slot-button:hover {
  box-shadow: 0 12px 24px rgba(26, 63, 146, 0.24);
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.slot-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(74, 105, 222, 0.16), 0 10px 22px rgba(26, 63, 146, 0.2);
  outline: none;
}

.slot-mini-button {
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(34, 73, 157, 0.18);
  font-weight: 700;
  line-height: 1.15;
  min-height: 40px;
  padding: 0 16px;
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.slot-mini-button:hover {
  box-shadow: 0 10px 20px rgba(26, 62, 141, 0.22);
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.slot-mini-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(74, 105, 222, 0.16), 0 9px 18px rgba(26, 63, 146, 0.2);
  outline: none;
}

.slot-mini-button--ghost {
  border: 1px solid #d4def2;
  box-shadow: none;
}

.slot-table-wrap {
  border-radius: var(--slot-ui-radius-md);
}

.slot-table {
  border-spacing: 0;
}

.slot-table th {
  background: #f5f8ff;
  border-bottom: 1px solid #d9e3f5;
  color: #253b66;
  font-size: 0.87rem;
  font-weight: 800;
  letter-spacing: 0.008em;
  position: sticky;
  top: 0;
  z-index: 2;
}

.slot-table th,
.slot-table td {
  padding: 13px 12px;
}

.slot-table tbody tr {
  transition: background-color 0.15s ease;
}

.slot-table tbody tr:hover {
  background: #f8fbff;
}

.slot-status,
.slot-badge {
  border: 1px solid rgba(41, 72, 130, 0.1);
  font-weight: 800;
  letter-spacing: 0.008em;
}

.slot-form-modal__panel,
.slot-confirm-modal__panel {
  border: 1px solid var(--slot-ui-border);
  border-radius: var(--slot-ui-radius-lg);
  box-shadow: var(--slot-ui-shadow-card);
}

.slot-form-modal__head {
  border-bottom: 1px solid #e6edf9;
  margin-bottom: 14px;
  padding-bottom: 10px;
}

.slot-toast {
  border: 1px solid var(--slot-ui-border);
  border-radius: var(--slot-ui-radius-md);
  box-shadow: var(--slot-ui-shadow-soft);
}

@media (max-width: 1320px) {
  .slot-config-hub .slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .slot-config-hub .slot-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .slot-card {
    border-radius: var(--slot-ui-radius-md);
    padding: 16px;
  }

  .slot-table th {
    position: static;
  }

  .slot-button,
  .slot-mini-button {
    min-height: 44px;
  }
}

/* Mobile hardening pass */
@media (max-width: 980px) {
  .slot-card {
    max-width: 100%;
    width: 100%;
  }

  .slot-form-card form,
  .slot-auth-card form,
  .slot-booking-card form {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .slot-card {
    padding: 14px;
  }

  .slot-booking-card,
  .slot-auth-card,
  .slot-schedule-card,
  .slot-first-time-card {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: 100%;
  }

  .slot-booking-card {
    padding: 14px;
  }

  .slot-booking-card h2 {
    font-size: 1.78rem;
    line-height: 1.15;
  }

  .slot-booking-subtitle {
    font-size: 0.98rem;
    line-height: 1.4;
  }

  .slot-booking-progress {
    gap: 6px;
  }

  .slot-booking-progress__item {
    font-size: 0.7rem;
    padding: 5px 8px;
  }

  .slot-form-step-title {
    font-size: 1rem;
    margin-top: 0;
    padding-top: 10px;
  }

  .slot-inline-grid {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .slot-section-head {
    align-items: stretch;
    gap: 8px;
  }

  .slot-section-head .slot-inline-actions {
    justify-content: flex-end;
  }

  .slot-filter-form {
    gap: 10px;
    margin: 10px 0 14px;
  }

  .slot-filter-form--clients,
  .slot-filter-form--calendar {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .slot-filter-form .slot-button,
  .slot-filter-form--clients .slot-button {
    min-width: 0;
    width: 100%;
  }

  .slot-inline-calendar {
    max-width: 100%;
    width: 100%;
  }

  .slot-calendar-pane {
    justify-items: stretch;
    width: 100%;
  }

  .slot-inline-calendar .flatpickr-calendar.inline {
    width: 100%;
  }

  .slot-inline-calendar .flatpickr-day {
    height: 36px;
    line-height: 36px;
    max-width: 36px;
    width: 36px;
  }

  .slot-schedule-summary {
    max-width: 100%;
    width: 100%;
  }

  .slot-time-controls {
    gap: 8px;
    grid-template-columns: 1fr;
    justify-content: stretch;
    width: 100%;
  }

  .slot-time-controls select {
    min-height: 44px;
  }

  .slot-button,
  .slot-mini-button {
    min-height: 44px;
  }

  .slot-form-modal__panel,
  .slot-day-modal__panel,
  .slot-confirm-modal__panel {
    border-radius: 14px;
    left: 50%;
    max-height: calc(100dvh - 18px);
    max-width: none;
    padding: 14px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 14px);
  }

  .slot-tour-modal__panel {
    bottom: 10px;
    left: 10px;
    max-height: 52vh;
    right: 10px;
    top: auto;
    transform: none;
    width: auto;
  }

  .slot-wa-send-layout {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .slot-wa-template-list {
    max-height: 180px;
  }

  .slot-wa-phone-mock__body {
    max-height: 280px;
    min-height: 220px;
  }

  .slot-wa-send-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .slot-wa-send-actions .slot-button,
  .slot-wa-send-actions .slot-mini-button {
    width: 100%;
  }

  .slot-password-field input {
    padding-right: 52px !important;
  }

  .slot-password-toggle {
    border-radius: 10px;
    min-height: 36px;
    min-width: 40px;
    right: 6px;
    width: 40px;
  }

  .slot-password-toggle::after {
    display: none;
  }

  .slot-table td {
    grid-template-columns: minmax(104px, 42%) minmax(0, 1fr);
  }

  .slot-action-more-menu {
    left: auto;
    max-width: min(88vw, 340px);
    right: 0;
    top: calc(100% + 6px);
    transform: none;
  }

  /* Prevent accidental scroll lock on mobile if any stale body class remains. */
  body.slot-form-modal-open,
  body.slot-confirm-open,
  body.slot-day-modal-open {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
}

@media (max-width: 980px) {
  body.slot-form-modal-open,
  body.slot-confirm-open,
  body.slot-day-modal-open {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
}

@media (max-width: 520px) {
  .slot-card,
  .slot-booking-card,
  .slot-auth-card,
  .slot-first-time-card,
  .slot-schedule-card {
    border-radius: 12px;
    padding: 12px;
  }

  .slot-booking-brand__logo {
    height: 76px;
  }

  .slot-booking-progress__item {
    font-size: 0.68rem;
    padding: 5px 7px;
  }

  .slot-time-controls select,
  .slot-form-card input:not([type="checkbox"]):not([type="radio"]),
  .slot-form-card select,
  .slot-form-card textarea,
  .slot-provider-card input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  .slot-provider-card select,
  .slot-provider-card textarea {
    font-size: 0.96rem;
  }

  .slot-table td {
    gap: 6px;
    grid-template-columns: minmax(96px, 44%) minmax(0, 1fr);
    padding: 7px 0;
  }

  .slot-table td::before,
  .slot-table td.slot-table-actions-cell::before {
    font-size: 0.72rem;
  }

  .slot-table td .slot-inline-actions .slot-icon-action,
  .slot-action-more-menu .slot-mini-button,
  .slot-action-more-menu a.slot-mini-button {
    height: 38px;
    min-height: 38px;
    min-width: 38px;
    width: 38px;
  }
}

/* Mobile/UI stabilization pass */
.slot-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.slot-card select,
.slot-card textarea {
  background: #ffffff;
  border: 1px solid #c8d7f2;
  border-radius: 14px;
  color: #1c345d;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  line-height: 1.25;
  min-height: 52px;
  padding: 0 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  width: 100%;
}

.slot-card textarea {
  min-height: 124px;
  padding: 12px 16px;
}

.slot-card input[type="file"] {
  min-height: 48px;
  padding: 9px 12px;
}

.slot-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):focus,
.slot-card select:focus,
.slot-card textarea:focus {
  background: #ffffff;
  border-color: #3f66d8;
  box-shadow: 0 0 0 3px rgba(63, 102, 216, 0.14);
  outline: 0;
}

.slot-card .slot-inline-actions--toolbar {
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .slot-card {
    margin-bottom: 14px;
    padding: 16px;
  }

  .slot-section-head {
    align-items: stretch;
    gap: 10px;
  }

  .slot-section-head .slot-inline-actions,
  .slot-inline-actions--toolbar {
    justify-content: flex-end;
    width: 100%;
  }

  .slot-table-wrap,
  .slot-table-wrap--clients {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .slot-table {
    min-width: 0;
  }

  .slot-table thead {
    display: none;
  }

  .slot-table,
  .slot-table tbody,
  .slot-table tr,
  .slot-table td {
    display: block;
    width: 100%;
  }

  .slot-table tbody {
    display: grid;
    gap: 10px;
  }

  .slot-table tbody tr {
    background: #ffffff;
    border: 1px solid #d8e4f8;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(17, 36, 74, 0.08);
    margin: 0;
    padding: 10px 12px;
  }

  .slot-table td {
    align-items: start;
    border: 0;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(110px, 42%) minmax(0, 1fr);
    margin: 0;
    padding: 7px 0;
  }

  .slot-table td::before {
    color: #4a618e;
    content: attr(data-slot-label);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .slot-table td > * {
    min-width: 0;
  }

  .slot-table td.slot-table-actions-cell {
    grid-template-columns: 1fr;
    padding-top: 10px;
  }

  .slot-table td.slot-table-actions-cell::before {
    margin-bottom: 2px;
  }

  .slot-table td.slot-table-actions-cell .slot-inline-actions,
  .slot-table td.slot-table-actions-cell .slot-inline-actions--compact {
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
  }

  .slot-action-more-menu {
    left: 0;
    max-width: min(88vw, 340px);
    right: auto;
    top: calc(100% + 6px);
    transform: none;
  }
}

@media (max-width: 760px) {
  .slot-booking-card,
  .slot-auth-card,
  .slot-first-time-card,
  .slot-schedule-card {
    margin-left: auto;
    margin-right: auto;
    max-width: min(100%, 520px);
    width: 100%;
  }

  .slot-booking-card form,
  .slot-auth-card form {
    max-width: 100%;
    width: 100%;
  }

  .slot-filter-form,
  .slot-filter-form--clients,
  .slot-filter-form--calendar {
    grid-template-columns: 1fr;
  }

  .slot-filter-form .slot-button,
  .slot-filter-form--clients .slot-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .slot-card,
  .slot-booking-card,
  .slot-auth-card,
  .slot-first-time-card,
  .slot-schedule-card {
    border-radius: 12px;
    padding: 12px;
  }

  .slot-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
  .slot-card select,
  .slot-card textarea {
    font-size: 0.96rem;
    min-height: 48px;
  }

  .slot-table td {
    gap: 6px;
    grid-template-columns: minmax(96px, 44%) minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .slot-table td {
    overflow-wrap: break-word;
    white-space: normal;
    word-break: normal;
  }

  .slot-table td > * {
    overflow-wrap: break-word;
    word-break: normal;
  }
}

/* Mobile text polish */
@media (max-width: 980px) {
  .slot-card,
  .slot-booking-card,
  .slot-auth-card,
  .slot-first-time-card,
  .slot-schedule-card {
    font-size: 16px;
    line-height: 1.45;
  }

  .slot-card h2 {
    font-size: clamp(1.5rem, 5.4vw, 1.95rem);
    line-height: 1.16;
    margin-bottom: 12px;
  }

  .slot-card h3 {
    font-size: clamp(1.12rem, 4.4vw, 1.38rem);
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .slot-card p,
  .slot-card li,
  .slot-inline-help,
  .slot-booking-subtitle,
  .slot-auth-footer {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .slot-form-card label:not(.slot-check-item),
  .slot-provider-card label:not(.slot-check-item),
  .slot-inline-grid label:not(.slot-check-item) {
    font-size: 0.98rem;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .slot-form-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
  .slot-form-card select,
  .slot-form-card textarea,
  .slot-provider-card input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  .slot-provider-card select,
  .slot-provider-card textarea,
  .slot-inline-grid > div > input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  .slot-inline-grid > div > select,
  .slot-inline-grid > div > textarea {
    font-size: 1rem;
    line-height: 1.35;
  }

  .slot-button,
  .slot-mini-button {
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    text-align: center;
    vertical-align: middle;
  }

  .slot-button {
    min-height: 46px;
    padding: 10px 14px;
  }

  .slot-badge {
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  .slot-inline-actions {
    row-gap: 8px;
  }

  .slot-table td {
    gap: 8px;
    grid-template-columns: minmax(88px, 36%) minmax(0, 1fr);
  }

  .slot-table td::before,
  .slot-table td.slot-table-actions-cell::before {
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .slot-table td > * {
    max-width: 100%;
    min-width: 0;
  }

  .slot-table td[colspan] {
    display: block;
    grid-template-columns: 1fr;
  }

  .slot-table td[colspan]::before {
    content: none;
    display: none;
  }

  .slot-table td.slot-table-actions-cell .slot-inline-actions,
  .slot-table td.slot-table-actions-cell .slot-inline-actions--compact {
    justify-content: flex-start;
  }

  .slot-wa-send-hero__phone strong,
  .slot-wa-send-hero__help,
  .slot-wa-chat-body {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 520px) {
  .slot-card p,
  .slot-card li,
  .slot-inline-help,
  .slot-booking-subtitle,
  .slot-auth-footer {
    font-size: 0.95rem;
  }

  .slot-table td {
    gap: 6px;
    grid-template-columns: minmax(82px, 38%) minmax(0, 1fr);
  }
}

/* Mobile table stabilization: avoid vertical letter wrapping in card rows */
@media (max-width: 980px) {
  .slot-table,
  .slot-table tbody,
  .slot-table tbody tr,
  .slot-table td {
    max-width: 100%;
  }

  .slot-table tbody tr {
    overflow: hidden;
  }

  .slot-table td {
    align-items: flex-start;
    display: flex !important;
    gap: 10px;
    min-width: 0;
    overflow-wrap: break-word;
    padding: 8px 0;
    text-orientation: mixed;
    white-space: normal;
    width: 100%;
    word-break: normal;
    writing-mode: horizontal-tb;
  }

  .slot-table td::before {
    flex: 0 0 clamp(96px, 34vw, 128px);
    margin: 0;
    max-width: clamp(96px, 38vw, 136px);
    padding-top: 2px;
  }

  .slot-table td > * {
    flex: 1 1 auto;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    white-space: normal;
    word-break: normal;
    writing-mode: horizontal-tb;
  }

  .slot-table td > .slot-cell-value {
    display: block;
    line-height: 1.35;
    min-width: 0;
    width: 100%;
  }

  .slot-table td.slot-col-client,
  .slot-table td.slot-col-phone,
  .slot-table td.slot-col-last {
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .slot-table td.slot-col-email,
  .slot-table td.slot-col-email > * {
    overflow-wrap: anywhere;
  }

  .slot-table td[colspan] {
    display: block !important;
  }

  .slot-table td.slot-table-actions-cell {
    display: block !important;
    padding-top: 10px;
    width: 100%;
  }

  .slot-table td.slot-table-actions-cell::before {
    display: block;
    margin-bottom: 4px;
  }
}

@media (max-width: 520px) {
  .slot-table td {
    gap: 8px;
  }

  .slot-table td::before {
    flex-basis: 90px;
    max-width: 102px;
  }
}

/* Hard override for mobile clients list: never split value letter by letter */
@media (max-width: 980px) {
  .slot-table--clients td[class*="slot-col-"] {
    width: 100% !important;
  }

  .slot-table--clients td {
    display: block !important;
    padding: 8px 0 !important;
  }

  .slot-table--clients td::before {
    display: block !important;
    margin-bottom: 4px;
    max-width: none !important;
    width: 100% !important;
  }

  .slot-table--clients td.slot-col-client,
  .slot-table--clients td.slot-col-phone,
  .slot-table--clients td.slot-col-count,
  .slot-table--clients td.slot-col-last {
    overflow-wrap: normal !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
  }

  .slot-table--clients td.slot-col-client > .slot-cell-value,
  .slot-table--clients td.slot-col-phone > .slot-cell-value,
  .slot-table--clients td.slot-col-count > .slot-cell-value,
  .slot-table--clients td.slot-col-last > .slot-cell-value {
    display: block;
    direction: ltr;
    min-width: 0 !important;
    overflow: hidden;
    text-orientation: mixed !important;
    text-overflow: ellipsis;
    white-space: nowrap !important;
    width: 100%;
    word-break: normal !important;
    writing-mode: horizontal-tb !important;
  }

  .slot-table--clients td.slot-col-email,
  .slot-table--clients td.slot-col-email > .slot-cell-value {
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
}

/* Final mobile polish pass: toolbars, filters and table cards */
@media (max-width: 980px) {
  .slot-inline-actions--toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 10px;
    width: 100%;
  }

  .slot-inline-actions--toolbar > form {
    margin: 0;
  }

  .slot-inline-actions--toolbar .slot-button,
  .slot-inline-actions--toolbar .slot-mini-button {
    min-height: 42px;
  }

  .slot-filter-form--clients .slot-filter-form__search,
  .slot-filter-form--clients .slot-filter-form__submit {
    min-width: 0;
  }

  .slot-table tbody tr {
    border-radius: 14px;
    padding: 10px 12px;
  }

  .slot-table td::before {
    flex: 0 0 clamp(84px, 30vw, 116px);
    max-width: clamp(84px, 34vw, 124px);
  }
}

@media (max-width: 760px) {
  .slot-inline-actions--toolbar {
    justify-content: stretch;
  }

  .slot-inline-actions--toolbar .slot-button,
  .slot-inline-actions--toolbar .slot-mini-button,
  .slot-inline-actions--toolbar > form,
  .slot-inline-actions--toolbar > form .slot-button,
  .slot-inline-actions--toolbar > form .slot-mini-button {
    width: 100%;
  }

  .slot-filter-form--clients .slot-filter-form__submit,
  .slot-filter-form--clients .slot-filter-form__submit .slot-button {
    width: 100%;
  }

  .slot-card {
    padding: 14px 12px;
  }

  .slot-card h2 {
    font-size: clamp(1.42rem, 7vw, 1.9rem);
    line-height: 1.16;
  }

  .slot-card h3 {
    font-size: clamp(1.06rem, 5.3vw, 1.3rem);
    line-height: 1.22;
  }

  .slot-table tbody tr {
    border-radius: 12px;
    padding: 9px 10px;
  }

  .slot-table td {
    gap: 6px;
    padding: 6px 0;
  }

  .slot-table td::before {
    font-size: 0.7rem;
  }

  .slot-table td.slot-table-actions-cell .slot-inline-actions,
  .slot-table td.slot-table-actions-cell .slot-inline-actions--compact {
    justify-content: flex-start !important;
    margin-left: 0;
    width: 100%;
  }
}

/* Mobile agenda calendar refinement: prevent collapsed text in 7-column month view */
.slot-day-meta-compact {
  display: none;
}

@media (max-width: 980px) {
  .slot-calendar-nav {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .slot-calendar-nav .slot-link {
    font-size: 0.86rem;
    padding: 6px 10px;
  }

  .slot-legend {
    gap: 6px;
  }

  .slot-legend .slot-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  .slot-month {
    padding: 10px;
  }

  .slot-month h4 {
    font-size: 0.98rem;
    margin-bottom: 8px;
    text-transform: capitalize;
  }

  .slot-weekdays,
  .slot-month-grid {
    gap: 6px;
  }

  .slot-weekdays span {
    font-size: 0.66rem;
    letter-spacing: 0;
  }

  .slot-day {
    border-radius: 10px;
    gap: 2px;
    min-height: 72px;
    padding: 6px 4px;
  }

  .slot-day strong {
    font-size: 1.08rem;
    line-height: 1;
  }

  .slot-day span {
    display: none;
  }

  .slot-day small {
    font-size: 0.64rem;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .slot-day .slot-day-meta-full {
    display: none;
  }

  .slot-day .slot-day-meta-compact {
    display: inline;
    font-weight: 700;
  }

  .slot-day--empty {
    min-height: 72px;
    padding: 0;
  }
}

@media (max-width: 520px) {
  .slot-calendar-nav .slot-link {
    font-size: 0.8rem;
    padding: 5px 8px;
  }

  .slot-month {
    padding: 8px;
  }

  .slot-weekdays,
  .slot-month-grid {
    gap: 4px;
  }

  .slot-day {
    border-radius: 9px;
    min-height: 64px;
    padding: 5px 3px;
  }

  .slot-day strong {
    font-size: 1rem;
  }

  .slot-day small {
    font-size: 0.6rem;
  }

  .slot-weekdays span {
    font-size: 0.62rem;
  }
}

/* Final refinements: soporte modal + mobile booking/calendar/action stability */
.slot-support-modal__panel {
  max-width: 880px;
}

.slot-support-modal__body {
  background: #f7faff;
  border: 1px solid #d9e4f6;
  border-radius: 12px;
  min-height: 260px;
  padding: 10px;
}

.slot-support-modal__preview {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 240px;
}

.slot-support-modal__preview-image {
  border: 1px solid #d4dff3;
  border-radius: 10px;
  display: block;
  max-height: 72vh;
  max-width: 100%;
  object-fit: contain;
}

.slot-support-modal__preview-frame {
  border: 1px solid #d4dff3;
  border-radius: 10px;
  height: min(72vh, 640px);
  width: 100%;
}

.slot-support-modal__empty {
  align-items: center;
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 220px;
  text-align: center;
}

.slot-form-card input[type="file"] {
  background: #fff;
  border: 1px dashed #c4d4ef;
  border-radius: 12px;
  box-sizing: border-box;
  line-height: 52px;
  min-height: 52px;
  padding: 0 10px;
  width: 100%;
}

.slot-form-card input[type="file"]::file-selector-button {
  background: #eef3ff;
  border: 1px solid #c8d6f1;
  border-radius: 8px;
  color: #1f3f7d;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  margin-right: 10px;
  height: 36px;
  min-height: 36px;
  padding: 0 12px;
  line-height: 36px;
  margin-top: 8px;
  margin-bottom: 8px;
  transform: none;
  vertical-align: middle;
}

.slot-inline-calendar .flatpickr-current-month {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  left: 0;
  padding: 0 30px;
  right: 0;
  width: 100%;
}

.slot-inline-calendar .flatpickr-current-month .flatpickr-monthDropdown-months,
.slot-inline-calendar .flatpickr-current-month .numInputWrapper,
.slot-inline-calendar .flatpickr-current-month input.cur-year {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  height: auto;
  line-height: 1.1;
  margin: 0;
  min-height: 0;
  min-width: 0;
  padding: 0;
}

.slot-inline-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
  max-width: 7.4em;
  padding-right: 18px;
}

.slot-inline-calendar .flatpickr-current-month .numInputWrapper {
  width: 4.3em;
}

.slot-inline-calendar .flatpickr-current-month input.cur-year {
  width: 100%;
}

.slot-inline-calendar .flatpickr-current-month .numInputWrapper span.arrowUp,
.slot-inline-calendar .flatpickr-current-month .numInputWrapper span.arrowDown {
  display: none;
}

@media (max-width: 980px) {
  .slot-table td.slot-table-actions-cell .slot-inline-actions,
  .slot-table td.slot-table-actions-cell .slot-inline-actions--compact {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .slot-table td.slot-table-actions-cell .slot-inline-actions > *,
  .slot-table td.slot-table-actions-cell .slot-inline-actions--compact > * {
    flex: 0 0 auto;
  }

  .slot-table td .slot-mini-button,
  .slot-table td .slot-help-trigger,
  .slot-table td .slot-icon-action {
    display: inline-flex;
    overflow-wrap: normal !important;
    text-orientation: mixed !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    writing-mode: horizontal-tb !important;
  }

  .slot-month-grid {
    grid-template-columns: repeat(7, minmax(36px, 1fr));
  }

  .slot-day {
    min-height: 58px;
    padding: 5px 3px;
  }

  .slot-day span,
  .slot-day small {
    display: none !important;
  }

  .slot-day strong {
    font-size: 1rem;
    line-height: 1;
  }
}

@media (max-width: 760px) {
  .slot-inline-calendar .flatpickr-current-month {
    font-size: 1rem;
    gap: 6px;
    padding: 0 26px;
  }

  .slot-inline-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
    max-width: 6.6em;
  }

  .slot-inline-calendar .flatpickr-current-month .numInputWrapper {
    width: 3.9em;
  }

  .slot-support-modal__body {
    min-height: 210px;
  }

  .slot-support-modal__preview {
    min-height: 190px;
  }

  .slot-support-modal__preview-frame {
    height: 58vh;
  }
}

/* Mobile stabilization pass: booking calendar, payment proof and agenda actions */
.slot-file-upload {
  display: grid;
  gap: 8px;
}

.slot-file-upload__name {
  color: #53678f;
  font-size: 0.84rem;
  line-height: 1.3;
  margin: 0;
}

.slot-file-upload input[type="file"] {
  background: #fff;
  border: 1px dashed #c4d4ef;
  border-radius: 12px;
  box-sizing: border-box;
  line-height: 52px;
  min-height: 52px;
  padding: 0 10px;
  width: 100%;
}

.slot-file-upload input[type="file"]::file-selector-button {
  background: #eef3ff;
  border: 1px solid #c8d6f1;
  border-radius: 10px;
  color: #1f3f7d;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  margin-right: 10px;
  height: 36px;
  min-height: 36px;
  padding: 0 12px;
  line-height: 36px;
  margin-top: 8px;
  margin-bottom: 8px;
  transform: none;
  vertical-align: middle;
}

@media (max-width: 900px) {
  .slot-schedule-card {
    max-width: min(100%, 540px);
    padding: 14px 12px;
  }

  .slot-calendar-layout {
    gap: 10px;
  }

  .slot-inline-calendar {
    max-width: 100%;
    width: 100%;
  }

  .slot-inline-calendar .flatpickr-calendar.inline {
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
  }

  .slot-inline-calendar .flatpickr-months {
    height: 44px;
    position: relative;
  }

  .slot-inline-calendar .flatpickr-prev-month,
  .slot-inline-calendar .flatpickr-next-month {
    height: 30px;
    padding: 7px !important;
    top: 6px !important;
    width: 30px;
  }

  .slot-inline-calendar .flatpickr-current-month {
    align-items: center !important;
    display: flex !important;
    gap: 8px;
    justify-content: center !important;
    left: 0;
    line-height: 1.1 !important;
    padding: 0 34px !important;
    position: absolute;
    right: 0;
    top: 8px;
    width: auto !important;
  }

  .slot-inline-calendar .flatpickr-current-month .flatpickr-monthDropdown-months,
  .slot-inline-calendar .flatpickr-current-month .numInputWrapper,
  .slot-inline-calendar .flatpickr-current-month input.cur-year {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    height: auto !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
  }

  .slot-inline-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: 700 !important;
    max-width: 7.2em !important;
    padding-right: 14px !important;
    text-align: center;
  }

  .slot-inline-calendar .flatpickr-current-month .numInputWrapper {
    width: 4em !important;
  }

  .slot-inline-calendar .flatpickr-current-month input.cur-year {
    font-weight: 700 !important;
    text-align: left;
    width: 100% !important;
  }

  .slot-inline-calendar .flatpickr-current-month .numInputWrapper span.arrowUp,
  .slot-inline-calendar .flatpickr-current-month .numInputWrapper span.arrowDown {
    display: none !important;
  }

  .slot-time-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .slot-time-controls select {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .slot-booking-progress {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .slot-booking-progress__item {
    flex: 0 0 auto;
  }

  .slot-time-controls {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .slot-file-upload input[type="file"] {
    color: transparent;
    padding: 10px;
  }

  .slot-file-upload input[type="file"]::file-selector-button {
    display: block;
    margin: 0 0 8px;
    width: 100%;
  }

  .slot-table td.slot-table-actions-cell .slot-inline-actions,
  .slot-table td.slot-table-actions-cell .slot-inline-actions--compact {
    display: grid !important;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch !important;
    width: 100%;
  }

  .slot-table td.slot-table-actions-cell .slot-inline-actions > *,
  .slot-table td.slot-table-actions-cell .slot-inline-actions--compact > * {
    min-width: 0;
    width: 100%;
  }

  .slot-action-more {
    width: 100%;
  }

  .slot-action-more-toggle {
    justify-content: center;
    width: 100%;
  }

  .slot-action-more-menu {
    left: 0 !important;
    max-width: calc(100vw - 96px) !important;
    right: auto !important;
    top: calc(100% + 6px) !important;
    transform: none !important;
  }

  .slot-action-more-menu .slot-mini-button:not(.slot-icon-action),
  .slot-action-more-menu a.slot-mini-button:not(.slot-icon-action) {
    min-width: auto;
    padding: 0 10px;
    width: auto;
  }
}

@media (max-width: 900px) {
  .slot-month {
    padding: 8px !important;
  }

  .slot-weekdays span {
    font-size: 0.66rem !important;
  }

  .slot-month-grid {
    gap: 4px !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  }

  .slot-day {
    align-items: center;
    gap: 2px !important;
    justify-content: center;
    min-height: 54px !important;
    padding: 4px 2px !important;
    text-align: center;
  }

  .slot-day strong {
    font-size: 0.96rem !important;
    line-height: 1 !important;
  }

  .slot-day .slot-day-meta {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .slot-notification-template-test__actions {
    grid-template-columns: 1fr;
  }
}

/* Ajustes visuales onboarding paso 2 */
.slot-first-time-form .slot-inline-grid > div > select,
.slot-first-time-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.slot-first-time-form textarea {
  border-radius: 20px !important;
  min-height: 52px;
}

.slot-first-time-form input[type="file"] {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1.2;
}

.slot-first-time-form input[type="file"]::file-selector-button {
  height: 38px;
  min-height: 38px;
  margin-top: 0;
  margin-bottom: 0;
  align-self: center;
  vertical-align: middle;
}

.slot-first-time-form input[type="file"]::-webkit-file-upload-button {
  height: 38px;
  min-height: 38px;
  margin-top: 0;
  margin-bottom: 0;
  align-self: center;
  vertical-align: middle;
}

/* Ajuste fino onboarding paso 2 */
.slot-first-time-form #slot_onboarding_admin_country,
.slot-first-time-form #slot_onboarding_timezone,
.slot-first-time-form #slot_onboarding_admin_password,
.slot-first-time-form #slot_onboarding_admin_password_confirm {
  border-radius: 14px !important;
}

.slot-first-time-form #slot_onboarding_logo_file {
  border-radius: 14px !important;
  min-height: 56px;
  height: 56px;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  line-height: normal !important;
  box-sizing: border-box;
}

.slot-first-time-form #slot_onboarding_logo_file::file-selector-button {
  height: 38px;
  min-height: 38px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  vertical-align: middle;
}

.slot-first-time-form #slot_onboarding_logo_file::-webkit-file-upload-button {
  height: 38px;
  min-height: 38px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  vertical-align: middle;
}

/* Ajuste visual formulario publico iniciar-prueba-gratis */
.kalendia-form-card label {
  font-size: 17px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

.kalendia-form-card input[type="text"],
.kalendia-form-card input[type="email"],
.kalendia-form-card input[type="tel"],
.kalendia-form-card input[type="url"],
.kalendia-form-card input[type="password"],
.kalendia-form-card textarea,
.kalendia-form-card select {
  font-size: 17px !important;
  line-height: 1.3 !important;
  min-height: 60px !important;
  padding: 14px 20px !important;
  border-radius: 14px !important;
  box-sizing: border-box;
}

.kalendia-form-card input::placeholder,
.kalendia-form-card textarea::placeholder {
  font-size: 17px !important;
  line-height: 1.3 !important;
}

.kalendia-form-card input[type="text"],
.kalendia-form-card input[type="email"] {
  height: 60px !important;
  min-height: 60px !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
}

.kalendia-form-card input[type="text"]::placeholder,
.kalendia-form-card input[type="email"]::placeholder {
  line-height: normal !important;
}


@media (max-width: 767px) {
  .kalendia-form-card label {
    font-size: 16px !important;
  }

  .kalendia-form-card input[type="text"],
  .kalendia-form-card input[type="email"],
  .kalendia-form-card input[type="tel"],
  .kalendia-form-card input[type="url"],
  .kalendia-form-card input[type="password"],
  .kalendia-form-card textarea,
  .kalendia-form-card select {
    font-size: 16px !important;
    min-height: 56px !important;
    padding: 13px 18px !important;
  }

  .kalendia-form-card input[type="text"],
  .kalendia-form-card input[type="email"] {
    height: 56px !important;
    min-height: 56px !important;
  }

  .kalendia-form-card input::placeholder,
  .kalendia-form-card textarea::placeholder {
    font-size: 16px !important;
  }
}





/* FIX REAL: evitar que grid estire los campos y cause diferencia visual */
.kalendia-form-card .kalendia-grid {
  align-items: start !important;
}

.kalendia-form-card .kalendia-field {
  display: flex !important;
  flex-direction: column !important;
}

.kalendia-form-card .kalendia-field input {
  flex: none !important;
}


/* Correccion quirurgica real: centrar visualmente el texto del campo email publico */
.kalendia-form-card .kalendia-form input[name="email"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  font-family: inherit !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  height: 20px !important;
  min-height: 20px !important;
  padding: 20px 20px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.kalendia-form-card .kalendia-form input[name="email"]::placeholder {
  font-family: inherit !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
}

@media (max-width: 767px) {
  .kalendia-form-card .kalendia-form input[name="email"] {
    font-size: 16px !important;
    height: 18px !important;
    min-height: 18px !important;
    padding: 19px 18px !important;
  }

  .kalendia-form-card .kalendia-form input[name="email"]::placeholder {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }
}


/* Ajustes finos finales: labels, ayuda bajo negocio y texto del boton del formulario publico */
.kalendia-form-card .kalendia-field > label {
  padding-left: 16px !important;
  padding-top: 10px !important;
  padding-bottom: 5px !important;
}

.kalendia-form-card .kalendia-field small {
  display: block !important;
  margin-top: 6px !important;
  color: rgba(2, 10, 53, 0.62) !important;
  padding-left: 16px !important;
  padding-bottom: 30px !important;
}

.kalendia-form-card .kalendia-btn {
  font-weight: 400 !important;
  font-size: 14pt !important;
}

@media (max-width: 767px) {
  .kalendia-form-card .kalendia-field > label {
    padding-left: 14px !important;
    padding-top: 8px !important;
    padding-bottom: 4px !important;
  }

  .kalendia-form-card .kalendia-field small {
    padding-left: 14px !important;
    padding-bottom: 22px !important;
  }

  .kalendia-form-card .kalendia-btn {
    font-size: 13pt !important;
  }
}


/* Logo del formulario publico por fuera de la caja */
.kalendia-form-wrap {
  position: relative;
  padding-top: 84px !important;
}

.kalendia-form-card {
  position: relative;
  overflow: visible !important;
}

.kalendia-form-card .kalendia-logo {
  position: absolute;
  top: -92px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 !important;
  z-index: 3;
}

@media (max-width: 767px) {
  .kalendia-form-wrap {
    padding-top: 68px !important;
  }

  .kalendia-form-card .kalendia-logo {
    top: -74px;
  }
}


@media (min-width: 768px) {
  .slot-first-time-intro-desktop {
    max-width: 600px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Weekly step 5: toolbar and weekly grid */
.slot-calendar-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px;
}

.slot-calendar-nav__views,
.slot-calendar-nav__range {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.slot-calendar-nav .slot-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.slot-calendar-nav .slot-link.is-active {
  padding: 8px 14px;
  border-radius: 999px;
  background: #3157d6;
  color: #ffffff;
}

.slot-week {
  border: 1px solid #dbe4f0;
  border-radius: 24px;
  padding: 20px;
  background: #ffffff;
}

.slot-week__title {
  font-size: 20px;
  font-weight: 700;
  color: #1e2f5d;
  margin: 0 0 18px;
}

.slot-week__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
}

.slot-week-day {
  border: 1px solid #dbe4f0;
  border-radius: 20px;
  background: #f8fbff;
  min-width: 0;
  overflow: hidden;
}

.slot-week-day--today {
  border-color: #3157d6;
  box-shadow: 0 0 0 2px rgba(49, 87, 214, 0.10);
}

.slot-week-day__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid #e6edf6;
  background: #ffffff;
  cursor: pointer;
}

.slot-week-day__head strong {
  font-size: 16px;
  color: #1e2f5d;
  line-height: 1.1;
}

.slot-week-day__head span {
  font-size: 14px;
  color: #5c6f91;
  line-height: 1.1;
}

.slot-week-day__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  min-height: 180px;
}

.slot-week-empty {
  font-size: 14px;
  color: #7c8ba5;
  padding: 12px;
  border: 1px dashed #d7e1ee;
  border-radius: 14px;
  background: #ffffff;
}

.slot-week-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid #dbe4f0;
  background: #ffffff;
  cursor: pointer;
}

.slot-week-card strong {
  font-size: 14px;
  line-height: 1.1;
  color: #1e2f5d;
}

.slot-week-card span {
  font-size: 15px;
  line-height: 1.2;
  color: #21345f;
}

.slot-week-card small {
  font-size: 13px;
  line-height: 1.2;
  color: #617392;
}

.slot-week-card--pending {
  background: #fff8e8;
  border-color: #ead8a2;
}

.slot-week-card--confirmed {
  background: #edf9f1;
  border-color: #b9dfc4;
}

.slot-week-card--completed {
  background: #eef4ff;
  border-color: #c7d6f6;
}

.slot-week-card--cancelled {
  background: #fff0f0;
  border-color: #efc2c2;
}

@media (max-width: 1100px) {
  .slot-week {
    overflow-x: auto;
  }

  .slot-week__grid {
    min-width: 980px;
  }
}

@media (max-width: 768px) {
  .slot-calendar-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .slot-calendar-nav__views,
  .slot-calendar-nav__range {
    width: 100%;
  }

  .slot-week {
    padding: 14px;
    border-radius: 18px;
  }

  .slot-week__title {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .slot-week__grid {
    gap: 12px;
  }

  .slot-week-day {
    border-radius: 16px;
  }

  .slot-week-day__head,
  .slot-week-day__body {
    padding: 12px;
  }
}

/* Weekly step 6: hourly timeline */
.slot-week-timeline {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.slot-week-hours {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 64px;
}

.slot-week-hours__label {
  height: 72px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 6px 10px 0 0;
  font-size: 12px;
  color: #6b7c99;
  border-top: 1px solid #e6edf6;
}

.slot-week-timeline__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.slot-week-timeline-day {
  border: 1px solid #dbe4f0;
  border-radius: 20px;
  background: #f8fbff;
  overflow: hidden;
  min-width: 0;
}

.slot-week-timeline-day--today {
  border-color: #3157d6;
  box-shadow: 0 0 0 2px rgba(49, 87, 214, 0.10);
}

.slot-week-timeline-day__body {
  display: flex;
  flex-direction: column;
}

.slot-week-slot {
  min-height: 72px;
  padding: 8px 10px;
  border-top: 1px solid #e6edf6;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
}

.slot-week-slot__empty {
  min-height: 48px;
}

.slot-week-card {
  min-height: 52px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

@media (max-width: 1100px) {
  .slot-week-timeline {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .slot-week-timeline__grid {
    min-width: 980px;
  }
}

@media (max-width: 768px) {
  .slot-week-timeline {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .slot-week-hours {
    padding-top: 56px;
  }

  .slot-week-hours__label {
    padding-right: 6px;
    font-size: 11px;
  }
}

/* Weekly compact fix */
.slot-week-hours__label {
  height: 52px;
  padding-top: 4px;
  font-size: 11px;
}

.slot-week-slot {
  min-height: 52px;
  padding: 4px 8px;
}

.slot-week-slot__empty {
  min-height: 24px;
}

.slot-week-card {
  min-height: 40px;
  padding: 8px 10px;
}

.slot-week-card strong {
  font-size: 12px;
}

.slot-week-card span {
  font-size: 13px;
  line-height: 1.15;
}

.slot-week-card small {
  font-size: 11px;
  line-height: 1.15;
}

/* Weekly alignment fix: cards must not push later rows */
.slot-week-slot {
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  overflow: hidden;
}

.slot-week-card {
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.slot-week-card strong {
  display: block;
  line-height: 1.05;
  margin-bottom: 2px;
}

.slot-week-card span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-week-card small {
  display: none;
}

/* Weekly layout refinement: sin medianiles, más ancho útil */
.slot-week-timeline {
  gap: 0;
}

.slot-week-timeline__grid {
  gap: 0;
  border: 1px solid #dbe4f0;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
}

.slot-week-hours {
  width: 88px;
  min-width: 88px;
  padding-right: 0;
  border-right: 1px solid #dbe4f0;
  background: #ffffff;
}

.slot-week-hours__label {
  height: 58px;
  min-height: 58px;
  max-height: 58px;
  padding: 6px 10px 0 0;
  text-align: right;
  font-size: 11px;
  line-height: 1;
  border-bottom: 1px solid #e8eef6;
}

.slot-week-timeline-day {
  border-right: 1px solid #dbe4f0;
  background: #ffffff;
}

.slot-week-timeline-day:last-child {
  border-right: none;
}

.slot-week-day__head {
  border-radius: 0;
  border-bottom: 1px solid #dbe4f0;
  min-height: 62px;
}

.slot-week-timeline-day:first-child .slot-week-day__head {
  border-top-left-radius: 18px;
}

.slot-week-timeline-day:last-child .slot-week-day__head {
  border-top-right-radius: 18px;
}

.slot-week-slot {
  height: 58px;
  min-height: 58px;
  max-height: 58px;
  padding: 6px 8px;
  border-bottom: 1px solid #e8eef6;
}

.slot-week-timeline-day:last-child .slot-week-slot:last-child,
.slot-week-slot:last-child {
  border-bottom: none;
}

.slot-week-card {
  height: 50px;
  min-height: 50px;
  max-height: 50px;
  border-radius: 14px;
  padding: 6px 8px;
  gap: 1px;
}

.slot-week-card strong {
  font-size: 11px;
  line-height: 1.05;
  margin-bottom: 0;
}

.slot-week-card span {
  font-size: 14px;
  line-height: 1.05;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-week-card small {
  display: block;
  font-size: 11px;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-week-empty {
  font-size: 12px;
  border: none;
  background: transparent;
  padding: 0;
}

/* Weekly visual polish */
.slot-week-timeline {
  gap: 0 !important;
  align-items: stretch;
}

.slot-week-hours {
  margin-right: 0 !important;
  border-right: 1px solid #dbe4f0;
}

.slot-week-timeline__grid {
  margin-left: 0 !important;
}

.slot-week-timeline-day,
.slot-week-hours {
  border-radius: 0 !important;
}

.slot-week-day__head {
  border-radius: 0 !important;
  min-height: 64px;
  padding: 10px 10px 8px;
}

.slot-week-timeline-day--today {
  box-shadow: inset 0 0 0 1px #3157d6;
  border-radius: 0 !important;
}

.slot-week-slot {
  padding: 0 !important;
  height: 58px;
  min-height: 58px;
  max-height: 58px;
}

.slot-week-card {
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  min-height: 54px;
  max-height: 54px;
  margin: 2px;
  border-radius: 12px;
  padding: 6px 8px;
  box-sizing: border-box;
}

.slot-week-hours__label {
  height: 58px;
  min-height: 58px;
  max-height: 58px;
}

.slot-week-timeline-day__body {
  gap: 0 !important;
}

.slot-week-empty,
.slot-week-slot__empty {
  border-radius: 0 !important;
  margin: 0 !important;
}

/* Weekly final polish: líneas uniformes, sin medianiles, colores intensos */
.slot-week {
  border: 1px solid #d6deea;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
}

.slot-week__title {
  padding: 18px 18px 14px;
  margin: 0;
}

.slot-week-timeline {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0 !important;
  align-items: stretch;
}

.slot-week-hours {
  display: flex;
  flex-direction: column;
  gap: 0 !important;
  padding-top: 64px;
  margin: 0 !important;
  border-right: 1px solid #d6deea;
  background: #ffffff;
}

.slot-week-hours__label {
  height: 58px;
  min-height: 58px;
  max-height: 58px;
  margin: 0;
  padding: 6px 10px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: right;
  font-size: 11px;
  color: #6b7c99;
  border-top: 1px solid #e5ebf4;
  background: #ffffff;
  box-sizing: border-box;
}

.slot-week-timeline__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0 !important;
  min-width: 0;
  margin: 0 !important;
  background: #ffffff;
}

.slot-week-timeline-day {
  min-width: 0;
  background: #ffffff;
  border-right: 1px solid #d6deea;
  border-radius: 0 !important;
  overflow: hidden;
}

.slot-week-timeline-day:last-child {
  border-right: none;
}

.slot-week-day__head {
  min-height: 64px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid #d6deea;
  border-radius: 0 !important;
  background: #ffffff;
}

.slot-week-day__head strong {
  font-size: 15px;
  color: #15305f;
}

.slot-week-day__head span {
  font-size: 11px;
  color: #6b7c99;
}

.slot-week-timeline-day--today {
  box-shadow: inset 0 0 0 1px #3157d6;
  border-radius: 0 !important;
}

.slot-week-timeline-day__body {
  display: flex;
  flex-direction: column;
  gap: 0 !important;
  background: #ffffff;
}

.slot-week-slot {
  height: 58px;
  min-height: 58px;
  max-height: 58px;
  padding: 0 !important;
  margin: 0 !important;
  border-top: 1px solid #e5ebf4;
  box-sizing: border-box;
  overflow: hidden;
  background: #ffffff;
}

.slot-week-slot__empty,
.slot-week-empty {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.slot-week-card {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  margin: 0 !important;
  padding: 7px 8px;
  border: none !important;
  border-radius: 10px;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1px;
  box-sizing: border-box;
  color: #ffffff;
}

.slot-week-card strong,
.slot-week-card span,
.slot-week-card small {
  color: #ffffff !important;
}

.slot-week-card strong {
  font-size: 11px;
  line-height: 1.05;
  font-weight: 700;
}

.slot-week-card span {
  font-size: 13px;
  line-height: 1.05;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-week-card small {
  display: block !important;
  font-size: 10px;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.96;
}

/* Colores intensos para weekly */
.slot-week-card--pending {
  background: #d98a1f !important;
}

.slot-week-card--confirmed {
  background: #1f9d55 !important;
}

.slot-week-card--completed {
  background: #2563eb !important;
}

.slot-week-card--cancelled {
  background: #dc2626 !important;
}

/* Ajuste de badges/estados generales para look más moderno */
.slot-badge--pending {
  background: #fff2df !important;
  border-color: #efc37e !important;
  color: #a35f00 !important;
}

.slot-badge--confirmed {
  background: #e7f7ec !important;
  border-color: #97d6ae !important;
  color: #157347 !important;
}

.slot-badge--completed {
  background: #e8f0ff !important;
  border-color: #9db8ff !important;
  color: #1f56d8 !important;
}

.slot-badge--cancelled {
  background: #fdeaea !important;
  border-color: #efaaaa !important;
  color: #b42318 !important;
}

/* Estados mensuales más vivos sin perder lectura */
.slot-day--partial,
.slot-badge--partial {
  background: #fff3e2 !important;
  border-color: #efc07c !important;
  color: #a15d00 !important;
}

.slot-day--available,
.slot-badge--available {
  background: #eaf8ef !important;
  border-color: #9fd8b0 !important;
  color: #157347 !important;
}

.slot-day--occupied,
.slot-badge--occupied {
  background: #fdecec !important;
  border-color: #efb3b3 !important;
  color: #b42318 !important;
}

.slot-day--managed,
.slot-badge--managed {
  background: #ebf1ff !important;
  border-color: #aac0f7 !important;
  color: #234ea5 !important;
}

/* Weekly + monthly visual unification */
.slot-week {
  padding: 0 !important;
  border: 1px solid #d6deea !important;
  border-radius: 24px !important;
  overflow: hidden;
  background: #ffffff;
}

.slot-week__title {
  margin: 0 !important;
  padding: 18px 18px 14px !important;
  background: #ffffff;
}

.slot-week-timeline {
  grid-template-columns: 78px minmax(0, 1fr) !important;
  gap: 0 !important;
  align-items: stretch !important;
}

.slot-week-hours {
  gap: 0 !important;
  margin: 0 !important;
  padding-top: 64px !important;
  border-right: 1px solid #d6deea !important;
  background: #ffffff !important;
}

.slot-week-hours__label {
  border-top: 1px solid #e5ebf4 !important;
  border-right: none !important;
  background: #ffffff !important;
}

.slot-week-timeline__grid {
  gap: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
}

.slot-week-timeline-day {
  position: relative;
  min-width: 0;
  border-left: 1px solid #d6deea !important;
  border-right: none !important;
  border-radius: 0 !important;
  background: #ffffff !important;
}

.slot-week-timeline-day:first-child {
  border-left: none !important;
}

.slot-week-day__head {
  border-bottom: 1px solid #d6deea !important;
  border-radius: 0 !important;
  background: #ffffff !important;
}

.slot-week-timeline-day--today {
  box-shadow: inset 2px 0 0 #3157d6, inset -2px 0 0 #3157d6 !important;
  border-radius: 0 !important;
  z-index: 1;
}

.slot-week-slot {
  border-top: 1px solid #e5ebf4 !important;
  border-right: none !important;
  border-left: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
}

.slot-week-card {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  border-radius: 8px !important;
  padding: 6px 7px !important;
}

/* Colores planos intensos en weekly */
.slot-week-card--pending {
  background: #d9822b !important;
}
.slot-week-card--confirmed {
  background: #16a34a !important;
}
.slot-week-card--completed {
  background: #2563eb !important;
}
.slot-week-card--cancelled {
  background: #dc2626 !important;
}
.slot-week-card strong,
.slot-week-card span,
.slot-week-card small {
  color: #ffffff !important;
}

/* Leyendas con color fuerte y texto blanco */
.slot-legend .slot-badge--available,
.slot-legend .slot-badge--confirmed {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
}

.slot-legend .slot-badge--partial,
.slot-legend .slot-badge--pending {
  background: #d9822b !important;
  border-color: #d9822b !important;
  color: #ffffff !important;
}

.slot-legend .slot-badge--occupied,
.slot-legend .slot-badge--cancelled {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
}

.slot-legend .slot-badge--managed,
.slot-legend .slot-badge--completed {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

.slot-legend .slot-badge--closed,
.slot-legend .slot-badge--past,
.slot-legend .slot-badge--total {
  background: #64748b !important;
  border-color: #64748b !important;
  color: #ffffff !important;
}

/* Vista mensual: colores vivos con texto blanco */
.slot-day--available {
  background: #16a34a !important;
  border-color: #16a34a !important;
}
.slot-day--partial {
  background: #d9822b !important;
  border-color: #d9822b !important;
}
.slot-day--occupied {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
}
.slot-day--managed {
  background: #2563eb !important;
  border-color: #2563eb !important;
}
.slot-day--closed {
  background: #64748b !important;
  border-color: #64748b !important;
}
.slot-day--past {
  background: #94a3b8 !important;
  border-color: #94a3b8 !important;
}

.slot-day--available strong,
.slot-day--available span,
.slot-day--available small,
.slot-day--partial strong,
.slot-day--partial span,
.slot-day--partial small,
.slot-day--occupied strong,
.slot-day--occupied span,
.slot-day--occupied small,
.slot-day--managed strong,
.slot-day--managed span,
.slot-day--managed small,
.slot-day--closed strong,
.slot-day--closed span,
.slot-day--closed small,
.slot-day--past strong,
.slot-day--past span,
.slot-day--past small {
  color: #ffffff !important;
}

.slot-day--has-bookings.slot-day--available,
.slot-day--has-bookings.slot-day--partial,
.slot-day--has-bookings.slot-day--occupied,
.slot-day--has-bookings.slot-day--managed,
.slot-day--has-bookings.slot-day--closed,
.slot-day--has-bookings.slot-day--past {
  box-shadow: none !important;
}

/* Legend below calendar */
.slot-legend--calendar-bottom {
  margin-top: 25px !important;
}

/* Weekly hour column polish */
.slot-week-timeline {
  grid-template-columns: 86px minmax(0, 1fr) !important;
}

.slot-week-hours {
  padding-top: 65px !important;
  background: #ffffff !important;
}

.slot-week-hours__label {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 0 8px !important;
  line-height: 1 !important;
  font-size: 11px !important;
  color: #7283a0 !important;
}

/* Weekly duration layout */
.slot-week-timeline-day__body--stacked {
  position: relative;
  display: block !important;
  height: 870px; /* 15 bloques x 58px */
  min-height: 870px;
  max-height: 870px;
  background: #ffffff;
}

.slot-week-cards-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.slot-week-cards-layer .slot-week-card {
  position: absolute;
  left: 0;
  right: 0;
  width: 100% !important;
  margin: 0 !important;
  pointer-events: auto;
  border-radius: 8px !important;
  padding: 6px 7px !important;
  box-sizing: border-box;
  overflow: hidden;
}

.slot-week-timeline-day__body--stacked .slot-week-slot {
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
}

.slot-week-cards-layer .slot-week-card strong,
.slot-week-cards-layer .slot-week-card span,
.slot-week-cards-layer .slot-week-card small {
  color: #ffffff !important;
}

.slot-week-cards-layer .slot-week-card span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-week-cards-layer .slot-week-card small {
  display: block !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .slot-week-timeline-day__body--stacked {
    height: 870px;
    min-height: 870px;
  }
}

/* Weekly duration fix: respect inline top/height */
.slot-week-cards-layer .slot-week-card {
  width: auto !important;
  left: 2px !important;
  right: 2px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
}

.slot-week-cards-layer {
  overflow: hidden;
}

/* Weekly card text polish */
.slot-week-cards-layer .slot-week-card strong {
  font-size: 10px !important;
  line-height: 1.05 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-week-cards-layer .slot-week-card span {
  font-size: 11px !important;
  line-height: 1.05 !important;
  font-weight: 700;
}

.slot-week-cards-layer .slot-week-card small {
  font-size: 10px !important;
  line-height: 1.05 !important;
}

/* Weekly bottom summary */
.slot-legend--calendar-bottom .slot-legend--summary {
  margin: 0 !important;
}

.slot-legend--calendar-bottom {
  margin-top: 25px !important;
}

/* Calendar title consistency */
.slot-week__title,
.slot-month h4 {
  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #15305f !important;
  margin: 0 0 16px !important;
}

/* Calendar title consistency */
.slot-week__title,
.slot-month h4 {
  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #15305f !important;
  margin: 0 0 16px !important;
}

/* Calendar nav premium */
.slot-calendar-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px !important;
  padding: 0;
}

.slot-calendar-nav__views,
.slot-calendar-nav__range {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.slot-calendar-nav .slot-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d6deea;
  background: #ffffff;
  color: #23406f !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  transition: all .18s ease;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}

.slot-calendar-nav .slot-link:hover {
  border-color: #b8c7df;
  background: #f8fbff;
  transform: translateY(-1px);
}

.slot-calendar-nav__views .slot-link.is-active {
  background: #153e75 !important;
  border-color: #153e75 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(21,62,117,.18);
}

.slot-calendar-nav__range .slot-link {
  position: relative;
  padding-left: 16px;
  padding-right: 16px;
}

.slot-calendar-nav__range .slot-link[href*="anterior"]::before {
  content: "←";
  margin-right: 7px;
  font-weight: 700;
}

.slot-calendar-nav__range .slot-link[href*="siguiente"]::after {
  content: "→";
  margin-left: 7px;
  font-weight: 700;
}

.slot-calendar-nav__range .slot-link[href*="actual"] {
  background: #eef4ff;
  border-color: #cddaf6;
  color: #204b95 !important;
}

@media (max-width: 768px) {
  .slot-calendar-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .slot-calendar-nav__views,
  .slot-calendar-nav__range {
    width: 100%;
  }

  .slot-calendar-nav .slot-link {
    min-height: 38px;
    font-size: 12px;
  }
}

/* Calendar navigation premium polish */
.slot-calendar-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 20px !important;
}

.slot-calendar-nav__views,
.slot-calendar-nav__range {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.slot-calendar-nav .slot-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid #d7e0ec;
  background: #ffffff;
  color: #1f3e6d !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: all .18s ease;
}

.slot-calendar-nav .slot-link:hover {
  background: #f7faff;
  border-color: #b9c8de;
  transform: translateY(-1px);
}

.slot-calendar-nav__views .slot-link {
  min-width: 88px;
}

.slot-calendar-nav__views .slot-link.is-active {
  background: #153e75 !important;
  border-color: #153e75 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(21, 62, 117, 0.18);
}

.slot-calendar-nav__range .slot-link {
  background: #ffffff;
}

.slot-calendar-nav__range .slot-link[href*="actual"] {
  background: #eef4ff !important;
  border-color: #cddaf6 !important;
  color: #214c97 !important;
}

.slot-calendar-nav__range .slot-link[href*="anterior"],
.slot-calendar-nav__range .slot-link[href*="siguiente"] {
  background: #ffffff;
}

@media (max-width: 768px) {
  .slot-calendar-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .slot-calendar-nav__views,
  .slot-calendar-nav__range {
    width: 100%;
  }

  .slot-calendar-nav .slot-link {
    min-height: 38px;
    font-size: 12px;
    padding: 0 12px;
  }
}

/* Calendar partial-load feedback */
.slot-card.is-loading {
  opacity: .72;
  transition: opacity .18s ease;
}

/* Agenda header + section spacing */
.slot-agenda-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.slot-agenda-header h2 {
  margin: 0 !important;
}

.slot-agenda-header__action {
  display: flex;
  align-items: center;
}

.slot-google-calendar-connect {
  white-space: nowrap;
}

.slot-agenda-schedule {
  margin: 18px 0 26px !important;
  font-size: 15px;
}

.slot-section-block {
  margin-top: 34px;
  padding-top: 8px;
}

.slot-section-block--today {
  margin-top: 30px;
}

.slot-section-block--management {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid #e6edf6;
}

.slot-section-block h3 {
  margin-bottom: 16px !important;
}

@media (max-width: 768px) {
  .slot-agenda-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .slot-google-calendar-connect {
    width: 100%;
    justify-content: center;
  }
}

/* Agenda header final polish */
.slot-agenda-header {
  align-items: flex-start !important;
}

.slot-agenda-header h2 {
  position: relative;
  top: -4px;
  line-height: 1 !important;
  margin: 0 !important;
}

.slot-google-calendar-connect {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 360px !important;
  text-align: center !important;
}

.slot-google-calendar-connect__logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: inline-block;
}

/* Hide tour button on agenda for now */
.slot-agenda-header .slot-button[href*="tour"],
.slot-agenda-header .slot-link[href*="tour"],
.slot-agenda-header button[data-slot-tour],
.slot-agenda-header .slot-page-tour-actions,
.slot-agenda-header .slot-tour-actions {
  display: none !important;
}

/* Sidebar active item gradient horizontal */
.slot-side-group a.is-active {
  background-image: linear-gradient(90deg, #2a5fda 0%, #0cc2be 100%) !important;
}

/* ===== Calendar polish: weekly + monthly ===== */

/* Titles centered */
.slot-week__title,
.slot-month h4 {
  text-align: center !important;
}

/* Weekly grid cleanup */
.slot-week {
  overflow: hidden;
}

.slot-week-timeline {
  gap: 0 !important;
  border: 1px solid #dbe4f0;
  border-radius: 30px !important;
  overflow: hidden;
  background: #ffffff;
}

.slot-week-hours {
  background: #ffffff !important;
}

.slot-week-hours__label {
  border-top: 1px solid #dbe4f0 !important;
  border-right: 1px solid #dbe4f0 !important;
  justify-content: center !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.slot-week-hours__label:first-child {
  border-top: 0 !important;
}

.slot-week-timeline__grid {
  gap: 0 !important;
}

.slot-week-timeline-day {
  border: 0 !important;
  border-right: 1px solid #dbe4f0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  overflow: visible !important;
}

.slot-week-timeline-day:last-child {
  border-right: 0 !important;
}

.slot-week-timeline-day__body--stacked {
  border-top: 1px solid #dbe4f0 !important;
}

.slot-week-day__head {
  border-bottom: 0 !important;
  border-top: 0 !important;
  border-radius: 0 !important;
  min-height: 86px;
}

.slot-week-timeline-day__body--stacked .slot-week-slot {
  border-top: 1px solid #dbe4f0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-bottom: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
}

.slot-week-timeline-day__body--stacked .slot-week-slot:first-child {
  border-top: 0 !important;
}

/* Weekly cards closer to edges */
.slot-week-cards-layer .slot-week-card {
  left: -1px !important;
  right: -1px !important;
  width: auto !important;
  border-radius: 0 0 18px 18px !important;
}

.slot-week-cards-layer .slot-week-card:first-child {
  border-top-left-radius: 18px !important;
  border-top-right-radius: 18px !important;
}

/* Active day outline cleaner */
.slot-week-timeline-day--today {
  box-shadow: inset 0 0 0 2px #2f58d4 !important;
}

/* Monthly numbers bigger and top-right */
.slot-day {
  position: relative;
}

.slot-day strong {
  position: absolute !important;
  top: 14px !important;
  right: 16px !important;
  left: auto !important;
  text-align: right !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

.slot-day span {
  margin-top: 30px !important;
}

/* Replace amber/orange with #ffbe00 */
.slot-day--partial,
.slot-day--has-bookings.slot-day--partial,
.slot-week-card--pending,
.slot-badge--pending,
.slot-status--pending,
.slot-badge--partial {
  background: #ffbe00 !important;
  background-image: none !important;
  border-color: #ffbe00 !important;
}

.slot-day--partial strong,
.slot-day--partial span,
.slot-day--partial small,
.slot-day--has-bookings.slot-day--partial strong,
.slot-day--has-bookings.slot-day--partial span,
.slot-day--has-bookings.slot-day--partial small,
.slot-week-card--pending strong,
.slot-week-card--pending span,
.slot-week-card--pending small,
.slot-badge--pending,
.slot-badge--partial,
.slot-status--pending {
  color: #ffffff !important;
}

/* Any remaining old amber borders/shadows around partial/pending */
.slot-day--partial,
.slot-day--has-bookings.slot-day--partial,
.slot-week-card--pending,
.slot-status--pending {
  box-shadow: none !important;
}

/* Monthly cells spacing still clean with larger number */
.slot-day-meta {
  margin-top: 34px !important;
}

/* Slightly cleaner month header spacing */
.slot-month h4 {
  margin-bottom: 20px !important;
}

/* ===== Final weekly/monthly cleanup ===== */

/* 1) Force new yellow everywhere */
.slot-badge--pending,
.slot-badge--partial,
.slot-status--pending,
.slot-day--partial,
.slot-day--has-bookings.slot-day--partial,
.slot-week-card--pending {
  background: #ffbe00 !important;
  background-image: none !important;
  border-color: #ffbe00 !important;
}

.slot-badge--pending,
.slot-badge--partial,
.slot-status--pending,
.slot-day--partial strong,
.slot-day--partial span,
.slot-day--partial small,
.slot-day--has-bookings.slot-day--partial strong,
.slot-day--has-bookings.slot-day--partial span,
.slot-day--has-bookings.slot-day--partial small,
.slot-week-card--pending strong,
.slot-week-card--pending span,
.slot-week-card--pending small {
  color: #ffffff !important;
}

/* 2) Weekly outer shape: keep only ONE clean border/radius */
.slot-week {
  overflow: visible !important;
}

.slot-week-timeline {
  border: 1px solid #dbe4f0 !important;
  border-radius: 34px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  gap: 0 !important;
}

.slot-week-hours {
  border-right: 1px solid #dbe4f0 !important;
  background: #ffffff !important;
}

.slot-week-timeline__grid {
  gap: 0 !important;
  background: #ffffff !important;
}

/* Remove competing rounded corners / extra borders inside */
.slot-week-timeline-day,
.slot-week-day,
.slot-week-day__head,
.slot-week-day__body,
.slot-week-timeline-day__body,
.slot-week-timeline-day__body--stacked {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.slot-week-timeline-day {
  border: 0 !important;
  border-right: 1px solid #dbe4f0 !important;
  background: #ffffff !important;
}

.slot-week-timeline-day:last-child {
  border-right: 0 !important;
}

.slot-week-day__head {
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid #dbe4f0 !important;
  min-height: 86px;
  background: #ffffff !important;
}

.slot-week-hours__label {
  border-top: 1px solid #dbe4f0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  justify-content: center !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  background: #ffffff !important;
}

.slot-week-hours__label:first-child {
  border-top: 0 !important;
}

.slot-week-timeline-day__body--stacked .slot-week-slot {
  border-top: 1px solid #dbe4f0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-bottom: 0 !important;
  background: #ffffff !important;
  padding: 0 !important;
}

.slot-week-timeline-day__body--stacked .slot-week-slot:first-child {
  border-top: 0 !important;
}

/* 3) Cards: smaller radius and cleaner contact between stacked appointments */
.slot-week-cards-layer .slot-week-card {
  left: 0 !important;
  right: 0 !important;
  border-radius: 12px !important;
}

.slot-week-cards-layer .slot-week-card + .slot-week-card {
  margin-top: 0 !important;
}

/* 4) Today highlight without distorting borders */
.slot-week-timeline-day--today {
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 0 2px #2f58d4 !important;
}

/* 5) Month day numbers bigger and top-right */
.slot-day strong {
  top: 14px !important;
  right: 16px !important;
  left: auto !important;
  text-align: right !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

.slot-day span {
  margin-top: 36px !important;
}

.slot-day-meta {
  margin-top: 38px !important;
}

/* ===== Weekly final override cleanup ===== */

/* 1) Yellow (#ffbe00) forced everywhere it should appear */
.slot-legend--summary .slot-badge--pending,
.slot-legend--calendar-bottom .slot-badge--pending,
.slot-legend--calendar-bottom .slot-badge--partial,
.slot-badge--pending,
.slot-badge--partial,
.slot-status--pending,
.slot-day--partial,
.slot-day--has-bookings.slot-day--partial,
.slot-week-card--pending {
  background: #ffbe00 !important;
  background-image: none !important;
  border-color: #ffbe00 !important;
}

.slot-legend--summary .slot-badge--pending,
.slot-legend--calendar-bottom .slot-badge--pending,
.slot-legend--calendar-bottom .slot-badge--partial,
.slot-badge--pending,
.slot-badge--partial,
.slot-status--pending,
.slot-day--partial strong,
.slot-day--partial span,
.slot-day--partial small,
.slot-day--has-bookings.slot-day--partial strong,
.slot-day--has-bookings.slot-day--partial span,
.slot-day--has-bookings.slot-day--partial small,
.slot-week-card--pending strong,
.slot-week-card--pending span,
.slot-week-card--pending small {
  color: #ffffff !important;
}

/* 2) Weekly grid: one clean frame only */
.slot-week {
  overflow: visible !important;
}

.slot-week-timeline {
  gap: 0 !important;
  border: 1px solid #dbe4f0 !important;
  border-radius: 32px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  align-items: stretch !important;
}

.slot-week-hours {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding-top: 86px !important;
  margin: 0 !important;
  border-right: 1px solid #dbe4f0 !important;
  background: #ffffff !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.slot-week-hours__label {
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 8px !important;
  border-top: 1px solid #dbe4f0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.slot-week-hours__label:first-child {
  border-top: 0 !important;
}

.slot-week-timeline__grid {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 0 !important;
  min-width: 0 !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

.slot-week-timeline-day {
  min-width: 0 !important;
  background: #ffffff !important;
  border-top: 0 !important;
  border-right: 1px solid #dbe4f0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.slot-week-timeline-day:last-child {
  border-right: 0 !important;
}

.slot-week-day__head {
  min-height: 86px !important;
  height: 86px !important;
  padding: 18px 20px !important;
  border-top: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-bottom: 1px solid #dbe4f0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.slot-week-timeline-day__body,
.slot-week-timeline-day__body--stacked {
  display: block !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

.slot-week-timeline-day__body--stacked {
  height: 870px !important;
  min-height: 870px !important;
  max-height: 870px !important;
}

.slot-week-timeline-day__body--stacked .slot-week-slot {
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-top: 1px solid #dbe4f0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.slot-week-timeline-day__body--stacked .slot-week-slot:first-child {
  border-top: 0 !important;
}

/* 3) Weekly cards: same radius on ALL corners */
.slot-week-cards-layer {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.slot-week-cards-layer .slot-week-card,
.slot-week-cards-layer .slot-week-card:first-child {
  position: absolute !important;
  left: 1px !important;
  right: 1px !important;
  width: auto !important;
  margin: 0 !important;
  pointer-events: auto !important;
  border-radius: 10px !important;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* 4) Today highlight without breaking geometry */
.slot-week-timeline-day--today {
  position: relative !important;
  z-index: 1 !important;
  box-shadow: inset 0 0 0 2px #2f58d4 !important;
}

/* 5) Monthly numbers bigger and top-right */
.slot-day strong {
  position: absolute !important;
  top: 14px !important;
  right: 16px !important;
  left: auto !important;
  text-align: right !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

.slot-day span {
  margin-top: 36px !important;
}

.slot-day-meta {
  margin-top: 38px !important;
}

/* ===== Weekly geometry final fix ===== */

/* Force yellow in legend/resume/status */
.slot-legend .slot-badge--pending,
.slot-legend .slot-badge--partial,
.slot-legend--summary .slot-badge--pending,
.slot-legend--summary .slot-badge--partial,
.slot-status--pending,
.slot-day--partial,
.slot-day--has-bookings.slot-day--partial,
.slot-week-card--pending {
  background: #ffbe00 !important;
  background-image: none !important;
  border-color: #ffbe00 !important;
}

.slot-legend .slot-badge--pending,
.slot-legend .slot-badge--partial,
.slot-legend--summary .slot-badge--pending,
.slot-legend--summary .slot-badge--partial,
.slot-status--pending,
.slot-day--partial strong,
.slot-day--partial span,
.slot-day--partial small,
.slot-day--has-bookings.slot-day--partial strong,
.slot-day--has-bookings.slot-day--partial span,
.slot-day--has-bookings.slot-day--partial small,
.slot-week-card--pending strong,
.slot-week-card--pending span,
.slot-week-card--pending small {
  color: #ffffff !important;
}

/* Remove single outer border that was generating double-corner artifacts */
.slot-week-timeline {
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  gap: 0 !important;
}

/* Left hours column as its own clean rounded box */
.slot-week-hours {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding-top: 0 !important;
  border: 1px solid #dbe4f0 !important;
  border-right: 0 !important;
  border-radius: 32px 0 0 32px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.slot-week-hours::before {
  content: "" !important;
  display: block !important;
  height: 86px !important;
  min-height: 86px !important;
  max-height: 86px !important;
  border-bottom: 1px solid #dbe4f0 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.slot-week-hours__label {
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 8px !important;
  margin: 0 !important;
  border-top: 1px solid #dbe4f0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.slot-week-hours__label:first-of-type {
  border-top: 0 !important;
}

/* Right grid as a separate clean rounded box */
.slot-week-timeline__grid {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 0 !important;
  min-width: 0 !important;
  border: 1px solid #dbe4f0 !important;
  border-left: 0 !important;
  border-radius: 0 32px 32px 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.slot-week-timeline-day,
.slot-week-timeline-day__body,
.slot-week-timeline-day__body--stacked,
.slot-week-day__head {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.slot-week-timeline-day {
  min-width: 0 !important;
  background: #ffffff !important;
  border-top: 0 !important;
  border-right: 1px solid #dbe4f0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  overflow: hidden !important;
}

.slot-week-timeline-day:last-child {
  border-right: 0 !important;
}

.slot-week-day__head {
  min-height: 86px !important;
  height: 86px !important;
  padding: 18px 20px !important;
  border-top: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-bottom: 1px solid #dbe4f0 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.slot-week-timeline-day__body--stacked {
  display: block !important;
  height: 870px !important;
  min-height: 870px !important;
  max-height: 870px !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.slot-week-timeline-day__body--stacked .slot-week-slot {
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-top: 1px solid #dbe4f0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.slot-week-timeline-day__body--stacked .slot-week-slot:first-child {
  border-top: 0 !important;
}

/* Uniform card radius on all corners, including first one */
.slot-week-cards-layer {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.slot-week-cards-layer .slot-week-card,
.slot-week-cards-layer .slot-week-card:first-child,
.slot-week-cards-layer .slot-week-card:last-child {
  position: absolute !important;
  left: 1px !important;
  right: 1px !important;
  width: auto !important;
  margin: 0 !important;
  pointer-events: auto !important;
  border-radius: 10px !important;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Keep active day highlight without creating fake extra borders */
.slot-week-timeline-day--today {
  position: relative !important;
  z-index: 1 !important;
  box-shadow: inset 0 0 0 2px #2f58d4 !important;
}

/* ===== Weekly surgical fix ===== */

/* layout base */
.slot-week-timeline {
  display: grid !important;
  grid-template-columns: 86px minmax(0, 1fr) !important;
  gap: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

/* left hours column */
.slot-week-hours {
  width: 86px !important;
  min-width: 86px !important;
  max-width: 86px !important;
  padding-top: 0 !important;
  border: 1px solid #dbe4f0 !important;
  border-right: 0 !important;
  border-radius: 32px 0 0 32px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.slot-week-hours::before {
  content: "" !important;
  display: block !important;
  height: 86px !important;
  min-height: 86px !important;
  max-height: 86px !important;
  border-bottom: 1px solid #dbe4f0 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.slot-week-hours__label {
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 8px !important;
  margin: 0 !important;
  border-top: 1px solid #dbe4f0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.slot-week-hours__label:first-of-type {
  border-top: 0 !important;
}

/* right grid */
.slot-week-timeline__grid {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 0 !important;
  min-width: 0 !important;
  border: 1px solid #dbe4f0 !important;
  border-left: 1px solid #dbe4f0 !important; /* restores Hora/Lun divider */
  border-radius: 0 32px 32px 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  margin-left: -1px !important; /* avoids double border while keeping divider visible */
}

/* day columns */
.slot-week-timeline-day,
.slot-week-day,
.slot-week-day__head,
.slot-week-day__body,
.slot-week-timeline-day__body,
.slot-week-timeline-day__body--stacked {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.slot-week-timeline-day {
  min-width: 0 !important;
  background: #ffffff !important;
  border-top: 0 !important;
  border-right: 1px solid #dbe4f0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  overflow: hidden !important;
}

.slot-week-timeline-day:last-child {
  border-right: 0 !important;
}

.slot-week-day__head {
  min-height: 86px !important;
  height: 86px !important;
  padding: 18px 20px !important;
  border-top: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-bottom: 1px solid #dbe4f0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

/* stacked body */
.slot-week-timeline-day__body--stacked {
  position: relative !important;
  display: block !important;
  height: 870px !important;
  min-height: 870px !important;
  max-height: 870px !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.slot-week-timeline-day__body--stacked .slot-week-slot {
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-top: 1px solid #dbe4f0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.slot-week-timeline-day__body--stacked .slot-week-slot:first-child {
  border-top: 0 !important;
}

/* cards */
.slot-week-cards-layer {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.slot-week-cards-layer .slot-week-card,
.slot-week-cards-layer .slot-week-card:first-child,
.slot-week-cards-layer .slot-week-card:last-child {
  position: absolute !important;
  left: 2px !important;
  right: 2px !important;
  width: auto !important;
  margin: 0 !important;
  pointer-events: auto !important;
  border-radius: 10px !important;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* today highlight */
.slot-week-timeline-day--today {
  position: relative !important;
  z-index: 1 !important;
  box-shadow: inset 0 0 0 2px #2f58d4 !important;
}

/* ===== Weekly border final micro-fix ===== */

/* The outer .slot-week wrapper must NOT draw a border */
.slot-week {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
}

/* Keep the divider between hours and Monday visible, without double border */
.slot-week-hours {
  border-right: 1px solid #dbe4f0 !important;
}

.slot-week-timeline__grid {
  margin-left: 0 !important;
  border-left: 0 !important;
}

/* Remove any leftover fake corner rounding from the first/last day blocks */
.slot-week-timeline-day:first-child,
.slot-week-timeline-day:last-child,
.slot-week-timeline-day:first-child .slot-week-day__head,
.slot-week-timeline-day:last-child .slot-week-day__head {
  border-radius: 0 !important;
}

/* Cards must have the same radius on every corner */
.slot-week-cards-layer .slot-week-card,
.slot-week-cards-layer .slot-week-card:first-child,
.slot-week-cards-layer .slot-week-card:last-child {
  border-radius: 10px !important;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}

/* Pasado: diferenciarlo de Cerrado */
.slot-day--past,
.slot-day--has-bookings.slot-day--past {
  background: #d9e3f1 !important;
  border-color: #d9e3f1 !important;
}

/* Agenda live clock */
.slot-agenda-header__tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.slot-agenda-live-clock {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 14px;
  border: 1px solid #dbe6f3;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7fbff 0%, #eef5ff 100%);
  box-shadow: 0 8px 20px rgba(21, 62, 117, 0.08);
}

.slot-agenda-live-clock__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2f58d4;
  box-shadow: 0 0 0 6px rgba(47, 88, 212, 0.12);
  flex: 0 0 auto;
}

.slot-agenda-live-clock__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.slot-agenda-live-clock__body small {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f84a3;
}

.slot-agenda-live-clock__body strong {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #143b70;
  white-space: nowrap;
}

/* Weekly current-time line */
.slot-week-timeline-day__body--stacked {
  position: relative !important;
}

.slot-week-now-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  border-top: 2px solid #2f58d4;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: top .2s linear, opacity .2s ease;
}

.slot-week-now-line.is-visible {
  opacity: 1;
}

.slot-week-now-line__dot {
  position: absolute;
  top: -6px;
  left: -1px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2f58d4;
  box-shadow: 0 0 0 5px rgba(47, 88, 212, 0.12);
}

.slot-week-now-line__label {
  position: absolute;
  top: -15px;
  right: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #2f58d4;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(47, 88, 212, 0.2);
}

@media (max-width: 768px) {
  .slot-agenda-header__tools {
    width: 100%;
    justify-content: flex-start;
  }

  .slot-agenda-live-clock {
    min-height: 42px;
    padding: 7px 12px;
  }

  .slot-agenda-live-clock__body strong {
    font-size: 13px;
  }

  .slot-week-now-line__label {
    right: 4px;
    font-size: 9px;
    padding: 3px 7px;
  }
}

/* Ocultar texto sobre la línea de hora actual */
.slot-week-now-line__label {
  display: none !important;
}

/* Ajuste fino del punto de la línea actual */
.slot-week-now-line__dot {
  width: 8px;
  height: 8px;
  top: -5px;
}

/* Onboarding password UX */
.slot-password-field {
  position: relative;
  display: flex;
  align-items: center;
}

.slot-password-field input {
  padding-right: 156px !important;
}

.slot-password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 122px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid #d7deeb;
  border-radius: 999px;
  background: #ffffff;
  color: #18386b;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}

.slot-password-toggle:hover {
  border-color: #bfcbe0;
  box-shadow: 0 6px 18px rgba(23, 59, 112, 0.08);
}

.slot-password-help {
  margin: 8px 0 0;
  font-size: 13px;
  color: #6f84a3;
  line-height: 1.35;
}

.slot-password-error {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #c9473f;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .slot-password-field input {
    padding-right: 124px !important;
  }

  .slot-password-toggle {
    min-width: 102px;
    height: 40px;
    padding: 0 14px;
    font-size: 15px;
  }
}

/* Refinamiento botones Mostrar / Ocultar contraseña */
.slot-password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 110px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid #d6dfec;
  border-radius: 16px;
  background: #f8fbff;
  color: #173b70;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: none !important;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.slot-password-toggle:hover {
  background: #eef4fb;
  border-color: #c6d3e5;
  box-shadow: none !important;
}

.slot-password-toggle:focus,
.slot-password-toggle:focus-visible,
.slot-password-toggle:active {
  background: #eef4fb;
  border-color: #b9cae1;
  box-shadow: none !important;
  outline: none !important;
  transform: translateY(-50%);
}

.slot-password-field input {
  padding-right: 132px !important;
}

@media (max-width: 768px) {
  .slot-password-toggle {
    min-width: 96px;
    height: 38px;
    padding: 0 14px;
    font-size: 14px;
    border-radius: 14px;
  }

  .slot-password-field input {
    padding-right: 116px !important;
  }
}

/* Refinamiento botones Mostrar / Ocultar contraseña */
.slot-password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 110px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid #d6dfec;
  border-radius: 16px;
  background: #f8fbff;
  color: #173b70;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: none !important;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.slot-password-toggle:hover {
  background: #eef4fb;
  border-color: #c6d3e5;
  box-shadow: none !important;
}

.slot-password-toggle:focus,
.slot-password-toggle:focus-visible,
.slot-password-toggle:active {
  background: #eef4fb;
  border-color: #b9cae1;
  box-shadow: none !important;
  outline: none !important;
  transform: translateY(-50%);
}

.slot-password-field input {
  padding-right: 132px !important;
}

@media (max-width: 768px) {
  .slot-password-toggle {
    min-width: 96px;
    height: 38px;
    padding: 0 14px;
    font-size: 14px;
    border-radius: 14px;
  }

  .slot-password-field input {
    padding-right: 116px !important;
  }
}

/* ===== Onboarding password toggle: override fuerte y limpio ===== */
.slot-first-time-form .slot-password-field {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

.slot-first-time-form .slot-password-field input {
  padding-right: 150px !important;
}

.slot-first-time-form .slot-password-toggle {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  min-width: 120px !important;
  height: 44px !important;
  padding: 0 18px !important;
  border: 1px solid #d6dfec !important;
  border-radius: 999px !important;
  background: #f7fbff !important;
  color: #173b70 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  text-decoration: none !important;
  overflow: hidden !important;
  z-index: 2 !important;
}

/* Mata cualquier globito / pseudo-elemento heredado */
.slot-first-time-form .slot-password-toggle::before,
.slot-first-time-form .slot-password-toggle::after,
.slot-first-time-form .slot-password-field::before,
.slot-first-time-form .slot-password-field::after {
  content: none !important;
  display: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Hover/focus sobrio y entendible */
.slot-first-time-form .slot-password-toggle:hover,
.slot-first-time-form .slot-password-toggle:focus,
.slot-first-time-form .slot-password-toggle:focus-visible,
.slot-first-time-form .slot-password-toggle:active {
  background: #eef4fb !important;
  border-color: #c5d3e6 !important;
  color: #173b70 !important;
  box-shadow: none !important;
  outline: none !important;
  transform: translateY(-50%) !important;
}

/* Evita cualquier efecto extraño de tap/highlight */
.slot-first-time-form .slot-password-toggle,
.slot-first-time-form .slot-password-toggle * {
  -webkit-tap-highlight-color: transparent !important;
}

/* Ajuste móvil */
@media (max-width: 768px) {
  .slot-first-time-form .slot-password-field input {
    padding-right: 126px !important;
  }

  .slot-first-time-form .slot-password-toggle {
    min-width: 100px !important;
    height: 40px !important;
    padding: 0 14px !important;
    font-size: 15px !important;
  }
}

/* Refinamiento visual: toggle mas liviano */
.slot-first-time-form .slot-password-field input {
  padding-right: 108px !important;
}

.slot-first-time-form .slot-password-toggle {
  right: 10px !important;
  min-width: 84px !important;
  height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: #fbfdff !important;
  border: 1px solid #d9e3f0 !important;
  color: #24497e !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.slot-first-time-form .slot-password-toggle:hover,
.slot-first-time-form .slot-password-toggle:focus,
.slot-first-time-form .slot-password-toggle:focus-visible,
.slot-first-time-form .slot-password-toggle:active {
  background: #f2f7fd !important;
  border-color: #ccd9ea !important;
  color: #183d72 !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .slot-first-time-form .slot-password-field input {
    padding-right: 96px !important;
  }

  .slot-first-time-form .slot-password-toggle {
    min-width: 76px !important;
    height: 32px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
  }
}


/* Permiso individual compacto en modal de equipo */
.slot-permission-card {
  background: linear-gradient(180deg, #f8fbff 0%, #f4f7fc 100%);
  border: 1px solid #dbe5f4;
  border-radius: 22px;
  padding: 18px 20px;
  margin-top: 4px;
  display: grid;
  gap: 14px;
}

.slot-permission-card__head h4 {
  margin: 0 0 6px;
  color: #182b52;
  font-size: 1rem;
  line-height: 1.2;
}

.slot-permission-card__head p {
  margin: 0;
  color: #60749a;
  font-size: 0.92rem;
  line-height: 1.45;
}

.slot-permission-card__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: center;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e3eaf6;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(20, 35, 70, 0.05);
}

.slot-permission-card__copy label {
  margin: 0 0 4px !important;
  color: #182b52;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  display: block;
}

.slot-permission-card__copy small {
  display: block;
  margin: 0;
  color: #7184a8;
  font-size: 0.88rem;
  line-height: 1.4;
}

.slot-permission-card__control {
  display: flex;
  justify-content: flex-end;
}

.slot-permission-card__control select {
  width: 100%;
  max-width: 260px;
  min-height: 52px;
  border-radius: 16px !important;
  border: 1px solid #ccd8ee !important;
  background: #fdfefe;
  font-weight: 700;
  color: #1e3560;
  box-shadow: none;
}

.slot-permission-card__control select:focus {
  border-color: #4b74dd !important;
  box-shadow: 0 0 0 4px rgba(75, 116, 221, 0.14) !important;
}

@media (max-width: 760px) {
  .slot-permission-card {
    padding: 16px;
  }

  .slot-permission-card__item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .slot-permission-card__control {
    justify-content: stretch;
  }

  .slot-permission-card__control select {
    max-width: none;
  }
}


.slot-copy-booking-link__icon {
    align-items: center;
    display: inline-flex;
    height: 30px;
    justify-content: center;
    width: 16px;
}


.slot-copy-booking-link__icon svg {
    width: 16px;
    height: 16px;
    display: block;
    overflow: visible;
    transform: scale(1.6);
    transform-origin: center;
}

/* === SAFE BOOKING UI TUNE START === */
.slot-booking-step .slot-step-actions {
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: space-between;
}

.slot-booking-step .slot-step-actions .slot-button {
  box-shadow: none !important;
  min-width: 0;
  width: auto !important;
}

.slot-booking-step .slot-step-actions [data-step-back] {
  background: #eef3fb;
  border: 1px solid #d9e2f1;
  color: #27457a;
}

.slot-booking-step .slot-step-actions [data-step-next] {
  background: linear-gradient(135deg, #2f5be8 0%, #4db8c8 100%);
  border-color: transparent;
  color: #ffffff;
  margin-left: auto;
}

.slot-schedule-card .slot-time-help {
  text-align: center;
}

.slot-calendar-layout {
  justify-items: stretch;
}

.slot-calendar-pane {
  justify-items: center !important;
  width: 100% !important;
}

.slot-inline-calendar {
  margin: 0 auto;
  max-width: 440px !important;
  width: 100% !important;
}

.slot-inline-calendar .flatpickr-calendar.inline {
  margin: 0 auto !important;
  max-width: 440px !important;
  min-width: 440px !important;
  width: 440px !important;
  padding: 10px 10px 0 !important;
  overflow: visible !important;
}

.slot-inline-calendar .flatpickr-months {
  align-items: center !important;
  min-height: 74px !important;
  overflow: visible !important;
  position: relative;
}

.slot-inline-calendar .flatpickr-month {
  height: 74px !important;
  min-height: 74px !important;
  overflow: visible !important;
}

.slot-inline-calendar .flatpickr-current-month {
  align-items: center !important;
  display: flex !important;
  gap: 10px !important;
  justify-content: center !important;
  left: 52px !important;
  right: 52px !important;
  top: 8px !important;
  width: auto !important;
  height: auto !important;
  min-height: 48px !important;
  padding: 0 !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

.slot-inline-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
  appearance: none;
  background: transparent;
  border: 0;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  max-width: none !important;
  min-width: 120px !important;
  overflow: visible !important;
  padding: 0 18px 0 0 !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

.slot-inline-calendar .flatpickr-current-month .numInputWrapper {
  min-width: 88px !important;
  width: 88px !important;
  height: auto !important;
  overflow: visible !important;
}

.slot-inline-calendar .flatpickr-current-month input.cur-year {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  min-width: 88px !important;
  width: 88px !important;
  height: auto !important;
  padding: 0 !important;
  overflow: visible !important;
}

.slot-inline-calendar .flatpickr-prev-month,
.slot-inline-calendar .flatpickr-next-month {
  top: 18px !important;
  padding: 4px !important;
}

.slot-inline-calendar .flatpickr-weekdays {
  margin-top: 8px !important;
}

.slot-inline-calendar .flatpickr-weekday {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  height: 32px !important;
  line-height: 32px !important;
}

.slot-inline-calendar .flatpickr-days,
.slot-inline-calendar .dayContainer {
  max-width: 100% !important;
  width: 100% !important;
}

.slot-inline-calendar .dayContainer {
  justify-content: space-between !important;
  min-width: 420px !important;
}

.slot-inline-calendar .flatpickr-day {
  font-size: 1rem !important;
  height: 48px !important;
  line-height: 48px !important;
  max-width: 48px !important;
  width: 48px !important;
}

.slot-schedule-summary {
  max-width: 440px !important;
  width: 100% !important;
}

.slot-repeat-card {
  margin-top: 14px;
}

@media (max-width: 760px) {
  .slot-booking-step .slot-step-actions {
    gap: 10px;
    padding-top: 10px;
  }

  .slot-booking-step .slot-step-actions [data-step-back] {
    max-width: 38%;
  }

  .slot-booking-step .slot-step-actions [data-step-next] {
    max-width: 58%;
  }

  .slot-inline-calendar {
    max-width: 100% !important;
  }

  .slot-inline-calendar .flatpickr-calendar.inline {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 420px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .slot-inline-calendar .flatpickr-months {
    min-height: 82px !important;
  }

  .slot-inline-calendar .flatpickr-month {
    height: 82px !important;
    min-height: 82px !important;
  }

  .slot-inline-calendar .flatpickr-current-month {
    left: 34px !important;
    right: 34px !important;
    top: 10px !important;
    gap: 8px !important;
    min-height: 54px !important;
  }

  .slot-inline-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
    font-size: 1.2rem !important;
    min-width: 98px !important;
  }

  .slot-inline-calendar .flatpickr-current-month .numInputWrapper,
  .slot-inline-calendar .flatpickr-current-month input.cur-year {
    font-size: 1.2rem !important;
    min-width: 72px !important;
    width: 72px !important;
  }

  .slot-inline-calendar .flatpickr-prev-month,
  .slot-inline-calendar .flatpickr-next-month {
    top: 20px !important;
  }

  .slot-inline-calendar .dayContainer {
    min-width: 0 !important;
  }

  .slot-inline-calendar .flatpickr-day {
    height: 44px !important;
    line-height: 44px !important;
    max-width: 44px !important;
    width: 44px !important;
  }
}
/* === SAFE BOOKING UI TUNE END === */


#slot_inline_calendar {
  display: block !important;
  margin: 0 auto !important;
  max-width: 460px !important;
  width: 100% !important;
}

#slot_inline_calendar .flatpickr-calendar,
#slot_inline_calendar .flatpickr-calendar.inline {
  display: block !important;
  margin: 0 auto !important;
  max-width: 460px !important;
  min-width: 460px !important;
  width: 460px !important;
  padding: 14px 12px 8px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

#slot_inline_calendar .flatpickr-months,
#slot_inline_calendar .flatpickr-weekdays,
#slot_inline_calendar .flatpickr-innerContainer,
#slot_inline_calendar .flatpickr-rContainer,
#slot_inline_calendar .flatpickr-days,
#slot_inline_calendar .dayContainer {
  box-sizing: border-box !important;
  max-width: 100% !important;
  width: 100% !important;
}

#slot_inline_calendar .flatpickr-months {
  min-height: 82px !important;
  overflow: visible !important;
  position: relative !important;
}

#slot_inline_calendar .flatpickr-month {
  height: 82px !important;
  min-height: 82px !important;
  overflow: visible !important;
}

#slot_inline_calendar .flatpickr-current-month {
  display: grid !important;
  grid-template-columns: auto auto !important;
  align-items: center !important;
  justify-content: center !important;
  column-gap: 14px !important;
  left: 0 !important;
  right: 0 !important;
  top: 10px !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 0 52px !important;
  overflow: visible !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

#slot_inline_calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
  appearance: none !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  min-width: 130px !important;
  max-width: none !important;
  padding: 0 18px 0 0 !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

#slot_inline_calendar .flatpickr-current-month .numInputWrapper {
  min-width: 96px !important;
  width: 96px !important;
  overflow: visible !important;
}

#slot_inline_calendar .flatpickr-current-month input.cur-year {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  min-width: 96px !important;
  width: 96px !important;
  padding: 0 !important;
  overflow: visible !important;
}

#slot_inline_calendar .flatpickr-prev-month,
#slot_inline_calendar .flatpickr-next-month {
  top: 24px !important;
  padding: 4px !important;
}

#slot_inline_calendar .flatpickr-weekdays {
  margin-top: 8px !important;
}

#slot_inline_calendar .flatpickr-weekdaycontainer,
#slot_inline_calendar .dayContainer {
  display: flex !important;
  flex-wrap: wrap !important;
  min-width: 0 !important;
}

#slot_inline_calendar span.flatpickr-weekday,
#slot_inline_calendar .flatpickr-day {
  flex: 0 0 14.2857143% !important;
  width: 14.2857143% !important;
  max-width: 14.2857143% !important;
  box-sizing: border-box !important;
}

#slot_inline_calendar .flatpickr-weekday {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  height: 32px !important;
  line-height: 32px !important;
}

#slot_inline_calendar .flatpickr-day {
  font-size: 1rem !important;
  height: 50px !important;
  line-height: 50px !important;
}

@media (max-width: 760px) {
  #slot_inline_calendar,
  #slot_inline_calendar .flatpickr-calendar,
  #slot_inline_calendar .flatpickr-calendar.inline {
    max-width: 420px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  #slot_inline_calendar .flatpickr-current-month {
    padding-left: 38px !important;
    padding-right: 38px !important;
    column-gap: 10px !important;
  }

  #slot_inline_calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
    font-size: 1.2rem !important;
    min-width: 104px !important;
  }

  #slot_inline_calendar .flatpickr-current-month .numInputWrapper,
  #slot_inline_calendar .flatpickr-current-month input.cur-year {
    font-size: 1.2rem !important;
    min-width: 76px !important;
    width: 76px !important;
  }

  #slot_inline_calendar .flatpickr-day {
    height: 44px !important;
    line-height: 44px !important;
  }
}
/* === FLATPICKR HARD OVERRIDE END === */\n

/* === CALENDAR HOTFIX FINAL === */
#slot_inline_calendar .flatpickr-calendar.inline{
  width:460px !important;
  max-width:460px !important;
  min-width:460px !important;
}
#slot_inline_calendar .flatpickr-months{
  height:82px !important;
  min-height:82px !important;
}
#slot_inline_calendar .flatpickr-month{
  height:82px !important;
}
#slot_inline_calendar .flatpickr-current-month{
  left:40px !important;
  right:40px !important;
  padding-top:12px !important;
  width:auto !important;
  overflow:visible !important;
  white-space:nowrap !important;
}
#slot_inline_calendar .flatpickr-current-month .flatpickr-monthDropdown-months{
  min-width:120px !important;
  font-size:28px !important;
  line-height:1.1 !important;
}
#slot_inline_calendar .flatpickr-current-month .numInputWrapper,
#slot_inline_calendar .flatpickr-current-month input.cur-year{
  width:92px !important;
  min-width:92px !important;
  font-size:28px !important;
  line-height:1.1 !important;
}
#slot_inline_calendar .flatpickr-weekday{
  font-size:17px !important;
}
#slot_inline_calendar .flatpickr-day{
  width:14.2857% !important;
  max-width:14.2857% !important;
  height:50px !important;
  line-height:50px !important;
  font-size:18px !important;
}
@media (max-width:760px){
  #slot_inline_calendar .flatpickr-calendar.inline{
    width:100% !important;
    max-width:420px !important;
    min-width:0 !important;
  }
  #slot_inline_calendar .flatpickr-current-month .flatpickr-monthDropdown-months{
    min-width:98px !important;
    font-size:22px !important;
  }
  #slot_inline_calendar .flatpickr-current-month .numInputWrapper,
  #slot_inline_calendar .flatpickr-current-month input.cur-year{
    width:76px !important;
    min-width:76px !important;
    font-size:22px !important;
  }
}
/* === CALENDAR HOTFIX FINAL END === */


/* === TIME BLOCK POLISH === */
.slot-schedule-summary{
  max-width: 820px !important;
  padding: 18px 22px !important;
}
.slot-time-controls{
  gap: 16px !important;
  grid-template-columns: repeat(3, minmax(140px, 1fr)) !important;
}
.slot-time-controls > div > label{
  font-size: 15px !important;
  margin-bottom: 8px !important;
}
.slot-time-controls select{
  min-height: 60px !important;
  font-size: 20px !important;
  border-radius: 18px !important;
  padding: 10px 16px !important;
}
/* === TIME BLOCK POLISH END === */


/* === STEP 2 POLISH === */
.slot-legend--booking{
  display:flex !important;
  justify-content:center !important;
  gap:16px !important;
  margin-top:14px !important;
  width:100% !important;
}

.slot-schedule-summary{
  max-width: 860px !important;
  width: 100% !important;
  padding: 16px 18px !important;
}

.slot-time-controls{
  gap: 18px !important;
  grid-template-columns: repeat(3, minmax(120px, 1fr)) !important;
  justify-content: stretch !important;
}

.slot-time-controls > div > label{
  font-size: 15px !important;
  margin-bottom: 8px !important;
}

.slot-time-controls select{
  min-height: 56px !important;
  font-size: 18px !important;
  border-radius: 16px !important;
  padding: 10px 14px !important;
}
/* === STEP 2 POLISH END === */


/* === SCHEDULE BLOCK FINE TUNE === */
.slot-schedule-summary{
  padding: 14px 16px !important;
}
.slot-time-controls{
  align-items: start !important;
}
.slot-time-controls select{
  height: 54px !important;
  min-height: 54px !important;
}
/* === SCHEDULE BLOCK FINE TUNE END === */


/* === STEP 2 BORDER CLEANUP === */
.slot-schedule-card{
  border: 0 !important;
  box-shadow: none !important;
}
/* === STEP 2 BORDER CLEANUP END === */


/* === CALENDAR ARROWS + MOBILE FIX === */
#slot_inline_calendar .flatpickr-prev-month,
#slot_inline_calendar .flatpickr-next-month{
  color:#2f5be8 !important;
  opacity:1 !important;
}
#slot_inline_calendar .flatpickr-prev-month:hover,
#slot_inline_calendar .flatpickr-next-month:hover{
  color:#4c7dff !important;
}
#slot_inline_calendar .flatpickr-prev-month svg,
#slot_inline_calendar .flatpickr-next-month svg{
  width:22px !important;
  height:22px !important;
}
#slot_inline_calendar .flatpickr-prev-month svg path,
#slot_inline_calendar .flatpickr-next-month svg path{
  stroke:currentColor !important;
  stroke-width:2.4 !important;
}

@media (max-width:760px){
  .slot-booking-card{
    overflow-x:hidden !important;
    max-width:calc(100% - 10px) !important;
    padding:14px 10px !important;
  }
  .slot-schedule-card{
    overflow:hidden !important;
    padding:10px 6px !important;
  }
  .slot-inline-calendar{
    width:100% !important;
    max-width:100% !important;
  }
  .slot-legend--booking{
    gap:10px !important;
    flex-wrap:wrap !important;
  }
  .slot-legend--booking .slot-badge{
    font-size:13px !important;
    padding:6px 10px !important;
  }
  .slot-schedule-summary{
    padding:12px 10px !important;
  }
  .slot-time-controls{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:10px !important;
  }
  .slot-time-controls select{
    min-width:0 !important;
    width:100% !important;
    font-size:16px !important;
    padding:8px 10px !important;
  }
  .slot-booking-step .slot-step-actions{
    gap:10px !important;
    flex-wrap:nowrap !important;
  }
  .slot-booking-step .slot-step-actions .slot-button{
    flex:1 1 0 !important;
    min-width:0 !important;
    width:auto !important;
  }
}
/* === CALENDAR ARROWS + MOBILE FIX END === */\n\n/* === CALENDAR ARROW HOVER FIX START === */
#slot_inline_calendar .flatpickr-prev-month,
#slot_inline_calendar .flatpickr-next-month{
  color:#2f5be8 !important;
  opacity:1 !important;
}
#slot_inline_calendar .flatpickr-prev-month:hover,
#slot_inline_calendar .flatpickr-next-month:hover{
  color:#4c7dff !important;
}
#slot_inline_calendar .flatpickr-prev-month svg,
#slot_inline_calendar .flatpickr-next-month svg{
  width:26px !important;
  height:26px !important;
}
#slot_inline_calendar .flatpickr-prev-month svg path,
#slot_inline_calendar .flatpickr-next-month svg path{
  stroke:currentColor !important;
  fill:none !important;
  stroke-width:2.6 !important;
}
/* === CALENDAR ARROW HOVER FIX END === */\n\n\n/* === REPEAT BLOCK POLISH START === */
#slot_repeat_fields[hidden],
#slot_repeat_until_wrap[hidden],
#slot_repeat_count_wrap[hidden]{
  display:none !important;
}

.slot-repeat-card{
  margin-top:18px !important;
  padding:16px !important;
  border-radius:18px !important;
  background:#f7faff !important;
  border:1px solid #dbe5f4 !important;
  box-shadow:none !important;
}

.slot-repeat-card > .slot-check-item{
  display:inline-flex !important;
  align-items:center !important;
  gap:12px !important;
  min-height:60px !important;
  padding:0 18px !important;
  border-radius:18px !important;
  background:#fdfefe !important;
  border:1px solid #d7e2f1 !important;
  width:auto !important;
  max-width:none !important;
}

.slot-repeat-card .slot-check-item input[type="checkbox"]{
  width:22px !important;
  height:22px !important;
}

.slot-repeat-fields{
  margin-top:14px !important;
  gap:14px !important;
}

.slot-repeat-fields:not([hidden]){
  display:grid !important;
}

.slot-repeat-fields .slot-inline-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:14px !important;
}

.slot-repeat-fields label{
  font-size:15px !important;
  font-weight:700 !important;
  margin-bottom:8px !important;
}

.slot-repeat-fields input,
.slot-repeat-fields select{
  min-height:54px !important;
  border-radius:16px !important;
  font-size:17px !important;
  padding:10px 14px !important;
}

.slot-repeat-fields .slot-muted{
  font-size:15px !important;
  line-height:1.45 !important;
  color:#5a6f96 !important;
}

@media (max-width:760px){
  .slot-repeat-card{
    padding:12px !important;
    border-radius:16px !important;
  }

  .slot-repeat-card > .slot-check-item{
    min-height:54px !important;
    width:100% !important;
    padding:0 14px !important;
  }

  .slot-repeat-fields .slot-inline-grid{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }

  .slot-repeat-fields input,
  .slot-repeat-fields select{
    min-height:50px !important;
    font-size:16px !important;
  }
}
/* === REPEAT BLOCK POLISH END === */\n

/* === REPEAT VISIBILITY HARD FIX START === */
#slot_repeat_fields{
  display:none;
}
#slot_repeat_fields:not([hidden]){
  display:grid !important;
}
#slot_repeat_until_wrap{
  display:none;
}
#slot_repeat_until_wrap:not([hidden]){
  display:block !important;
}
#slot_repeat_count_wrap{
  display:none;
}
#slot_repeat_count_wrap:not([hidden]){
  display:block !important;
}
/* === REPEAT VISIBILITY HARD FIX END === */

/* === REPEAT CARD VISUAL CLEANUP START === */
.slot-repeat-card{
  margin-top:18px !important;
  padding:16px !important;
  border-radius:18px !important;
  background:#f7faff !important;
  border:1px solid #dbe5f4 !important;
  box-shadow:none !important;
}

.slot-repeat-card > .slot-check-item{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  min-height:auto !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  border-radius:0 !important;
  width:auto !important;
  max-width:none !important;
  box-shadow:none !important;
}

.slot-repeat-card > .slot-check-item span{
  font-size:17px !important;
  font-weight:700 !important;
}

.slot-repeat-card .slot-check-item input[type="checkbox"]{
  width:22px !important;
  height:22px !important;
  margin:0 !important;
}

@media (max-width:760px){
  .slot-repeat-card{
    padding:12px !important;
    border-radius:16px !important;
  }

  .slot-repeat-card > .slot-check-item{
    width:100% !important;
  }
}
/* === REPEAT CARD VISUAL CLEANUP END === */

/* === REPEAT CHECKBOX INSIDE START === */
.slot-repeat-card > .slot-check-item{
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 14px 0 48px !important;
  min-height: 52px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.slot-repeat-card > .slot-check-item input[type="checkbox"]{
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

.slot-repeat-card > .slot-check-item span{
  display: block !important;
  margin: 0 !important;
  line-height: 1.1 !important;
}

@media (max-width:760px){
  .slot-repeat-card > .slot-check-item{
    min-height: 48px !important;
    padding: 0 12px 0 44px !important;
  }

  .slot-repeat-card > .slot-check-item input[type="checkbox"]{
    left: 12px !important;
    width: 17px !important;
    height: 17px !important;
  }
}
/* === REPEAT CHECKBOX INSIDE END === */

/* === BOOKING SUCCESS SCREEN START === */
.slot-booking-success-screen{
  margin-top:20px;
  padding:24px;
  border:1px solid #dbe5f4;
  border-radius:22px;
  background:#ffffff;
}
.slot-booking-success-screen__icon{
  width:64px;
  height:64px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 12px;
  font-size:30px;
  font-weight:800;
  background:#e9f7ee;
  color:#1d7a42;
}
.slot-booking-success-screen__title{
  margin:0 0 8px;
  text-align:center;
}
.slot-booking-success-screen__lead{
  margin:0 0 18px;
  text-align:center;
  color:#5a6f96;
}
.slot-booking-success-screen__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.slot-booking-success-screen__grid > div{
  border:1px solid #dbe5f4;
  border-radius:16px;
  padding:14px 16px;
  background:#f8fbff;
}
.slot-booking-success-screen__grid strong{
  display:block;
  margin-bottom:6px;
  color:#1f3763;
  font-size:14px;
}
.slot-booking-success-screen__grid span{
  color:#334f7f;
  line-height:1.4;
}
.slot-booking-success-screen__full{
  grid-column:1 / -1;
}
.slot-booking-success-screen__actions{
  margin-top:18px;
  text-align:center;
}
.slot-booking-success-screen.is-paid .slot-booking-success-screen__icon{
  background:#e9f7ee;
  color:#1d7a42;
}
.slot-booking-success-screen.is-pending .slot-booking-success-screen__icon{
  background:#fff5da;
  color:#b78100;
}
.slot-booking-success-screen.is-failed .slot-booking-success-screen__icon{
  background:#fdeaea;
  color:#c93636;
}
@media (max-width:760px){
  .slot-booking-success-screen{
    padding:18px;
    border-radius:18px;
  }
  .slot-booking-success-screen__grid{
    grid-template-columns:1fr;
  }
}
/* === BOOKING SUCCESS SCREEN END === */\n\n/* === BUSINESS HOURS HINT START === */
.slot-business-hours{
  margin-top:10px !important;
  font-size:14px !important;
  line-height:1.45 !important;
  color:#5a6f96 !important;
}
/* === BUSINESS HOURS HINT END === */\n
/* === BOOKING SUCCESS SCREEN VIA JS START === */
.slot-booking-success-screen{
  margin-top:20px;
  padding:8px 0 0;
  border:0;
  border-radius:0;
  background:#ffffff;
}

.slot-booking-success-screen__icon{
  width:64px;
  height:64px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 18px;
  font-size:30px;
  font-weight:800;
  color:#ffffff;
  background:linear-gradient(135deg,#22c55e 0%,#16a34a 100%);
  box-shadow:0 10px 24px rgba(34,197,94,.18);
}

.slot-booking-success-screen__title,
.slot-booking-success-screen__lead{
  display:none;
}

.slot-booking-success-screen__summary{
  border:1px solid #b9ddb8;
  border-radius:18px;
  background:#ffffff;
  padding:22px;
}

.slot-booking-success-screen__summary div{
  color:#1f3763;
  font-size:18px;
  line-height:1.6;
  margin-bottom:12px;
}

.slot-booking-success-screen__summary div:last-child{
  margin-bottom:0;
}

.slot-booking-success-screen__summary strong{
  font-weight:800;
}

.slot-booking-success-screen__summary span{
  display:inline;
}

.slot-booking-success-screen__notes{
  margin-top:8px;
  padding-top:8px;
}

.slot-booking-success-screen__actions{
  margin-top:20px;
  text-align:center;
}

.slot-booking-success-screen__actions .slot-button{
  min-width:240px;
}

.slot-booking-success-screen.is-paid .slot-booking-success-screen__icon,
.slot-booking-success-screen.is-request .slot-booking-success-screen__icon{
  color:#ffffff;
  background:linear-gradient(135deg,#22c55e 0%,#16a34a 100%);
  box-shadow:0 10px 24px rgba(34,197,94,.18);
}

.slot-booking-success-screen.is-pending .slot-booking-success-screen__icon{
  color:#ffffff;
  background:linear-gradient(135deg,#f59e0b 0%,#ea580c 100%);
  box-shadow:0 10px 24px rgba(245,158,11,.20);
}

.slot-booking-success-screen.is-failed .slot-booking-success-screen__icon{
  color:#ffffff;
  background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);
  box-shadow:0 10px 24px rgba(239,68,68,.18);
}

.slot-booking-success-screen.is-paid .slot-booking-success-screen__summary,
.slot-booking-success-screen.is-request .slot-booking-success-screen__summary{
  border-color:#b9ddb8;
  background:#ffffff;
}

.slot-booking-success-screen.is-pending .slot-booking-success-screen__summary{
  border-color:#f0dc9b;
  background:#ffffff;
}

.slot-booking-success-screen.is-failed .slot-booking-success-screen__summary{
  border-color:#efc0c0;
  background:#ffffff;
}

@media (max-width:760px){
  .slot-booking-success-screen{
    padding-top:6px;
  }

  .slot-booking-success-screen__summary{
    padding:16px;
  }

  .slot-booking-success-screen__summary div{
    font-size:16px;
    line-height:1.5;
  }

  .slot-booking-success-screen__actions .slot-button{
    min-width:0;
    width:100%;
  }
}
/* === BOOKING SUCCESS SCREEN VIA JS END === */
