@import "../_variables.css";

#booking-appointment-modal .uk-modal-dialog.uk-modal-body {
    width: 80% !important;
    height: 54.154rem;
    max-width: 100vw;
    max-height: 90vh;
    border-radius: 1.231rem;
    padding: 0;
    overflow: visible;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
}

#booking-appointment-modal .booking-modal-form-col {
    padding: 3.692rem 4.923rem;
    background: #fff;
    border-radius: 0 1.231rem 1.231rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.231rem;
}

#booking-appointment-modal .uk-modal-title {
    font-weight: 600;
    font-size: 2.308rem;
    letter-spacing: 0;
}

.booking-modal-label {
    font-weight: 500;
    font-size: 1.231rem;
    background: none;
    color: #374151;
}

.support-main-label {
    font-weight: 600;
    font-size: 1.231rem;
    background: none;
    color: rgba(255, 255, 255, 1);
}

.support-sub-label {
    font-weight: 400;
    font-size: 0.923rem;
    color: rgba(255, 255, 255, 0.7);
}

.remove-inline-display {
    display: block !important;
}

#booking-appointment-modal .booking-modal-input {
    font-size: var(--font-size-14);
    border-radius: 0.923rem;
    border-width: 0.077rem;
    border-style: solid;
    border-color: var(--Default-gray-300, #D1D5DB);
    padding: 0.923rem;
    background: var(--Default-white, #FFFFFF);
}

#booking-appointment-modal .booking-modal-dialog {
    width: 90vw;
    height: 90vh;
    display: flex;
    flex-direction: column;
}

#booking-appointment-modal .booking-modal-dialog .uk-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#booking-appointment-modal .booking-modal-dialog .uk-modal-body>.flex {
    flex: 1;
    display: flex;
}

.left-col {
    background-size: cover;
    background-position: center;
}

.red-label {
    color: #EF4444;
}

.interest-item {
    font-weight: 400;
    font-size: 1.231rem;
    color: #4B5563;
}

.section-label {
    font-weight: 600;
    font-size: 1.231rem;
    color: #1F2937;
}

/* Radio default */
.radio-indicator {
    background-color: white;
}

.option-card.selected .radio-indicator {
    display: none;
}

.option-card.selected {
    background-color: rgba(254, 242, 242, 1);
}

.option-card.selected .tick-icon {
    display: block;
    background-image: url('/site/assets/images/check_circle_purple.png');
}

.icon-title {
    font-weight: 600;
    font-size: 1.077rem;
    color: rgba(55, 65, 81, 1);
}

.icon-description {
    font-weight: 400;
    font-size: 0.923rem;
    color: rgba(107, 114, 128, 1);
}

.available-hours {
    font-weight: 600;
    font-size: 1.5384rem;
    color: rgba(31, 41, 55, 1);
}

.date-time-selected {
    font-weight: 400;
    font-size: 1.2307rem;
    color: rgba(107, 114, 128, 1);
}

#booking-appointment-modal .litepicker .day-item {
    padding: 0;
    align-items: center;
    vertical-align: middle;
    align-content: center;
    height: var(--litepicker-day-width);
}

#booking-appointment-modal .litepicker .day-item:not(.is-locked) {
    text-align: center !important;
    color: black !important;
    border-radius: 50% !important;
    transition: background-color 0.12s ease, color 0.12s ease;
    font-size: 14px;
}

#booking-appointment-modal .litepicker .day-item.has-hours:not(.is-locked) {
    border: 2px solid black;
    border-radius: 50% !important;
    font-weight: 600;
    color: black !important;
    background-color: #fff !important;
}

#booking-appointment-modal .litepicker .day-item.is-today {
    position: relative;
    text-align: center;
}

#booking-appointment-modal .litepicker .day-item.is-today::after {
    content: "";
    position: absolute;
    bottom: var(--mp4);
    left: 50%;
    transform: translateX(-50%);
    width: var(--mp6);
    height: var(--mp6);
    background-color: red;
    border-radius: 50%;
    pointer-events: none;
}

#booking-appointment-modal .litepicker .day-item.is-selected {
    background-color: rgba(37, 13, 70, 1);
    color: #fff;
    border-radius: 50%;
}

#booking-appointment-modal .litepicker .container__days .day-item.is-start-date,
#booking-appointment-modal .litepicker .container__days .day-item.is-end-date {
    border-radius: 50% !important;
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

#booking-appointment-modal .hour-btn {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(37, 13, 70, 1);
    border-radius: 999px;
    background: white;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
}

#booking-appointment-modal .hour-btn:hover {
    background: #f3f4f6;
}

#booking-appointment-modal .hour-btn.selected {
    background: rgba(37, 13, 70, 1);
    color: white;
    border-color: rgba(37, 13, 70, 1);
}

#booking-appointment-success-modal .modal-title {
    font-weight: 600;
    font-size: 2.308rem;
    line-height: 100%;
    letter-spacing: 0;
    color: rgba(17, 24, 39, 1);
    padding-bottom: 16px;
}

#booking-appointment-success-modal .modal-subtitle {
    font-weight: 500;
    font-size: 1.2307rem;
    line-height: 100%;
    letter-spacing: 0;
    color: rgba(55, 65, 81, 1);
    white-space: nowrap;
}

#booking-appointment-success-modal .modal-rounded-xl {
  border-radius: var(--border-radius-24);
  overflow: hidden;
}

@media (max-width: 1024px) {
  #booking-appointment-modal .uk-modal-dialog.uk-modal-body {
    width: 90% !important;
    height: auto;
    max-height: 90vh;
    flex-direction: column;
  }

  #booking-appointment-modal .booking-modal-form-col {
    padding: 2rem;
    border-radius: 1.846rem;
  }
  #booking-appointment-modal .uk-modal-title {
    margin-top: 24px;
  }

  #booking-appointment-success-modal .modal-subtitle {
    white-space: normal;
  }
}

/* Mobile (<=640px) */
@media (max-width: 639px) {
  #booking-appointment-modal .uk-modal-dialog.uk-modal-body {
    width: 100% !important;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
  }

  #booking-appointment-modal .booking-modal-form-col {
    padding: 1.25rem;
    gap: 1rem;
  }

  #booking-appointment-modal .booking-modal-input {
    padding: 0.75rem;
  }

  .conversation-block .flex {
    flex-direction: column !important;
  }

  #hours-list {
    grid-template-columns: 1fr !important;
  }
}


#booking-appointment-modal .shared-icon path {
    fill: var(--text-default);
}