/* Font loaded by theme/Elementor (self-hosted). */
 /* Load Nunito (same weights as form) */

/* Global font override – force Nunito on the whole manage shell */
.tlx-consult-shell.tlx-manage-shell,
.tlx-consult-shell.tlx-manage-shell * {
  font-family: "Nunito Sans", "Nunito Sans", -apple-system, BlinkMacSystemFont,
    system-ui, "SF Pro Text", "Segoe UI", sans-serif !important;
}

      @media (min-width: 900px) {
        .tlx-manage-shell {
          padding: 72px 24px 96px;
        }
      }

      .tlx-manage-container {
        max-width: 1120px;
        margin: 0 auto;
      }

      .tlx-manage-shell * {
        box-sizing: border-box;
      }

      /* Generic error card (for invalid links) */
      .tlx-manage-error-card {
        max-width: 560px;
        margin: 48px auto;
        padding: 28px 30px 26px;
        border-radius: 28px;
        background: #ffffff;
        border: 1px solid #fee2e2;
        color: #7f1d1d;
        font-size: 15px;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
      }

      /* PAGE HEADER --------------------------------------------------- */
      .tlx-manage-header-bar {
        margin-bottom: 24px;
      }

      .tlx-manage-page-title {
        font-size: 40px;
        line-height: 1.1;
        font-weight: 600;
        color: #121212;
        margin: 0 0 6px;
      }

      @media (max-width: 640px) {
        .tlx-manage-page-title {
          font-size: 32px;
        }
      }

      .tlx-manage-ref-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
      }

      .tlx-manage-ref-label {
        font-size: 14px;
        font-weight: 500;
        color: #646c78;
      }

      .tlx-manage-ref-pill {
        padding: 4px 12px;
        border-radius: 999px;
        background: #ffffff;
        border: 1px solid #eeeff0;
        font-size: 14px;
        font-weight: 700;
        color: #121212;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
      }

      /* CARD + STEP SYSTEM -------------------------------------------- */
      .tlx-manage-card {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
      }

      .tlx-manage-step {
        display: none;
        animation: tlx-manage-step-in 0.45s cubic-bezier(0.16, 1, 0.3, 1);
      }

      .tlx-manage-step--active {
        display: block;
      }

      @keyframes tlx-manage-step-in {
        from {
          opacity: 0;
          transform: translateY(10px) scale(0.98);
        }
        to {
          opacity: 1;
          transform: translateY(0) scale(1);
        }
      }

      /* MAIN VIEW (HERO + RIGHT COLUMN) ------------------------------ */
      .tlx-manage-main-layout {
        display: grid;
        grid-template-columns: minmax(0, 1.9fr) minmax(0, 1.1fr);
        gap: 28px;
      }

      @media (max-width: 960px) {
        .tlx-manage-main-layout {
          grid-template-columns: minmax(0, 1fr);
        }
      }

      /* Hero / left card */
         .tlx-manage-hero {
        position: relative;
        overflow: hidden;
        border-radius: 32px;
        background: #8ac48b;       /* flat, no gradient */
        color: #ffffff;
        padding: 30px 32px 26px;
      }


.tlx-hero-label-icon {
        width: 24px;
        height: 24px;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.25);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
      }

       @media (min-width: 960px) {
        .tlx-manage-hero {
          padding: 32px 40px 30px;
        }
      }
      
      
      
          .tlx-hero-label-text {
        font-size: 8px;
        text-transform: uppercase;
        font-weight: 600;
        opacity: 0.9;
      }
      
        .tlx-hero-top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 18px;
      }

      .tlx-manage-hero-kicker {
        font-size: 13px;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        font-weight: 600;
        opacity: 0.9;
        margin-bottom: 18px;
      }

      .tlx-manage-date-big {
        font-size: 34px;
        line-height: 1.15;
        font-weight: 600;
        letter-spacing: -0.03em;
        margin-bottom: 20px;
      }

      .tlx-manage-time-row {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 22px;
        font-size: 18px;
        font-weight: 600;
      }

      .tlx-manage-time-pill,
      .tlx-manage-duration-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 6px 14px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.6);
        background: rgba(255, 255, 255, 0.18);
        font-size: 13px;
        font-weight: 600;
      }

      .tlx-manage-status-dot {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: #22c55e;
      }

      .tlx-manage-status-pill--scheduled .tlx-manage-status-dot {
        background: #22c55e;
      }
      .tlx-manage-status-pill--rescheduled .tlx-manage-status-dot {
        background: #f59e0b;
      }
      .tlx-manage-status-pill--cancelled .tlx-manage-status-dot {
        background: #ef4444;
      }

      .tlx-manage-hero-divider {
        height: 1px;
        width: 100%;
        background: rgba(255, 255, 255, 0.4);
        margin-bottom: 18px;
      }

      .tlx-manage-hero-footer {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 36px;
        font-size: 13px;
      }

      @media (max-width: 640px) {
        .tlx-manage-hero-footer {
          grid-template-columns: minmax(0, 1fr);
        }
      }

       .tlx-hero-label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 14px;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.16);
      }

      .tlx-manage-hero-value {
        font-size: 14px;
        font-weight: 600;
      }

      /* Right column (summary + actions) ----------------------------- */
      .tlx-manage-right {
        display: flex;
        flex-direction: column;
        gap: 18px;
      }
      .tlx-manage-contact-card {
         background: #ffffff;
  border-radius: 24px;
  border: 1px solid #eeeff0;
  padding: 18px 20px 16px;
      }

      .tlx-contact-header {
        font-size: 13px;
        text-transform: uppercase;
        color: #9ca3af;
        margin-bottom: 10px;
        font-weight: 600;
      }

      .tlx-contact-row {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px 0;
      }

      .tlx-contact-icon {
        width: 34px;
  height: 34px;
  border-radius: 14px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
      }

      .tlx-contact-main {
        display: flex;
        flex-direction: column;
        gap: 2px;
      }
      
      .tlx-contact-icon img {
  width: 18px;
  height: 18px;
  display: block;
}

      .tlx-contact-label {
        font-size: 12px;
        color: #6b7280;
      }

      .tlx-contact-value {
        font-size: 14px;
        font-weight: 600;
        color: #111827;
      }

       .tlx-manage-actions-block {
        margin-top: 18px;
        display: flex;
        flex-direction: column;
        gap: 10px;
      }

      .tlx-action-row {
        width: 100%;
        border-radius: 26px;
        border: 1px solid transparent;
        padding: 14px 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        background: #ffffff;
        font-size: 15px;
        font-weight: 600;
        transition:
          background 0.18s ease,
          border-color 0.18s ease,
          transform 0.18s ease,
          box-shadow 0.18s ease;
      }

      .tlx-action-left {
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .tlx-action-icon {
        width: 32px;
        height: 32px;
        border-radius: 999px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
      }

    .tlx-action-row--primary,
.tlx-action-row--primary:hover {
  background-color: #8AC48B !important;
  border-color: #8AC48B !important;
  color: #FFFFFF !important;     
}
      .tlx-action-row--primary .tlx-action-icon {
        background: rgba(15, 23, 42, 0.2);
      }

     .tlx-action-row--secondary {
  background-color: #FFFFFF !important;
  border-color: #EEEFF0 !important;
  color: #111827 !important;
}

.tlx-action-row--secondary:hover {
  background-color: #F3F4F6 !important;   /* soft grey, readable */
  border-color: #D1D5DB !important;
  color: #111827 !important;              /* force readable text */
}


      .tlx-action-row--secondary .tlx-action-icon {
        background: #feecec;
        color: #ef4444;
      }

      .tlx-action-row:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
      }

      .tlx-action-row--secondary:hover {
        background: #f9fafb;
      }

      .tlx-action-row--disabled {
        opacity: 0.55 !important;
        cursor: not-allowed !important;
        transform: none !important;
        box-shadow: none !important;
        pointer-events: none;
      }

      .tlx-action-chevron {
        font-size: 18px;
        line-height: 1;
        opacity: 0.8;
      }

      /* Help card under buttons */

      .tlx-manage-help-card {
        margin-top: 14px;
        border-radius: 24px;
        background: #ffffff;
        border: 1px solid #eeeff0;
        padding: 16px 18px 14px;
      }

      .tlx-help-title {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 4px;
        color: #111827;
      }

      .tlx-help-sub {
        font-size: 13px;
        color: #6b7280;
        margin-bottom: 8px;
      }

      .tlx-help-link {
        font-size: 13px;
        font-weight: 600;
        color: #8ac48b;
        text-decoration: none;
      }

      .tlx-help-link:hover {
        text-decoration: underline;
      }


      /* FULL-WIDTH STEP CARDS (RESCHED / CANCEL / RESULT / ERROR) ---- */
      .tlx-manage-full-card {
        max-width: 880px;
        margin: 0 auto;
        border-radius: 32px;
        background: #ffffff;
        border: 1px solid #eeeff0;
        padding: 28px 26px 26px;
        box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
      }

      @media (min-width: 960px) {
        .tlx-manage-full-card {
          padding: 32px 36px 30px;
        }
      }

            .tlx-manage-back-row {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 14px;
        color: #646c78;
        cursor: pointer;
        margin-bottom: 16px;

        /* kill Elementor/global button styles */
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
      }

      .tlx-manage-back-row span:first-child {
        font-size: 18px;
        line-height: 1;
      }

      .tlx-manage-back-row:hover {
        color: #111827;
      }

      .tlx-manage-back-row:focus {
        outline: none;
      }


      .tlx-manage-back-row:hover {
        color: #111827;
      }

         /* RESCHEDULE VIEW ---------------------------------------------- */
      .tlx-manage-resched-title {
        font-size: 26px;
        font-weight: 600;
        letter-spacing: -0.04em;
        color: #121212;
        margin-bottom: 4px;
      }

      .tlx-manage-resched-sub {
        font-size: 14px;
        color: #121212;
        margin-bottom: 24px;
      }

      .tlx-manage-resched-card {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 32px;
  background: #F9F9F9;
  border: 1px solid #EEEFF0;
  padding: 32px 32px 24px;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .tlx-manage-resched-card {
    padding: 40px 48px 32px;
  }
}


     /* Date + time layout (same as consultation_form step 3) */
.tlx-date-time-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 900px) {
  .tlx-date-time-layout {
    flex-direction: row;
    align-items: flex-start;
  }
}

.tlx-calendar-card,
.tlx-time-card {
  flex: 1;
}

/* in the form, calendar/time cards sit on the same bg as the card itself,
   but your manage view already wraps them correctly, so no extra bg changes */

.tlx-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.tlx-calendar-caption {
  font-size: 14px;
  font-weight: 600;
  color: #121212;
}

.tlx-cal-nav-btn {
  all: unset;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF !important;
  border: 1px solid #E1E3E8 !important;
  color: #121212 !important;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.tlx-cal-nav-btn:hover {
  background: #F3F5F8 !important;
  border-color: #D2D7E0 !important;
  transform: translateY(-1px);
  color: #121212 !important;
}

.tlx-cal-nav-btn:focus,
.tlx-cal-nav-btn:active {
  background: #FFFFFF !important;
  border-color: #E1E3E8 !important;
  box-shadow: none !important;
  color: #121212 !important;
  transform: none;
}

.tlx-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-size: 12px;
}

.tlx-calendar-day-label {
  text-align: center;
  padding: 4px 0;
  color: #9AA0AB;
  font-weight: 500;
}

.tlx-calendar-date {
  border-radius: 999px;
  padding: 6px 0;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: #121212;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.tlx-calendar-date:hover {
  background: #F3F5F8;
  color: #121212;
}

.tlx-calendar-date.tlx-disabled {
  cursor: default;
  color: #D2D6DE;
}

.tlx-calendar-date.tlx-disabled:hover {
  background: transparent;
}

.tlx-calendar-date.tlx-selected,
.tlx-calendar-date.tlx-selected:hover {
  background: #8AC48B !important;
  color: #FFFFFF !important;
  border-color: #8AC48B !important;
  transform: translateY(-1px);
  box-shadow: none !important;
}

/* same slightly wonky selector as the form – left as-is for 1:1 */
.tlx-calendar-date.tlx-today:not(.tlx-selected):not(.tlx-disabled) {
  border-color: #D2D7E0;
}


/* Time pills */
.tlx-time-label {
  font-size: 14px;
  font-weight: 600;
  color: #121212;
  margin-bottom: 8px;
}

.tlx-time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 600px) {
  .tlx-time-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tlx-time-pill {
  border-radius: 18px;
  border: 1px solid #EEEFF0;
  background: #FFFFFF;
  font-size: 14px;
  padding: 8px 10px;
  text-align: center;
  cursor: pointer;
  color: #121212;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.tlx-time-pill:hover {
  border-color: #D2D7E0 !important;
  background: #FFFFFF !important;
  box-shadow: 0 8px 18px rgba(15,23,42,0.05);
  transform: translateY(-1px);
  color: #121212 !important;
}

.tlx-time-pill.tlx-selected,
.tlx-time-pill.tlx-selected:hover {
  border-width: 2px;
  border-color: #8AC48B !important;
  background: #E6F0EA !important;
  box-shadow: none !important;
  color: #121212 !important;
  transform: translateY(-1px);
}

/* Time loading / empty states – copy */
.tlx-time-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
}

.tlx-time-loading-spinner {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 3px solid #CDE4CF;
  border-top-color: #8AC48B;
  animation: tlx-spin 0.9s linear infinite;
}

.tlx-time-empty {
  font-size: 13px;
  color: #9AA0AB;
  text-align: left;
}

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


      /* CANCEL VIEW --------------------------------------------------- */
      .tlx-manage-cancel-icon-wrap {
        width: 64px;
        height: 64px;
        border-radius: 24px;
        border: 2px solid #fee2e2;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 18px;
      }

      .tlx-manage-cancel-icon {
        font-size: 28px;
        color: #ef4444;
      }

      .tlx-manage-cancel-title {
        font-size: 32px;
        font-weight: 800;
        letter-spacing: -0.04em;
        color: #121212;
        margin-bottom: 6px;
      }

      .tlx-manage-cancel-text {
        font-size: 14px;
        color: #646c78;
        margin-bottom: 22px;
      }

      .tlx-manage-cancel-summary {
        border-radius: 22px;
        background: #f9fafb;
        padding: 14px 16px 12px;
        margin-bottom: 20px;
      }

      .tlx-manage-cancel-summary-label {
        font-size: 11px;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: #9ca3af;
        margin-bottom: 4px;
      }

      .tlx-manage-cancel-summary-title {
        font-size: 16px;
        font-weight: 700;
        color: #111827;
        margin-bottom: 4px;
      }

      .tlx-manage-cancel-summary-meta {
        font-size: 13px;
        color: #6b7280;
      }

      .tlx-manage-cancel-footer {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }

      /* Centered cancel + cancelled views -------------------------------- */
      .tlx-manage-step--cancel .tlx-manage-full-card,
      .tlx-manage-step--cancelled .tlx-manage-full-card,
      .tlx-manage-cancelled-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .tlx-manage-cancel-text,
      .tlx-manage-cancelled-text {
        max-width: 70ch;
      }

      .tlx-manage-cancel-summary {
        width: 100%;
        max-width: 560px;
      }

      .tlx-manage-cancel-footer {
        justify-content: center;
        width: 100%;
      }

      .tlx-manage-cancelled-footer {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        width: 100%;
      }

      /* Buttons (Cancel + cancelled states) */
      .tlx-manage-btn {
        all: unset;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 16px;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        user-select: none;
        text-decoration: none !important;
        line-height: 1.1;
        transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
        box-shadow: none !important;
      }

      .tlx-manage-btn-primary {
        background: #FFFFFF;
        border: 1px solid #EEEFF0;
        color: #121212;
      }

      .tlx-manage-btn-primary:hover {
        background: #F3F5F8;
        border-color: #D2D7E0;
        transform: translateY(-1px);
      }

      .tlx-manage-btn-danger {
        background: #FEECEC;
        border: 1px solid #F97373;
        color: #F97373;
      }

      .tlx-manage-btn-danger:hover {
        background: #F97373;
        border-color: #F97373;
        color: #FFFFFF;
        transform: translateY(-1px);
      }

      .tlx-manage-btn:active {
        transform: translateY(0);
      }

      @media (max-width: 520px) {
        .tlx-manage-btn {
          width: 100%;
        }
      }

      /* RESULT + ERROR VIEWS ----------------------------------------- */
      .tlx-manage-result-icon {
        width: 72px;
        height: 72px;
        border-radius: 999px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 18px;
        font-size: 32px;
        font-weight: 700;
      }

      .tlx-manage-result-icon--success {
        border: 3px solid #8ac48b;
        color: #8ac48b;
      }

      .tlx-manage-result-icon--error {
        border: 3px solid #f97373;
        color: #f97373;
      }

      .tlx-manage-result-title {
        font-size: 26px;
        font-weight: 800;
        letter-spacing: -0.03em;
        color: #121212;
        margin-bottom: 8px;
      }

      .tlx-manage-result-text {
        font-size: 14px;
        color: #646c78;
        margin-bottom: 22px;
      }

      .tlx-manage-result-footer {
        display: flex;
        justify-content: flex-end;
      }

      /* TOAST --------------------------------------------------------- */
      .tlx-manage-toast {
        position: fixed;
        left: 50%;
        bottom: 24px;
        transform: translateX(-50%) translateY(20px);
        background: #111827;
        color: #ffffff;
        padding: 10px 16px;
        border-radius: 999px;
        font-size: 13px;
        opacity: 0;
        pointer-events: none;
        transition:
          opacity 0.22s ease,
          transform 0.22s ease;
        z-index: 9999;
      }

      .tlx-manage-toast--visible {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
      }
      
      
      
       .tlx-hero-duration {
        padding: 6px 16px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.7);
        background: rgba(15, 23, 42, 0.05);
        font-size: 12px;
        font-weight: 700;
      }


      .tlx-hero-time-icon {
        width: 28px;
        height: 28px;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.18);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
      }

      .tlx-manage-time-tag {
        padding: 6px 14px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.4);
        background: rgba(255, 255, 255, 0.18);
        font-size: 13px;
        font-weight: 600;
      }

      .tlx-manage-status-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 7px 16px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.4);
        background: rgba(15, 23, 42, 0.18);
        font-size: 13px;
        font-weight: 600;
      }

      .tlx-manage-status-dot {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: #22c55e;
      }

      /* different status colours can stay as you had, if any */

      .tlx-manage-virtual {
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        background: rgba(15, 23, 42, 0.08);
        padding: 12px 16px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
      }

      .tlx-virtual-icon {
        width: 32px;
        height: 32px;
        border-radius: 12px;
        background: rgba(15, 23, 42, 0.25);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        flex-shrink: 0;
      }

      .tlx-virtual-label {
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        margin-bottom: 2px;
      }

      .tlx-virtual-sub {
        font-size: 13px;
        opacity: 0.92;
      }
      
      
            .tlx-manage-service-card {
        margin-top: 18px;
        border-radius: 24px;
        background: #ffffff;
        border: 1px solid #eeeff0;
        padding: 18px 20px;
        display: flex;
        align-items: center;
        gap: 16px;
      }

      .tlx-service-icon-wrap {
        width: 44px;
        height: 44px;
        border-radius: 18px;
        background: #e6f0ea;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }

      .tlx-service-icon {
        font-size: 18px;
        color: #8ac48b !important;
        font-weight: 700;
      }

      .tlx-service-main {
        display: flex;
        flex-direction: column;
        gap: 3px;
      }

      .tlx-service-kicker {
        font-size: 11px;
        text-transform: uppercase;
        color: #9ca3af;
      }

      .tlx-service-title {
        font-size: 16px;
        font-weight: 700;
        color: #111827;
      }

      .tlx-service-desc {
        font-size: 13px;
        color: #6b7280;
      }

      .tlx-hero-label-icon,
.tlx-hero-time-icon,
.tlx-virtual-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tlx-hero-label-icon img,
.tlx-hero-time-icon img,
.tlx-virtual-icon img {
  width: 18px;
  height: 18px;
  display: block;
}

      #tlx-manage-resched-save {
        min-width: 190px;
        border-radius: 999px;
      }
      
      
      /* Button system – copied from consultation_form */
.tlx-btn {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
  
  /* kill any Elementor/button defaults */
  border: none !important;
  box-shadow: none !important;
}

/* primary “Spara ny tid” pill – SAME as form continue */
.tlx-btn-next {
  background: #E6F0EA !important;
  color: #8AC48B !important;
  min-width: 140px;
  justify-content: center;
  box-shadow: none !important;
  border: none !important;          /* <— kill pink border */
}

.tlx-btn-next.tlx-active {
  background: #8AC48B !important;
  color: #FFFFFF !important;
  border: none !important;          /* <— keep border gone when active */
}

.tlx-btn-next:hover {
  background: #8AC48B !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
  transform: translateY(-1px);
  border: none !important;
}

.tlx-btn-next.tlx-disabled {
  opacity: 0.5;
  cursor: default;
  background: #E6F0EA !important;
  color: #8AC48B !important;
  border: none !important;          /* <— disabled state too */
}

.tlx-btn-next.tlx-disabled:hover {
  background: #E6F0EA !important;
  color: #8AC48B !important;
  box-shadow: none !important;
  transform: none;
  border: none !important;
}

.tlx-manage-resched-footer{
    display: flex;
    justify-content: flex-end;
}

  .tlx-input-wrap {
    border-radius: 16px;
    background: #F9FAFB;
    border: 1px solid #E1E3E8;
    padding: 10px 14px;
    transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      background 0.2s ease;
  }

.tlx-calendar-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tlx-time-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tlx-field-label{
       font-size: 14px;
    font-weight: 600;
    color: #121212;
    margin-bottom: 4px; 
    
}

/* Reschedule time pills: visibly disabled (strong) */
.tlx-time-pill.tlx-disabled,
.tlx-time-pill:disabled {
  opacity: 0.35 !important;
  background: #f3f4f6 !important;
  border-color: #e5e7eb !important;
  color: #9ca3af !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* Prevent hover/active effects on disabled pills */
.tlx-time-pill.tlx-disabled:hover,
.tlx-time-pill:disabled:hover,
.tlx-time-pill.tlx-disabled:active,
.tlx-time-pill:disabled:active {
  transform: none !important;
  filter: none !important;
  background: #f3f4f6 !important;
  border-color: #e5e7eb !important;
  box-shadow: none !important;
  color: #9ca3af !important;
}

/* Only tweak spacing if needed inside manage card */
.tlx-manage-thankyou {
  padding: 10px 0;
}



/* LOADING STEP (match main form look) */
.tlx-manage-step--loading .tlx-manage-loading-card {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid #eeeff0;
  padding: 70px 28px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
  text-align: center;
}

/* soft green circle behind spinner (like screenshot) */
.tlx-manage-loading-spinner {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: #e6f0ea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
}

/* the actual spinning ring */
.tlx-manage-loading-spinner::after {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 3px solid #cde4cf;
  border-top-color: #8ac48b;
  animation: tlx-spin 0.9s linear infinite;
}

.tlx-manage-loading-title {
  font-size: 22px;
  font-weight: 700;
  color: #121212;
  margin-bottom: 6px;
}

.tlx-manage-loading-sub {
  font-size: 13px;
  color: #646c78;
}

.tlx-manage-loading-sub {
  font-size: 13px;
  color: #646C78;
}


/* RESULT STEP — style like main booking confirmation */
.tlx-manage-step--result .tlx-consult-thankyou {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid #eeeff0;
  padding: 46px 34px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

.tlx-thanks-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: #e6f0ea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.tlx-thanks-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 3px solid #8ac48b;
  color: #8ac48b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
}

.tlx-thanks-title {
  font-size: 28px;
  font-weight: 800;
  color: #121212;
  margin-bottom: 6px;
}

.tlx-thanks-subtitle {
  font-size: 14px;
  color: #646c78;
  margin-bottom: 22px;
}

.tlx-thanks-details {
  margin-top: 10px;
  margin-bottom: 26px;
}

.tlx-thanks-details-title {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
  font-weight: 700;
  margin-bottom: 10px;
}

.tlx-thanks-row {
  font-size: 14px;
  color: #121212;
  font-weight: 600;
  padding: 4px 0;
}

.tlx-thanks-next h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #121212;
}

.tlx-thanks-next ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.tlx-thanks-next li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  color: #121212;
  font-size: 14px;
}

.tlx-thanks-check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #e6f0ea;
  color: #8ac48b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}



/* smoother step transition */
.tlx-manage-step {
  animation: tlx-manage-step-in 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tlx-manage-step-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}



/* ============================================================
   OVERRIDES ONLY:
   - Back button styling (match main form)
   - Loading step (match main form)
   - Result/success step (match main form)
   ============================================================ */

/* ---- 1) GLOBAL BACK BUTTON (match .tlx-btn-back) ---- */
#tlx-manage-back-global.tlx-manage-back-row {
  /* make it behave like the form back button */
  color: #121212 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, color 0.2s ease !important;
}

#tlx-manage-back-global.tlx-manage-back-row:hover {
  transform: translateX(-1px) !important;
  color: #121212 !important;
}

#tlx-manage-back-global.tlx-manage-back-row:focus-visible {
  outline: 2px solid #8AC48B !important;
  outline-offset: 2px !important;
}

/* ---- 2) LOADING STEP (1:1 with main form loading) ---- */
.tlx-manage-step--loading .tlx-manage-loading-card {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 32px;
  background: #F9F9F9;
  border: 1px solid #EEEFF0;
  padding: 64px 32px 56px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: none; /* main card has no shadow */
  animation: tlx-card-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (min-width: 1024px) {
  .tlx-manage-step--loading .tlx-manage-loading-card {
    padding: 72px 48px 64px;
  }
}

/* reuse main form's visual: big soft circle + spinner inside */
.tlx-manage-loading-spinner {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: #E6F0EA;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.tlx-manage-loading-spinner::after {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid #CDE4CF;
  border-top-color: #8AC48B;
  animation: tlx-spin 0.9s linear infinite;
}

.tlx-manage-loading-title,
.tlx-manage-loading-sub {
  opacity: 0;
  transform: translateY(10px);
  animation: tlx-loading-text-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tlx-manage-loading-title {
  font-size: 22px;
  font-weight: 600;
  color: #121212;
  margin-bottom: 6px;
  animation-delay: .10s;
}

.tlx-manage-loading-sub {
  font-size: 14px;
  color: #646C78;
  animation-delay: .18s;
}

/* ---- 3) RESULT STEP (center 1:1 like main form thank-you) ---- */
.tlx-manage-step--result .tlx-consult-thankyou {
  /* match main form thank-you container */
  max-width: 960px;
  margin: 0 auto;
  border-radius: 32px;
  background: #F9F9F9;
  border: 1px solid #EEEFF0;
  padding: 32px 32px 24px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: none;
  animation: tlx-card-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (min-width: 1024px) {
  .tlx-manage-step--result .tlx-consult-thankyou {
    padding: 40px 48px 32px;
  }
}

/* match main form icon sizing + bounce */
.tlx-manage-step--result .tlx-thanks-icon-wrap {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: #E6F0EA;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: tlx-bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.tlx-manage-step--result .tlx-thanks-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 3px solid #8AC48B;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8AC48B;
  font-size: 26px;
  font-weight: 700;
}

/* staggered entrance like the main form */
.tlx-manage-step--result .tlx-thanks-title,
.tlx-manage-step--result .tlx-thanks-subtitle,
.tlx-manage-step--result .tlx-thanks-details,
.tlx-manage-step--result .tlx-thanks-next,
.tlx-manage-step--result .tlx-manage-result-footer {
  opacity: 0;
  transform: translateY(16px);
  animation: tlx-thanks-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tlx-manage-step--result .tlx-thanks-title { animation-delay: .20s; }
.tlx-manage-step--result .tlx-thanks-subtitle { animation-delay: .30s; }
.tlx-manage-step--result .tlx-thanks-details { animation-delay: .40s; }
.tlx-manage-step--result .tlx-thanks-next { animation-delay: .50s; }
.tlx-manage-step--result .tlx-manage-result-footer { animation-delay: .58s; }

.tlx-manage-step--result .tlx-thanks-title {
  font-size: 32px;
  font-weight: 700;
  color: #121212;
  margin-bottom: 8px;
}

.tlx-manage-step--result .tlx-thanks-subtitle {
  font-size: 16px;
  color: #646C78;
  margin-bottom: 24px;
}

/* details box exactly like main form */
.tlx-manage-step--result .tlx-thanks-details {
  background: #F3F4F6;
  border-radius: 24px;
  padding: 18px 20px;
  margin: 0 auto 20px;
  max-width: 520px;
}

.tlx-manage-step--result .tlx-thanks-details-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7A808C;
  font-weight: 600;
  margin-bottom: 10px;
}

.tlx-manage-step--result .tlx-thanks-row {
  display: flex;
  align-items: center;
  justify-content: center; /* this is what you wanted */
  gap: 8px;
  font-size: 14px;
  color: #121212;
  margin-bottom: 6px;
}

.tlx-manage-step--result .tlx-thanks-row:last-child {
  margin-bottom: 0;
}

.tlx-manage-step--result .tlx-thanks-next {
  max-width: 520px;
  margin: 0 auto 8px;
  text-align: left;
}

.tlx-manage-step--result .tlx-thanks-next h3 {
  font-size: 15px;
  font-weight: 600;
  color: #121212;
  margin-bottom: 8px;
}

.tlx-manage-step--result .tlx-thanks-next ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tlx-manage-step--result .tlx-thanks-next li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  color: #646C78;
  margin-bottom: 6px;
}

.tlx-manage-step--result .tlx-thanks-check {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #E6F0EA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #8AC48B;
  margin-top: 2px;
}

/* footer button centered (yours is currently right-aligned) */
.tlx-manage-step--result .tlx-manage-result-footer {
  display: flex;
  justify-content: center !important;
  margin-top: 18px;
}

/* ensure the result back button matches the form primary button feel */
#tlx-manage-result-back.tlx-manage-btn {
  background: #E6F0EA !important;
  color: #8AC48B !important;
  border-radius: 999px !important;
  padding: 10px 22px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: none !important;
  box-shadow: none !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease !important;
}

#tlx-manage-result-back.tlx-manage-btn:hover {
  background: #8AC48B !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
}

/* ---- Animations: copied 1:1 from main form ---- */
@keyframes tlx-card-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes tlx-bounce-in {
  0% { transform: scale(0); }
  60% { transform: scale(1.07); }
  100% { transform: scale(1); }
}

@keyframes tlx-thanks-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tlx-loading-text-in {
  to { opacity: 1; transform: translateY(0); }
}
