body {
  background: #e2e7ed !important;
}

body .label {
  font-size: 13px;
}

body .busy_time_info {
  margin-left: 10px;
  background: #fb4862;
}

body .available_time_info {
  background: #2663eb;
}

body .go_back_button {
  font-weight: 500;
  font-size: 16px;
}

body .busy_time_info_google {
  background: #fb4862;
}

body .busy_time {
  background: #fb4862 !important;
  color: #fff !important;
  pointer-events: none;
}

body .has-error .form-control:focus {
  border-color: #ff0300 !important;
  box-shadow: none !important;
}

body .busy_google_time {
  background: #fb4862 !important;
  color: #fff !important;
  font-weight: 300 !important;
  pointer-events: none;
}

.appointment-header {
  display: flex;
  justify-content: center;
}

.appointment_logo img {
  max-width: 150px;
  height: auto;
  float: left;
}

.logo.img-responsive.navbar-brand.logo {
  margin-bottom: 0;
  margin-left: -20px;
}

.logo.img-responsive.navbar-brand.logo {
  margin-bottom: 0;
  margin-left: -20px;
}

.datetimepicker {
  background: #fff !important;
}

.mtop6 {
  margin-top: 6px !important;
}

.mtop35 {
  margin-top: 35px;
}

.appointment_type_holder .appointment_color_type {
  height: 30px;
  width: 30px;
  margin-top: 3px;
}

.appointment_type_holder .dropdown-menu li a:hover,
.appointment_type_holder .dropdown-menu li a {
  border: none !important;
  border-radius: 0px !important;
  padding: 8px 20px;
}

.appointment_type_holder .bootstrap-select {
  float: left;
}

.main_wrapper {
  padding: 25px;
  box-shadow: 0px 0px 0px 1px rgb(1 1 1 / 8%);
  background: #fff;
}

.hwp {
  border-radius: 4px;
  padding: 4px 10px;
  color: #fff;
}

body input {
  height: 38px !important;
}

body textarea,
body input {
  border: 1px solid #ececec !important;
}

.hours_wrapper {
  display: flex;
  margin-top: 20px !important;
}

@media only screen and (max-device-width: 360px) and (-webkit-device-pixel-ratio: 3) {
  .xdsoft_datetimepicker {
    left: 2px !important;
  }

  .btn {
    width: 100%;
  }
}

/* Fix progress steps mobile overflow - MINIMAL FIX */
@media (max-width: 640px) {
  .progress-steps-container {
    padding: 0 4px !important;
  }

  .step-indicator {
    min-width: 50px !important;
    flex: 1 !important;
  }

  .step-indicator .step-title {
    font-size: 9px !important;
    line-height: 1.1 !important;
  }

  .step-indicator .step-number {
    width: 20px !important;
    height: 20px !important;
    font-size: 10px !important;
  }

  .step-line {
    margin: 0 2px !important;
    top: -14px !important;
  }
}

/* Blocked dates in calendar */
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled {
  background: #ffeeee !important;
  /* Light red background */
  color: #ff0000 !important;
  /* Red text */
  opacity: 0.6;
}

/* Current date when it's blocked */
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled.xdsoft_current {
  background: #ff0000 !important;
  color: #ffffff !important;
  box-shadow: #ff0000 0 1px 3px 0 inset;
}

/* Hover effect on blocked dates */
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled:hover {
  background: #ffcccc !important;
  color: #ff0000 !important;
}

/* Busy times in time picker */
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time.busy_time {
  background: #ffeeee !important;
  color: #ff0000 !important;
}

.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time.busy_time:hover {
  background: #ffcccc !important;
  color: #ff0000 !important;
}

/* Improved header styling */
.appointments-external-form .main_wrapper {
  @apply tw-bg-white tw-rounded-xl tw-shadow-md;
}

/* Custom select styling */
.selectpicker {
  @apply tw-appearance-none tw-bg-white tw-cursor-pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25em 1.25em;
  padding-right: 2.5rem;
}

/* Disabled select styling */
.selectpicker:disabled {
  @apply tw-bg-neutral-50 tw-cursor-not-allowed tw-opacity-75;
}

/* Remove default select arrow in IE/Edge */
.selectpicker::-ms-expand {
  display: none;
}

/* Base styles */
.appointments-external-form {
  @apply tw-bg-neutral-50;
}

.main_wrapper {
  @apply tw-bg-white tw-rounded-xl tw-shadow-md tw-p-8 tw-max-w-3xl tw-mx-auto;
}

/* Header styling */
.appointment-header {
  @apply tw-mb-8;
}

.appointment-header h4 {
  @apply tw-text-3xl tw-font-bold tw-text-neutral-900 tw-tracking-tight;
}

.appointment-header p {
  @apply tw-text-lg tw-text-neutral-600 tw-mt-2;
  @apply tw-text-lg tw-text-neutral-600 tw-mt-2;
}

.appointment-header hr {
  @apply tw-border-t tw-border-neutral-200 tw-my-6 tw-max-w-md tw-mx-auto;
}

/* Form sections */
.form-section {
  @apply tw-mb-8 tw-p-6 tw-bg-neutral-50 tw-rounded-lg tw-border tw-border-neutral-200;
}

.form-section-title {
  @apply tw-text-lg tw-font-semibold tw-text-neutral-800 tw-mb-4;
}

/* Form controls */
.form-group {
  @apply tw-relative tw-mb-6;
}

.form-group label {
  @apply tw-block tw-text-sm tw-font-medium tw-text-neutral-700 tw-mb-2;
}

.form-group label.error,
.invalid-feedback {
  @apply tw-absolute tw-text-sm tw-text-red-600 tw-mt-1 tw-left-0 tw-bottom-0 tw-translate-y-full;
}

/* Add more space below inputs to accommodate error messages */
.form-group {
  @apply tw-mb-6;
}

/* Specific styling for select validation */
.bootstrap-select.form-control+.error {
  @apply tw-mt-1 tw-block tw-static tw-text-sm tw-text-red-600;
}

/* Error state for inputs */
.form-control.error,
.form-control.is-invalid {
  @apply tw-border-red-500 focus:tw-border-red-500 focus:tw-ring-red-500;
}

/* Error state for select */
.bootstrap-select.is-invalid .dropdown-toggle {
  @apply tw-border-red-500;
}

.form-control {
  @apply tw-w-full tw-rounded-lg tw-border-neutral-300 tw-shadow-sm;
  @apply focus:tw-ring-2 focus:tw-ring-primary-500 focus:tw-border-primary-500;
  @apply hover:tw-border-neutral-400;
  transition: all 0.2s ease;
}

/* Working hours section */
#provider_schedule {
  @apply tw-mt-6 tw-p-6 tw-bg-neutral-50 tw-rounded-lg tw-border tw-border-neutral-200;
}

.working-hours-title {
  @apply tw-text-sm tw-font-medium tw-text-neutral-700 tw-mb-4;
}

.working-hours-list {
  @apply tw-space-y-3;
}

.working-hours-item {
  @apply tw-flex tw-justify-between tw-items-center tw-text-sm tw-text-neutral-600;
}

/* Submit button */
.btn-primary {
  @apply tw-bg-primary-600 tw-text-white tw-font-medium tw-px-6 tw-py-3 tw-rounded-lg tw-shadow-sm;
  @apply hover:tw-bg-primary-700 focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-offset-2 focus:tw-ring-primary-500;
  @apply disabled:tw-opacity-50 disabled:tw-cursor-not-allowed;
  transition: all 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .main_wrapper {
    @apply tw-p-4;
  }

  .form-section {
    @apply tw-p-4;
  }
}

/* Loading states */
.form-loading {
  @apply tw-opacity-50 tw-pointer-events-none;
}

/* Success states */
.is-valid {
  @apply tw-border-green-500 focus:tw-border-green-500 focus:tw-ring-green-500;
}

/* Date and Location styling */
.input-group.date {
  @apply tw-flex tw-items-center tw-w-full tw-relative;
}

.input-group.date input {
  @apply tw-rounded-lg tw-border-neutral-300 tw-pr-10;
}

.input-group.date .input-group-addon {
  @apply tw-absolute tw-right-3 tw-top-1/2 tw-transform -tw-translate-y-1/2 tw-pointer-events-none tw-text-neutral-500;
}

.calendar-icon {
  @apply tw-text-lg;
}

/* Datepicker styling */
.bootstrap-datetimepicker-widget {
  @apply tw-bg-white tw-shadow-lg tw-rounded-lg tw-border tw-border-neutral-200 !important;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  @apply tw-bg-primary-600 tw-text-white !important;
}

.bootstrap-datetimepicker-widget table td {
  @apply tw-text-center tw-p-2 tw-cursor-pointer hover:tw-bg-neutral-100 tw-rounded;
}

/* Terms and conditions styling */
.checkbox {
  @apply tw-relative;
}

.checkbox input[type="checkbox"] {
  @apply tw-h-4 tw-w-4 tw-rounded tw-border-neutral-300 tw-text-primary-600;
  @apply focus:tw-ring-primary-500;
}

.checkbox label {
  @apply tw-ml-2 tw-block tw-text-sm tw-font-medium tw-text-neutral-700;
}

/* Error state */
.has-error .checkbox input[type="checkbox"] {
  @apply tw-border-red-500;
}

.has-error .checkbox label {
  @apply tw-text-red-600;
}

/* Disabled submit button */
.btn-primary:disabled {
  @apply tw-opacity-50 tw-cursor-not-allowed;
}

/* Booking form step by step styling */
.booking-step {
  @apply tw-transition-opacity tw-duration-150 tw-ease-in-out;
}

.booking-step.tw-opacity-0 {
  @apply tw-opacity-0;
}

.form-booking-steps .step-indicator {
  position: relative;
  z-index: 5;
}

.form-booking-steps .progress-bar {
  transition: width 0.5s ease-in-out, background-color 0.5s ease-in-out;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Step indicator styles */
.step-indicator .step-number {
  position: relative;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.step-indicator.active .step-number {
  background-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.step-indicator.completed .step-number {
  background-color: #10b981;
}

.step-indicator .step-title {
  transition: color 0.3s ease;
}

.step-indicator.active .step-title {
  color: #3b82f6;
  font-weight: 500;
}

.step-indicator.completed .step-title {
  color: #10b981;
  font-weight: 500;
}

/* Connecting lines between steps - MUCH MORE VISIBLE */
.connecting-line {
  height: 4px !important;
  /* Thicker line */
  background-color: #e5e7eb;
  transition: background-color 0.5s ease;
  position: relative;
  margin: 0 8px;
  top: 16px;
  /* Align with the middle of the circles */
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Active connecting line */
#connecting-line-1-2.active,
#connecting-line-2-3.active,
#connecting-line-3-4.active {
  background-color: #3b82f6;
  /* Blue for active */
  height: 4px !important;
}

/* Completed connecting line */
#connecting-line-1-2.completed,
#connecting-line-2-3.completed,
#connecting-line-3-4.completed {
  background-color: #10b981;
  /* Green for completed */
  height: 4px !important;
}

/* Mobile responsive adjustments for connecting lines */
@media (max-width: 768px) {
  .connecting-line {
    margin: 0 4px;
  }

  .step-indicator .step-number {
    width: 28px !important;
    height: 28px !important;
  }

  .step-indicator .step-title {
    font-size: 0.7rem;
  }
}

.appointly-booking-service-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  isolation: isolate;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #f3f6f9;
  border: 1px solid #e5e7eb;
}

.appointly-booking-service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons styling */
.btn-prev-step {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.btn-prev-step i {
  margin-right: 0.5rem;
}

.btn-next-step:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Custom time slots */
.time-slots-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .time-slots-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .time-slots-container {
    grid-template-columns: 1fr;
  }
}

.time-slot {
  padding: 12px;
  text-align: center;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: white;
  font-weight: 500;
}

.time-slot:hover:not(.selected):not(.busy) {
  background-color: #f9fafb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.time-slot.selected {
  background-color: rgba(2, 132, 199, 0.08);
  color: #0284c7;
  border-color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(2, 132, 199, 0.2);
}

.time-slot.busy {
  background-color: #fee2e2;
  color: #b91c1c;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Animation for transitions */
.step-indicator.completed .step-number {
  background-color: #10b981;
}

.step-indicator .step-title {
  color: #6b7280;
}

.step-indicator.active .step-title {
  color: #0284c7;
  font-weight: 500;
}

.step-indicator.completed .step-title {
  color: #10b981;
  font-weight: 500;
}

/* Form Steps */
.booking-step {
  display: none;
}

.booking-step.active {
  display: block;
}

/* Fix for time picker display */
.xdsoft_datetimepicker .xdsoft_timepicker {
  width: 100px;
}

/* Blocked days styling - make it more obvious */
.xdsoft_date.blocked-date,
td.xdsoft_date.xdsoft_disabled.blocked-date {
  background: #ffebee !important;
  color: #c62828 !important;
  position: relative !important;
  cursor: not-allowed !important;
}

.xdsoft_date.blocked-date:before,
td.xdsoft_date.xdsoft_disabled.blocked-date:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c62828'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728A9 9 0 015.636 5.636m12.728 12.728L5.636 5.636'%3E%3C/path%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 70%;
  opacity: 0.7;
  z-index: 10;
}

/* Add tooltip styling for the datepicker - improved version */
.xdsoft_datetimepicker .xdsoft_calendar td {
  position: relative;
}

/* Custom tooltip for blocked dates - simplified version that works with title attributes */
.xdsoft_date[title]:hover:after,
.xdsoft_date.blocked-date[title]:hover:after,
.xdsoft_date.provider-unavailable[title]:hover:after {
  content: attr(title);
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10000;
  width: auto;
  min-width: 100px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Busy times styling */
.xdsoft_time.busy_time {
  background: #f8d7da !important;
  color: #721c24 !important;
}

/* Time slots styling */
.time-slot-btn {
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px 16px;
  background-color: white;
  color: #374151;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.time-slot-btn:hover:not(.selected) {
  transform: translateY(-1px);
  border-color: #d1d5db;
  background-color: #f9fafb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.time-slot-btn.selected {
  border-color: #0284c7 !important;
  background-color: rgba(2, 132, 199, 0.08) !important;
  color: #0284c7 !important;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(2, 132, 199, 0.2),
    0 2px 4px -1px rgba(2, 132, 199, 0.1) !important;
  transform: translateY(-1px);
}

.time-slot-btn.selected::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230284c7'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'%3E%3C/path%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px;
}

/* Custom styles */
.ui-datepicker-unselectable {
  opacity: 0.5;
}

.xdsoft_disabled.blocked-date {
  background-color: #ffdddd !important;
  color: #999 !important;
}

.xdsoft_disabled.provider-unavailable {
  background-color: #ffe8cc !important;
  color: #999 !important;
}

/* Date picker legend styles */
.date-picker-legend {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.legend-color.blocked {
  background-color: #ffdddd;
}

.legend-color.unavailable {
  background-color: #ffe8cc;
}

.legend-color.available {
  background-color: #fff;
  border: 1px solid #ddd;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
  .form-booking-steps .step-title {
    font-size: 0.75rem;
  }

  .time-slots-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-booking-steps .step-indicator:not(:last-child)::after {
    display: none;
  }
}

.step-indicator {
  min-width: 80px;
  /* Ensure steps have minimum width */
}

/* Animate step transitions */
.booking-step.hidden {
  opacity: 0;
  display: none;
}

.booking-step.active {
  opacity: 1;
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.progress-steps-container {
  margin-bottom: -3px;
}

/* Step line styling - VERY PROMINENT */
.step-line {
  height: 6px !important;
  background-color: #e5e7eb;
  border-radius: 3px;
  position: relative;
  transition: background-color 0.5s ease, height 0.3s ease;
  top: -25px;
  /* Position lines to align with the middle of circles */
}

/* Step lines styling for active and completed steps */
#line-1-2.active,
#line-2-3.active,
#line-3-4.active {
  background-color: #3b82f6;
  /* Blue for active */
}

#line-1-2.completed,
#line-2-3.completed,
#line-3-4.completed {
  background-color: #10b981;
  /* Green for completed */
}

/* Step number styling */
.step-number {
  transition: background-color 0.3s ease;
  position: relative;
  z-index: 10;
  /* Ensure circles appear above lines */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Step indicator styling */
.step-indicator {
  min-width: 90px;
  position: relative;
  z-index: 5;
}

.step-indicator.active .step-number {
  background-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.step-indicator.completed .step-number {
  background-color: #10b981;
}

.step-indicator .step-title {
  transition: color 0.3s ease;
}

.step-indicator.active .step-title {
  color: #3b82f6;
  font-weight: 500;
}

.step-indicator.completed .step-title {
  color: #10b981;
  font-weight: 500;
}

/* Progress bar styling */
.progress-bar {
  transition: width 0.5s ease-in-out, background-color 0.5s ease-in-out;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .step-line {
    top: -20px;
    height: 4px !important;
  }

  .step-number {
    width: 24px !important;
    height: 24px !important;
    font-size: 12px;
  }

  .step-indicator .step-title {
    font-size: 0.7rem;
  }
}

/* Modern booking experience */
.appointly-modern-booking {
  --appointly-ink: #172033;
  --appointly-muted: #667085;
  --appointly-soft: #f6f8fb;
  --appointly-line: #d9e1ec;
  --appointly-primary: #2663eb;
  --appointly-primary-dark: #1d4ed8;
  --appointly-success: #0f9f6e;
  --appointly-coral: #f97362;
  background:
    linear-gradient(135deg, rgba(38, 99, 235, 0.08), transparent 34%),
    linear-gradient(225deg, rgba(15, 159, 110, 0.08), transparent 32%),
    #eef3f8 !important;
  color: var(--appointly-ink);
}

.appointly-booking-shell {
  position: relative;
  overflow: hidden;
}

.appointly-booking-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 32, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 51, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.appointly-modern-booking .container {
  width: min(1180px, calc(100% - 28px));
  max-width: none;
}

.appointly-modern-booking .main_wrapper,
.appointly-booking-panel {
  width: 100% !important;
  max-width: 1120px !important;
  min-height: calc(100vh - 64px);
  float: none !important;
  margin: 0 auto !important;
  padding: 34px !important;
  border: 1px solid rgba(217, 225, 236, 0.9);
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 24px 80px rgba(23, 32, 51, 0.14);
  backdrop-filter: blur(14px);
}

.appointly-modern-booking .booking-step.active {
  display: flex;
  min-height: clamp(360px, calc(100vh - 430px), 680px);
  flex-direction: column;
}

.appointly-modern-booking .booking-step.active>.tw-flex.tw-justify-end {
  margin-top: auto !important;
  padding-top: 26px;
}

.appointly-modern-booking .appointment-header {
  align-items: center;
  margin-bottom: 12px;
}

.appointly-modern-booking .appointment-header h4 {
  margin: 0;
  color: var(--appointly-ink);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.appointly-booking-intro {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px !important;
  color: var(--appointly-muted) !important;
  font-size: 16px;
  line-height: 1.65;
}

.appointly-modern-booking hr {
  border-color: rgba(217, 225, 236, 0.85) !important;
}

.appointly-modern-booking .language-selector select {
  border: 1px solid var(--appointly-line);
  border-radius: 999px;
  background-color: #fff;
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.08);
}

.appointly-modern-booking .progress-steps-container {
  padding: 8px 6px 0;
  margin-bottom: 4px;
}

.appointly-modern-booking .step-indicator {
  min-width: 112px;
}

.appointly-modern-booking .step-number {
  width: 44px !important;
  height: 44px !important;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: #d6deea !important;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.12);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.appointly-modern-booking .step-indicator.active .step-number {
  background: var(--appointly-primary) !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 0 6px rgba(38, 99, 235, 0.12), 0 16px 34px rgba(38, 99, 235, 0.28);
}

.appointly-modern-booking .step-indicator.completed .step-number {
  background: var(--appointly-success) !important;
}

.appointly-modern-booking .step-title {
  max-width: 130px;
  color: var(--appointly-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.appointly-modern-booking .step-line {
  top: -23px !important;
  height: 3px !important;
  background: #d7dfeb !important;
  border-radius: 999px;
  box-shadow: none;
}

.appointly-modern-booking #line-1-2.active,
.appointly-modern-booking #line-2-3.active,
.appointly-modern-booking #line-3-4.active,
.appointly-modern-booking #line-1-2.completed,
.appointly-modern-booking #line-2-3.completed,
.appointly-modern-booking #line-3-4.completed {
  background: var(--appointly-primary) !important;
}

.appointly-modern-booking .progress-bar {
  background: linear-gradient(90deg, var(--appointly-primary), var(--appointly-success)) !important;
  box-shadow: 0 8px 20px rgba(38, 99, 235, 0.24);
}

.appointly-step-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.appointly-step-heading h4,
.appointly-modern-booking .booking-step>div>h4,
.appointly-modern-booking .booking-step>h4 {
  margin: 0;
  color: var(--appointly-ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.appointly-step-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--appointly-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.appointly-modern-booking .booking-step.active {
  animation: appointlyStepIn 0.38s ease both;
}

@keyframes appointlyStepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.appointly-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

@media (min-width: 768px) {

  .appointly-service-grid.appointly-services-columns-2,
  .appointly-service-grid.appointly-services-columns-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .appointly-service-grid.appointly-services-columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.appointly-modern-booking .service-card,
.appointly-modern-booking .provider-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--appointly-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.appointly-modern-booking .service-card {
  display: flex;
  flex-direction: column;
  padding: 14px !important;
}

.appointly-modern-booking .service-card::before,
.appointly-modern-booking .provider-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--appointly-primary), var(--appointly-coral));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.appointly-modern-booking .service-card:hover,
.appointly-modern-booking .provider-card:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 99, 235, 0.55) !important;
  box-shadow: 0 18px 48px rgba(23, 32, 51, 0.13);
}

.appointly-modern-booking .service-card.selected,
.appointly-modern-booking .provider-card.selected {
  border-color: rgba(38, 99, 235, 0.38) !important;
  background: #f8fbff !important;
  box-shadow: 0 16px 42px rgba(38, 99, 235, 0.14);
}

.appointly-modern-booking .service-card.selected::before,
.appointly-modern-booking .provider-card.selected::before {
  opacity: 0.72;
}

.appointly-card-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--appointly-primary);
  box-shadow: 0 10px 20px rgba(38, 99, 235, 0.25);
  opacity: 0;
  transform: scale(0.76);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.appointly-card-check::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 9px;
  height: 13px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.service-card.selected .appointly-card-check,
.provider-card.selected .appointly-card-check {
  opacity: 1;
  transform: scale(1);
}

.appointly-booking-service-image {
  border: 0;
  border-radius: 14px;
  margin-bottom: 16px;
  background: #eaf0f7;
}

.appointly-booking-service-image-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at 18% 20%, rgba(38, 99, 235, 0.14), transparent 30%),
    radial-gradient(circle at 86% 82%, rgba(16, 185, 129, 0.14), transparent 34%),
    linear-gradient(135deg, #f9fbff 0%, #eef5ff 48%, #f7fbf9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.appointly-booking-service-image-empty::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px dashed rgba(100, 116, 139, 0.2);
  border-radius: 12px;
}

.appointly-booking-service-image-empty::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.76), transparent 74%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.76), transparent 74%);
}

.appointly-service-placeholder-mark {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78));
  color: var(--appointly-service-color, var(--appointly-primary));
  box-shadow: 0 18px 38px rgba(23, 32, 51, 0.1);
}

.appointly-service-placeholder-mark::before,
.appointly-service-placeholder-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(38, 99, 235, 0.12);
}

.appointly-service-placeholder-mark::before {
  width: 88px;
  height: 88px;
  z-index: -1;
}

.appointly-service-placeholder-mark::after {
  right: 10px;
  bottom: 10px;
  width: 8px;
  height: 8px;
  background: var(--appointly-service-color, var(--appointly-primary));
}

.appointly-service-placeholder-mark i {
  color: inherit;
  font-size: 25px;
  opacity: 0.82;
}

.appointly-modern-booking .service-header {
  gap: 12px;
  margin-bottom: 12px !important;
}

.appointly-modern-booking .service-header h5 {
  margin: 0;
  color: var(--appointly-ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.appointly-modern-booking .service-details {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.appointly-service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.appointly-service-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--appointly-soft);
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.appointly-modern-booking .service-details p {
  color: var(--appointly-muted) !important;
  line-height: 1.55;
}

.appointly-modern-booking .provider-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  cursor: pointer;
}

.appointly-modern-booking .provider-card[data-toggle="tooltip"] {
  position: relative;
}

.appointly-provider-avatar {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--appointly-soft);
}

.appointly-provider-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.appointly-provider-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.appointly-provider-topline h5 {
  margin: 0;
  color: var(--appointly-ink);
  font-size: 17px;
  font-weight: 800;
}

.appointly-provider-status {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.appointly-provider-status.is-available {
  background: rgba(15, 159, 110, 0.1);
  color: var(--appointly-success);
}

.appointly-provider-status.is-unavailable {
  background: rgba(249, 115, 98, 0.12);
  color: #c24135;
}

.appointly-provider-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--appointly-muted);
  font-size: 13px;
}

.appointly-modern-booking .view-provider-details {
  border-radius: 999px !important;
  padding: 9px 14px !important;
  white-space: nowrap;
}

.appointly-modern-booking .disabled-provider {
  opacity: 0.68;
  filter: grayscale(0.2);
}

.appointly-modern-booking .tw-bg-white.tw-border,
.appointly-modern-booking .tw-bg-white.tw-rounded-lg {
  border-color: var(--appointly-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.06);
}

.appointly-modern-booking .form-control,
.appointly-modern-booking .bootstrap-select .dropdown-toggle {
  min-height: 46px;
  border: 1px solid var(--appointly-line) !important;
  border-radius: 12px !important;
  background-color: #fff !important;
  box-shadow: 0 1px 0 rgba(23, 32, 51, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.appointly-modern-booking input.form-control,
.appointly-modern-booking select.form-control {
  height: 46px !important;
}

.appointly-modern-booking textarea.form-control {
  min-height: 112px;
  height: auto !important;
}

.appointly-modern-booking .form-control:focus,
.appointly-modern-booking .bootstrap-select.open .dropdown-toggle {
  border-color: var(--appointly-primary) !important;
  box-shadow: 0 0 0 4px rgba(38, 99, 235, 0.12) !important;
}

.appointly-modern-booking .bootstrap-select .dropdown-toggle,
.appointly-modern-booking .bootstrap-select .dropdown-toggle:hover,
.appointly-modern-booking .bootstrap-select .dropdown-toggle:focus,
.appointly-modern-booking .bootstrap-select.open .dropdown-toggle,
.appointly-modern-booking .bootstrap-select.open .dropdown-toggle:hover,
.appointly-modern-booking .bootstrap-select.open .dropdown-toggle:focus {
  background-color: #fff !important;
  background-image: none !important;
  color: #344054 !important;
}

.appointly-modern-booking .btn-next,
.appointly-modern-booking .view-provider-details,
.appointly-modern-booking .select-provider,
.appointly-modern-booking .btn-primary:not(.dropdown-toggle),
.appointly-modern-booking #book-appointment-btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: linear-gradient(135deg, var(--appointly-primary), #4f7df3) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 14px 30px rgba(38, 99, 235, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.appointly-modern-booking .btn-next:hover,
.appointly-modern-booking .view-provider-details:hover,
.appointly-modern-booking .select-provider:hover,
.appointly-modern-booking .btn-primary:not(.dropdown-toggle):hover,
.appointly-modern-booking #book-appointment-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--appointly-primary-dark), var(--appointly-primary)) !important;
  box-shadow: 0 18px 38px rgba(38, 99, 235, 0.28);
}

.appointly-modern-booking .btn-next::after,
.appointly-modern-booking #book-appointment-btn::after {
  content: "\2192";
  font-size: 15px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.appointly-modern-booking .btn-next:hover::after,
.appointly-modern-booking #book-appointment-btn:hover::after {
  transform: translateX(2px);
}

.appointly-modern-booking .btn-next:disabled,
.appointly-modern-booking .btn-primary:not(.dropdown-toggle):disabled {
  transform: none;
  box-shadow: none;
  opacity: 0.58;
}

.appointly-modern-booking .btn-prev-step {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(217, 225, 236, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78) !important;
  color: var(--appointly-primary) !important;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(23, 32, 51, 0.05);
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.appointly-modern-booking .btn-prev-step:hover {
  border-color: rgba(38, 99, 235, 0.34);
  background: #fff !important;
  color: var(--appointly-primary-dark) !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(23, 32, 51, 0.08);
}

.appointly-modern-booking .btn-prev-step svg {
  width: 16px;
  height: 16px;
  margin-right: 0 !important;
  transition: transform 0.18s ease;
}

.appointly-modern-booking .btn-prev-step:hover svg {
  transform: translateX(-2px);
}

.appointly-modern-booking .time-slot-btn {
  min-height: 48px;
  overflow: visible;
  border-radius: 14px;
  border-color: var(--appointly-line);
  color: #344054;
  font-weight: 800;
}

.appointly-modern-booking .time-slot-btn:hover:not(.selected) {
  border-color: rgba(38, 99, 235, 0.55);
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.11);
}

.appointly-modern-booking .time-slot-btn.selected {
  border-color: var(--appointly-primary) !important;
  background: #eff6ff !important;
  color: var(--appointly-primary) !important;
}

.appointly-modern-booking .time-slot-btn.selected::after {
  top: 50%;
  right: -10px;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  background-color: var(--appointly-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M5 13l4 4L19 7'%3E%3C/path%3E%3C/svg%3E");
  background-size: 13px;
  box-shadow: 0 8px 18px rgba(38, 99, 235, 0.28);
  transform: translateY(-50%);
}

.appointly-modern-booking #time-slots-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
}

.appointly-modern-booking .modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(23, 32, 51, 0.22);
}

.appointly-modern-booking .modal-header {
  border-bottom-color: var(--appointly-line);
  background: var(--appointly-soft);
}

.appointly-modern-booking #providerDetailsModal .modal-dialog {
  width: min(620px, calc(100% - 28px));
  margin-top: 5vh;
}

.appointly-modern-booking #providerDetailsModal .modal-content {
  border: 1px solid rgba(217, 225, 236, 0.82);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(23, 32, 51, 0.24);
}

.appointly-modern-booking #providerDetailsModal .modal-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--appointly-line);
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 0.94)),
    #fff;
}

.appointly-modern-booking #providerDetailsModal .modal-title {
  color: var(--appointly-ink);
  font-size: 14px;
  font-weight: 800;
}

.appointly-modern-booking #providerDetailsModal .close {
  color: #667085;
  font-size: 30px;
  line-height: 1;
  opacity: 0.65;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.appointly-modern-booking #providerDetailsModal .close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.appointly-modern-booking #providerDetailsModal .modal-body {
  padding: 22px 20px 18px;
}

.appointly-provider-modal-profile {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid rgba(217, 225, 236, 0.86);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.88), rgba(255, 255, 255, 0.96)),
    #fff;
  box-shadow: 0 14px 36px rgba(23, 32, 51, 0.07);
}

.appointly-provider-modal-avatar {
  width: 86px;
  height: 86px;
  padding: 4px;
  border: 1px solid rgba(217, 225, 236, 0.9);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(23, 32, 51, 0.1);
}

.appointly-provider-modal-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.appointly-provider-modal-copy h5 {
  margin: 0 0 6px;
  color: var(--appointly-ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.16;
}

.appointly-provider-modal-copy p {
  margin: 2px 0;
  color: var(--appointly-muted);
  font-size: 13px;
  line-height: 1.35;
}

.appointly-modern-booking #providerDetailsModal .provider-schedule {
  padding: 16px;
  border: 1px solid rgba(217, 225, 236, 0.86);
  border-radius: 20px;
  background: rgba(248, 251, 255, 0.72);
}

.appointly-modern-booking #providerDetailsModal .provider-schedule h6 {
  margin: 0 0 12px;
  color: var(--appointly-ink);
  font-size: 14px;
  font-weight: 900;
}

.appointly-modern-booking #providerDetailsModal .schedule-list {
  display: grid;
  gap: 8px;
  max-height: min(360px, 46vh);
  overflow-y: auto;
  padding-right: 4px;
}

.appointly-schedule-row {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(217, 225, 236, 0.78);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(23, 32, 51, 0.04);
}

.appointly-schedule-day {
  color: var(--appointly-ink);
  font-size: 14px;
  font-weight: 800;
}

.appointly-schedule-time {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 159, 110, 0.1);
  color: var(--appointly-success);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.appointly-modern-booking #providerDetailsModal .modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 20px 20px;
  border-top: 0;
}

.appointly-modern-booking #providerDetailsModal .btn-default {
  border: 1px solid rgba(217, 225, 236, 0.95) !important;
  background: #fff !important;
  color: var(--appointly-ink) !important;
  box-shadow: none;
}

.appointly-success-page {
  min-height: 100vh;
}

.appointly-success-shell {
  min-height: 100vh;
  padding: 32px 0;
}

.appointly-success-panel {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(217, 225, 236, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 80px rgba(23, 32, 51, 0.14);
  backdrop-filter: blur(14px);
}

.appointly-success-hero {
  padding: 44px 34px 30px !important;
  border-bottom: 1px solid rgba(217, 225, 236, 0.82);
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.98) 54%, rgba(240, 253, 249, 0.86)),
    #fff !important;
  color: var(--appointly-ink) !important;
}

.appointly-success-hero>div:first-child {
  width: 74px !important;
  height: 74px !important;
  background: linear-gradient(135deg, var(--appointly-success), #19b987) !important;
  box-shadow: 0 18px 38px rgba(15, 159, 110, 0.25);
}

.appointly-success-hero h1 {
  margin-bottom: 10px !important;
  color: var(--appointly-ink) !important;
  font-size: clamp(30px, 4vw, 42px) !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.appointly-success-hero p {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  color: var(--appointly-muted) !important;
}

.appointly-success-hero .inline-flex {
  border: 1px solid rgba(15, 159, 110, 0.18);
  background: rgba(15, 159, 110, 0.1) !important;
  color: var(--appointly-success) !important;
}

.appointly-success-content {
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.appointly-success-content>div {
  border-color: rgba(217, 225, 236, 0.82) !important;
}

.appointly-success-content h2 {
  color: var(--appointly-ink) !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.appointly-success-page [class*="border-l-4"] {
  border: 1px solid rgba(217, 225, 236, 0.86) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.96)),
    #fff !important;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.06);
}

.appointly-success-page [class*="border-l-4"] svg {
  color: var(--appointly-primary) !important;
}

.appointly-success-page [class*="border-l-4"] p:first-of-type {
  color: var(--appointly-muted) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.appointly-success-page [class*="border-l-4"] p:last-of-type {
  color: var(--appointly-ink) !important;
}

.appointly-success-page .space-y-4>.flex {
  padding: 14px;
  border: 1px solid rgba(217, 225, 236, 0.72);
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.72);
}

.appointly-success-page .space-y-4>.flex>div:first-child {
  background: linear-gradient(135deg, var(--appointly-primary), #5b8df9) !important;
  box-shadow: 0 10px 20px rgba(38, 99, 235, 0.18);
}

.appointly-success-page a[href*="appointments_public/book"],
.appointly-success-page a[href*="invoice/"] {
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--appointly-primary), #4f7df3) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 14px 30px rgba(38, 99, 235, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.appointly-success-page a[href*="appointments_public/book"]:hover,
.appointly-success-page a[href*="invoice/"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(38, 99, 235, 0.28);
}

.appointly-client-meeting-page {
  min-height: 100vh;
}

.appointly-client-meeting-shell {
  min-height: 100vh;
  padding: 32px 0 !important;
}

.appointly-client-meeting-container {
  width: min(1120px, calc(100% - 28px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.appointly-client-meeting-card {
  overflow: hidden;
  border: 1px solid rgba(217, 225, 236, 0.9) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 24px 80px rgba(23, 32, 51, 0.14) !important;
  backdrop-filter: blur(14px);
}

.appointly-client-meeting-card>div:first-child {
  padding: 34px !important;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.98) 54%, rgba(240, 253, 249, 0.86)),
    #fff !important;
}

.appointly-client-meeting-card h1 {
  color: var(--appointly-ink) !important;
  font-size: 34px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.appointly-public-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px !important;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.98) 54%, rgba(240, 253, 249, 0.9)),
    #fff !important;
}

.appointly-public-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--appointly-primary), #0ea5e9 48%, var(--appointly-success));
}

.appointly-public-heading {
  min-width: 0;
}

.appointly-public-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 9px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  color: var(--appointly-primary);
  background: #eff6ff;
  font-size: 12px;
  font-weight: 800;
}

.appointly-public-heading h1 {
  margin: 0;
  overflow-wrap: anywhere;
}

.appointly-public-heading > p {
  margin: 10px 0 0;
  color: #5b6780;
  font-size: 15px;
  font-weight: 600;
}

.appointly-public-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.appointly-public-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #475569;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 750;
}

.appointly-public-meta i {
  color: var(--appointly-primary);
}

.appointly-public-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.appointly-public-status-blue {
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.appointly-public-status-green {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.appointly-public-status-amber {
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.appointly-public-status-danger {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.appointly-public-status-neutral {
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.appointly-public-content {
  padding: 26px 34px 34px !important;
}

.appointly-public-service-card > .tw-flex {
  gap: 18px;
}

.appointly-public-service-main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.appointly-public-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 8px;
}

.appointly-public-service-image {
  display: block;
  width: 128px;
  height: 72px;
  flex: 0 0 128px;
  object-fit: cover;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.1);
}

.appointly-public-service-meta {
  flex: 0 0 auto;
}

.appointly-client-meet-dialog {
  margin-top: 80px;
}

.appointly-client-meet-content {
  overflow: hidden;
  border: 1px solid #dbe5f0 !important;
  border-radius: 18px !important;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.24) !important;
}

.appointly-client-meet-header {
  background:
    linear-gradient(135deg, #eff6ff 0%, #ffffff 62%, #ecfdf5 100%),
    #fff !important;
}

.appointly-public-action-row {
  justify-content: flex-end;
  align-items: center;
}

.appointly-public-action-btn {
  width: auto !important;
  min-width: 0;
  flex: 0 0 auto !important;
  white-space: nowrap;
}

body.appointments-external-form[dir="rtl"] .appointly-public-hero,
body.appointments-external-form[dir="rtl"] .appointly-public-meta,
body.appointments-external-form[dir="rtl"] .appointly-public-service-main,
body.appointments-external-form[dir="rtl"] .appointly-client-meet-content {
  direction: rtl;
}

body.appointments-external-form[dir="rtl"] .appointly-public-service-meta {
  text-align: right !important;
}

.appointly-client-meeting-card h3,
.appointly-client-meeting-card h4 {
  color: var(--appointly-ink) !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
}

.appointly-client-meeting-card hr {
  border-color: rgba(217, 225, 236, 0.82) !important;
}

.appointly-client-meeting-card .tw-bg-white.tw-rounded-lg,
.appointly-client-meeting-card .tw-bg-white.tw-rounded-md {
  border-color: rgba(217, 225, 236, 0.86) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.96)),
    #fff !important;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.06) !important;
}

.appointly-client-meeting-card .tw-bg-neutral-50,
.appointly-client-meeting-card .tw-bg-neutral-100 {
  background: rgba(248, 251, 255, 0.88) !important;
}

.appointly-client-meeting-card .tw-rounded-full {
  box-shadow: 0 8px 18px rgba(23, 32, 51, 0.08);
}

.appointly-client-meeting-card button,
.appointly-client-meeting-card a[class*="tw-bg-blue"],
.appointly-client-meeting-card a[class*="tw-bg-green"],
.appointly-client-meeting-card a[class*="tw-bg-danger"],
.appointly-client-meeting-card a[href^="sms:"],
.appointly-client-meeting-card a[href^="tel:"] {
  border-radius: 999px !important;
  font-weight: 800 !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.appointly-client-meeting-card button:hover,
.appointly-client-meeting-card a[class*="tw-bg-blue"]:hover,
.appointly-client-meeting-card a[class*="tw-bg-green"]:hover,
.appointly-client-meeting-card a[class*="tw-bg-danger"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(38, 99, 235, 0.18) !important;
}

.appointly-client-meeting-page .appointment_logo,
.appointly-client-meeting-page .tw-flex-shrink-0.tw-p-4 {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(23, 32, 51, 0.08);
}

@media (max-width: 768px) {
  .appointly-client-meeting-card h1 {
    font-size: 28px !important;
  }

  .appointly-public-hero {
    flex-direction: column;
    padding: 24px !important;
  }

  .appointly-public-status {
    width: 100%;
    justify-content: center;
  }

  .appointly-public-content {
    padding: 20px !important;
  }

  .appointly-public-service-card > .tw-flex,
  .appointly-public-service-main {
    align-items: flex-start !important;
    flex-direction: column;
  }

  .appointly-public-service-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    flex-basis: auto;
  }

  .appointly-public-service-meta {
    width: 100%;
    text-align: left !important;
  }

  .appointly-public-action-row {
    align-items: flex-end;
  }

  .appointly-client-meet-dialog {
    margin-top: 24px;
  }
}

.appointly-modern-booking .progress-steps-container {
  padding: 14px;
  border: 1px solid rgba(212, 222, 236, 0.9);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.86)),
    radial-gradient(circle at 20% 10%, rgba(38, 99, 235, 0.08), transparent 32%);
  box-shadow: 0 16px 48px rgba(23, 32, 51, 0.08);
}

.appointly-modern-booking .progress-steps-container>.tw-flex {
  gap: 12px;
  align-items: center !important;
}

.appointly-modern-booking .step-indicator {
  display: flex !important;
  flex: 0 0 auto;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start;
  min-width: 0;
  padding: 9px 13px 9px 9px;
  border: 1px solid rgba(212, 222, 236, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.06);
  transition: border-color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.appointly-modern-booking .step-indicator.active {
  border-color: rgba(38, 99, 235, 0.34);
  background: #fff;
  transform: none;
}

.appointly-modern-booking .step-indicator.completed {
  border-color: rgba(15, 159, 110, 0.22);
  background: rgba(240, 253, 249, 0.94);
}

.appointly-modern-booking .step-number {
  width: 38px !important;
  height: 38px !important;
  margin: 0 10px 0 0 !important;
  flex: 0 0 38px;
  transform: none !important;
}

.appointly-modern-booking .step-indicator.active .step-number {
  transform: none !important;
  box-shadow: 0 0 0 7px rgba(38, 99, 235, 0.13), 0 12px 24px rgba(38, 99, 235, 0.24);
}

.appointly-modern-booking .step-indicator.completed .step-number {
  transform: none !important;
  box-shadow: 0 0 0 7px rgba(15, 159, 110, 0.1), 0 10px 22px rgba(15, 159, 110, 0.16);
}

.appointly-modern-booking .step-title {
  max-width: none;
  white-space: nowrap;
}

.appointly-modern-booking .step-line {
  position: relative;
  top: auto !important;
  flex: 1 1 42px !important;
  min-width: 36px;
  height: 4px !important;
  margin: 0 !important;
  background: linear-gradient(90deg, #d7dfeb, #e8eef7) !important;
  overflow: hidden;
}

.appointly-modern-booking .step-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--appointly-primary), #5b8df9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.34s ease;
}

.appointly-modern-booking .step-line.active::after,
.appointly-modern-booking .step-line.completed::after {
  transform: scaleX(1);
}

.appointly-modern-booking .progress-steps-container+.tw-mt-6 {
  height: 4px !important;
  margin-top: 14px !important;
  background: rgba(215, 223, 235, 0.7) !important;
}

.appointly-modern-booking .appointly-provider-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 4px;
}

.appointly-modern-booking .appointly-provider-actions .appointly-card-check {
  top: 6px;
  right: 5px;
  width: 28px;
  height: 28px;
  border: 3px solid #fff;
  transform: scale(0.76);
  box-shadow: 0 10px 22px rgba(38, 99, 235, 0.22);
}

.appointly-modern-booking .appointly-provider-actions .appointly-card-check::after {
  left: 50%;
  top: 50%;
  width: 8px;
  height: 13px;
  transform: translate(-50%, -58%) rotate(45deg);
}

.appointly-modern-booking .provider-card.selected .appointly-provider-actions .appointly-card-check {
  transform: scale(1);
}

.appointly-modern-booking .appointly-date-card {
  border-radius: 22px !important;
  padding: 22px !important;
  background: rgba(255, 255, 255, 0.94) !important;
}

.appointly-modern-booking .input-group {
  display: flex;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(23, 32, 51, 0.02);
}

.appointly-modern-booking .input-group .input-group-addon {
  display: inline-flex;
  width: 48px;
  min-width: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--appointly-line) !important;
  border-right: 0 !important;
  border-radius: 12px 0 0 12px !important;
  background: #fff !important;
  color: var(--appointly-muted);
}

.appointly-modern-booking .input-group .bootstrap-select {
  width: calc(100% - 48px) !important;
}

.appointly-modern-booking .input-group .bootstrap-select .dropdown-toggle {
  min-height: 46px;
  margin: 0 !important;
  outline: 0 !important;
  border-left: 0 !important;
  border-radius: 0 12px 12px 0 !important;
  box-shadow: none !important;
}

.appointly-modern-booking .appointly-timezone-select .bootstrap-select {
  width: 100% !important;
}

.appointly-modern-booking .appointly-timezone-select .bootstrap-select .dropdown-toggle {
  min-height: 46px;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 1px solid var(--appointly-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #344054 !important;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 1px 0 rgba(23, 32, 51, 0.02) !important;
}

.appointly-modern-booking .appointly-timezone-select .bootstrap-select .filter-option,
.appointly-modern-booking .appointly-timezone-select .bootstrap-select .filter-option-inner,
.appointly-modern-booking .appointly-timezone-select .bootstrap-select .filter-option-inner-inner {
  color: #344054 !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}

.appointly-modern-booking .appointly-timezone-select .bootstrap-select.open .dropdown-toggle,
.appointly-modern-booking .appointly-timezone-select .bootstrap-select.open .dropdown-toggle:focus {
  border-color: var(--appointly-primary) !important;
  box-shadow: 0 0 0 3px rgba(38, 99, 235, 0.1) !important;
}

.appointly-modern-booking .input-group .bootstrap-select.open .dropdown-toggle,
.appointly-modern-booking .input-group:focus-within .input-group-addon {
  border-color: var(--appointly-primary) !important;
}

.appointly-modern-booking .input-group .bootstrap-select.open .dropdown-toggle {
  border-color: var(--appointly-line) !important;
  box-shadow: none !important;
}

.appointly-modern-booking .input-group .bootstrap-select.open .dropdown-toggle:focus {
  box-shadow: none !important;
}

.appointly-modern-booking .bootstrap-select.open,
.appointly-modern-booking .bootstrap-select.open .dropdown-menu {
  z-index: 30;
}

.appointly-modern-booking .bootstrap-select.dropup .dropdown-menu,
.appointly-modern-booking .input-group .bootstrap-select.dropup .dropdown-menu,
.appointly-modern-booking #step-3 .bootstrap-select .dropdown-menu {
  top: calc(100% + 8px) !important;
  bottom: auto !important;
}

.appointly-modern-booking .bootstrap-select .dropdown-menu {
  border: 1px solid rgba(217, 225, 236, 0.95);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(23, 32, 51, 0.16);
}

.appointly-modern-booking .bootstrap-select .dropdown-menu .bs-searchbox {
  padding: 10px;
}

.appointly-modern-booking .bootstrap-select .dropdown-menu .bs-searchbox input {
  border: 1px solid var(--appointly-line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.appointly-modern-booking .bootstrap-select .dropdown-menu .bs-searchbox input:focus {
  border-color: var(--appointly-primary) !important;
  box-shadow: 0 0 0 3px rgba(38, 99, 235, 0.1) !important;
}

.appointly-modern-booking .appointly-final-step {
  padding-top: 2px;
}

.appointly-modern-booking .appointly-final-summary {
  border: 1px solid rgba(38, 99, 235, 0.14) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.98) 52%, rgba(240, 253, 249, 0.85)),
    #fff !important;
  box-shadow: 0 18px 52px rgba(23, 32, 51, 0.1) !important;
}

.appointly-modern-booking .appointly-final-summary .tw-grid>div {
  border: 1px solid rgba(212, 222, 236, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.05);
}

.appointly-modern-booking .appointly-detail-panel {
  border-radius: 22px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.96)),
    #fff !important;
  box-shadow: 0 14px 38px rgba(23, 32, 51, 0.07) !important;
}

.appointly-modern-booking .appointly-detail-panel>.tw-flex:first-child>div,
.appointly-modern-booking .appointly-final-summary>.tw-flex:first-child>div {
  background: linear-gradient(135deg, var(--appointly-primary), #5b8df9) !important;
  box-shadow: 0 10px 22px rgba(38, 99, 235, 0.22);
}

@media (max-width: 900px) {

  .appointly-modern-booking .main_wrapper,
  .appointly-booking-panel {
    padding: 22px !important;
    border-radius: 18px !important;
  }

  .appointly-modern-booking .step-indicator {
    padding: 7px;
  }

  .appointly-modern-booking .step-number {
    width: 34px !important;
    height: 34px !important;
    margin-right: 0 !important;
    flex-basis: 34px;
  }

  .appointly-modern-booking .step-title {
    display: none;
  }

  .appointly-modern-booking .step-line {
    min-width: 16px;
  }
}

@media (max-width: 640px) {
  .appointly-modern-booking .container {
    width: min(100% - 18px, 100%);
  }

  .appointly-modern-booking .appointment-header h4 {
    font-size: 26px;
  }

  .appointly-modern-booking .service-card {
    padding: 12px !important;
  }

  .appointly-modern-booking .provider-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .appointly-modern-booking .appointly-provider-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
  }

  .appointly-modern-booking .provider-card .view-provider-details {
    flex: 1;
  }

  .appointly-provider-avatar {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .appointly-provider-modal-profile {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .appointly-provider-modal-avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .appointly-provider-modal-avatar img {
    border-radius: 14px;
  }
}

/* RTL (Persian, Arabic, etc.) */
body.appointments-external-form[dir="rtl"] .appointment-header,
[dir="rtl"] .appointly-modern-booking .appointment-header {
  direction: rtl;
}

body.appointments-external-form[dir="rtl"] .step-indicator,
[dir="rtl"] .appointly-modern-booking .step-indicator {
  direction: rtl;
  padding: 9px 9px 9px 13px;
}

body.appointments-external-form[dir="rtl"] .step-number,
[dir="rtl"] .appointly-modern-booking .step-number {
  margin: 0 0 0 10px !important;
}

body.appointments-external-form[dir="rtl"] .step-line::after,
[dir="rtl"] .appointly-modern-booking .step-line::after {
  transform-origin: right;
}

body.appointments-external-form[dir="rtl"] .progress-bar,
[dir="rtl"] .appointly-modern-booking .progress-bar {
  left: auto !important;
  right: 0 !important;
  background: linear-gradient(270deg, var(--appointly-primary), var(--appointly-success)) !important;
}

body.appointments-external-form[dir="rtl"] .appointly-card-check,
[dir="rtl"] .appointly-modern-booking .appointly-card-check {
  right: auto;
  left: 14px;
}

body.appointments-external-form[dir="rtl"] .appointly-provider-actions,
[dir="rtl"] .appointly-modern-booking .appointly-provider-actions {
  justify-content: flex-start;
}

body.appointments-external-form[dir="rtl"] .appointly-provider-actions .appointly-card-check,
[dir="rtl"] .appointly-modern-booking .appointly-provider-actions .appointly-card-check {
  right: auto;
  left: 5px;
}

body.appointments-external-form[dir="rtl"] .appointly-provider-topline,
body.appointments-external-form[dir="rtl"] .appointly-provider-meta,
body.appointments-external-form[dir="rtl"] .appointly-service-meta,
body.appointments-external-form[dir="rtl"] .appointly-schedule-row,
body.appointments-external-form[dir="rtl"] .appointly-provider-modal-profile,
[dir="rtl"] .appointly-modern-booking .appointly-provider-topline,
[dir="rtl"] .appointly-modern-booking .appointly-provider-meta,
[dir="rtl"] .appointly-modern-booking .appointly-service-meta,
[dir="rtl"] .appointly-modern-booking .appointly-schedule-row,
[dir="rtl"] .appointly-modern-booking .appointly-provider-modal-profile {
  direction: rtl;
}

body.appointments-external-form[dir="rtl"] .appointly-provider-meta span,
body.appointments-external-form[dir="rtl"] .appointly-provider-modal-copy p,
[dir="rtl"] .appointly-modern-booking .appointly-provider-meta span,
[dir="rtl"] .appointly-modern-booking .appointly-provider-modal-copy p {
  unicode-bidi: plaintext;
}

body.appointments-external-form[dir="rtl"] .btn-prev-step,
[dir="rtl"] .appointly-modern-booking .btn-prev-step {
  flex-direction: row-reverse;
}

body.appointments-external-form[dir="rtl"] .btn-prev-step svg,
[dir="rtl"] .appointly-modern-booking .btn-prev-step svg {
  transform: rotate(180deg);
}

body.appointments-external-form[dir="rtl"] .btn-prev-step:hover svg,
[dir="rtl"] .appointly-modern-booking .btn-prev-step:hover svg {
  transform: rotate(180deg) translateX(-2px);
}

body.appointments-external-form[dir="rtl"] .btn-next::after,
body.appointments-external-form[dir="rtl"] #book-appointment-btn::after,
[dir="rtl"] .appointly-modern-booking .btn-next::after,
[dir="rtl"] .appointly-modern-booking #book-appointment-btn::after {
  content: "\2190";
}

body.appointments-external-form[dir="rtl"] .btn-next:hover::after,
body.appointments-external-form[dir="rtl"] #book-appointment-btn:hover::after,
[dir="rtl"] .appointly-modern-booking .btn-next:hover::after,
[dir="rtl"] .appointly-modern-booking #book-appointment-btn:hover::after {
  transform: translateX(-2px);
}

body.appointments-external-form[dir="rtl"] .time-slot-btn.selected::after,
[dir="rtl"] .appointly-modern-booking .time-slot-btn.selected::after {
  right: auto;
  left: -10px;
}

body.appointments-external-form[dir="rtl"] .form-control,
body.appointments-external-form[dir="rtl"] .bootstrap-select .filter-option,
body.appointments-external-form[dir="rtl"] .bootstrap-select .dropdown-menu li a,
[dir="rtl"] .appointly-modern-booking .form-control,
[dir="rtl"] .appointly-modern-booking .bootstrap-select .filter-option,
[dir="rtl"] .appointly-modern-booking .bootstrap-select .dropdown-menu li a {
  text-align: right;
}

body.appointments-external-form[dir="rtl"] .bootstrap-select.btn-group .dropdown-toggle .caret,
[dir="rtl"] .appointly-modern-booking .bootstrap-select.btn-group .dropdown-toggle .caret {
  right: auto;
  left: 12px;
}

body.appointments-external-form[dir="rtl"] .input-group .input-group-addon,
[dir="rtl"] .appointly-modern-booking .input-group .input-group-addon {
  border-right: 1px solid var(--appointly-line) !important;
  border-left: 0 !important;
  border-radius: 0 12px 12px 0 !important;
}

body.appointments-external-form[dir="rtl"] .input-group .bootstrap-select .dropdown-toggle,
[dir="rtl"] .appointly-modern-booking .input-group .bootstrap-select .dropdown-toggle {
  border-right: 0 !important;
  border-left: 1px solid var(--appointly-line) !important;
  border-radius: 12px 0 0 12px !important;
}

body.appointments-external-form[dir="rtl"] #providerDetailsModal .schedule-list,
[dir="rtl"] .appointly-modern-booking #providerDetailsModal .schedule-list {
  padding-right: 0;
  padding-left: 4px;
}

body.appointments-external-form[dir="rtl"] #providerDetailsModal .close,
[dir="rtl"] .appointly-modern-booking #providerDetailsModal .close {
  float: left;
}

@media (prefers-reduced-motion: reduce) {

  .appointly-modern-booking *,
  .appointly-modern-booking *::before,
  .appointly-modern-booking *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
