/* Loaded after page styles so every public page stays inside the viewport. */
html,
body {
  overflow-x: clip;
  max-width: 100%;
}

img,
video,
svg,
canvas,
iframe {
  max-width: 100%;
}

.system-screens-animation,
.loader-cover,
#celebration {
  width: 100% !important;
  max-width: 100% !important;
}

.owl-carousel,
.owl-stage-outer,
.notification-carousel-container,
.clients-section,
.system-screens-animation {
  max-width: 100%;
}

.owl-stage-outer,
.system-screens-animation {
  overflow: hidden;
}

.wrapper {
  width: 100%;
  max-width: 1200px;
}

@media (max-width: 991.98px) {
  :dir(ltr) .captera,
  :dir(rtl) .captera,
  .captera {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .container,
  .container-fluid {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-section h1 {
    font-size: clamp(1.85rem, 8vw, 3rem);
    overflow-wrap: anywhere;
  }

  .hero-section .actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  body.home .cta-section .cta-content,
  .footer .cta-section .cta-content {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  body.home .cta-section .cta-title,
  .footer .cta-section .cta-title,
  body.home .features-section .features-title,
  body.home .next-gen-section h2,
  body.pricing .pricing-title {
    font-size: clamp(1.6rem, 7vw, 2.3rem);
  }

  body.pricing .price-card,
  .packages .package-card {
    max-width: 100%;
  }
}

.demo-page {
  padding: 28px 0 64px;
}

.demo-page .demo-schedule h1 {
  margin-bottom: 6px;
  font-size: 2rem;
}

.demo-page .demo-lead {
  max-width: 640px;
  margin-bottom: 20px;
  color: #5c6754;
}

.demo-page .calendar > .box {
  display: none;
}

.demo-page .demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 20px;
  align-items: stretch;
}

.demo-page .demo-picker,
.demo-page .demo-form {
  background: #fff;
  border: 1px solid #e4eadf;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(32, 48, 24, 0.06);
  min-width: 0;
}

.demo-page .demo-picker {
  padding: 8px 16px 18px;
}

.demo-page.demoModal .calendar,
.demo-page.demoModal .demo-form {
  display: flex !important;
  flex-direction: column;
}

.demo-page .demo-form {
  padding: 22px 22px 18px;
}

.demo-page .demo-form .form {
  max-width: none;
  margin: 0;
  padding: 0;
  box-shadow: none;
  flex: 1;
}

.demo-page .demo-form h6 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.demo-page .demo-form .date,
.demo-page .demo-form .time,
.demo-page .demo-form .time-zone {
  display: inline-block;
  margin: 0 8px 12px 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f8ee;
  color: #3f5a28;
  font-size: 13px;
}

.demo-page .demo-form .date:empty,
.demo-page .demo-form .time:empty,
.demo-page .demo-form .time-zone:empty,
.demo-page .demo-form .back,
.demo-page .demo-form .edit {
  display: none;
}

.demo-page .demo-form .form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin: 0;
}

.demo-page .demo-form .form .col-md-6 {
  width: auto;
  max-width: none;
  padding: 0;
}

.demo-page .demo-form .form-group {
  margin-bottom: 0;
}

.demo-page .demo-form .form-control {
  height: 42px;
}

.demo-page #demo-btns {
  margin-top: auto;
  padding-top: 16px;
}

.demo-page .confirm-schedule {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 700;
}

.demo-page #DemoCalendar {
  position: relative;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.demo-page #DemoCalendar .calendar-sidebar,
.demo-page #DemoCalendar .sidebar-toggler,
.demo-page #DemoCalendar #eventListToggler,
.demo-page #DemoCalendar .demo-logo,
.demo-page #DemoCalendar .calendar-events {
  display: none !important;
}

.demo-page #DemoCalendar .calendar-inner,
.demo-page #DemoCalendar.event-hide .calendar-inner,
.demo-page #DemoCalendar.sidebar-hide .calendar-inner {
  margin-left: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  float: none;
  box-shadow: none;
  padding: 8px 36px 0;
}

.demo-page #DemoCalendar th[colspan="7"] {
  font-size: 18px;
  padding: 8px 0 10px;
}

.demo-page #DemoCalendar tr.calendar-header .calendar-header-day,
.demo-page #DemoCalendar tr.calendar-body .calendar-day {
  padding: 3px 0;
}

.demo-page #DemoCalendar tr.calendar-body .calendar-day .day {
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 14px;
}

.demo-page .ibee-month-nav {
  position: absolute;
  top: 10px;
  left: 8px;
  right: 8px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.demo-page .ibee-month-nav button {
  pointer-events: auto;
  width: 32px;
  height: 32px;
  border: 1px solid #d7e3cc;
  border-radius: 50%;
  background: #fff;
  color: #3d4a34;
  font-size: 22px;
  line-height: 1;
}

.demo-page .ibee-month-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

.demo-page #demo-slots {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #eef2ea;
}

.demo-page #demo-slots h6 {
  margin: 0 0 10px;
  font-size: 15px;
}

.demo-page #demo-slots .select2-container {
  width: 100% !important;
  margin-bottom: 12px;
}

.demo-page #dropdownTimeZone.select2-hidden-accessible {
  width: 1px !important;
  max-width: 1px !important;
  left: 0 !important;
  margin: 0 !important;
}

.demo-page #demo-slots .slot-details .row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.demo-page #demo-slots .slot-details .col-md-6 {
  width: auto;
  max-width: none;
  padding: 0;
}

.demo-page .slot-time {
  margin: 0;
  padding: 8px 4px;
  border-radius: 8px;
  font-size: 13px;
}

.demo-page #DemoCalendar .day.ibee-closed,
.demo-page #DemoCalendar td.ibee-closed {
  opacity: 0.35;
  pointer-events: none;
  cursor: not-allowed;
}

@media (max-width: 991px) {
  .demo-page .demo-layout,
  .demo-page .demo-form .form .row,
  .demo-page #demo-slots .slot-details .row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .demo-page {
    padding-top: 16px;
  }

  .demo-page .demo-layout,
  .demo-page .demo-form .form .row {
    grid-template-columns: 1fr;
  }

  .demo-page #demo-slots .slot-details .row {
    grid-template-columns: 1fr 1fr;
  }

  .demo-page #DemoCalendar tr.calendar-body .calendar-day .day {
    width: 32px;
    height: 32px;
  }
}

header.site-header nav.site-navbar {
  position: relative;
  z-index: 30;
}

header.site-header .dropdown-menu {
  padding: 8px;
}

header.site-header .solution-soon {
  cursor: default;
  opacity: 0.75;
}

.whatsapp-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 52px;
  height: 52px;
  line-height: 0;
}

.whatsapp-widget img {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

footer.ibee-footer {
  margin: 0;
  padding: 0;
  background: #fff;
}

footer.ibee-footer .cta-section {
  margin-top: 0;
  margin-bottom: 0;
}

.page-wrapper.about .main-banner {
  height: 460px !important;
  justify-content: center;
  align-items: flex-end;
  padding: 0 24px 88px;
}

.page-wrapper.about .main-banner > div,
.page-wrapper.about .main-banner .title {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-wrapper.about .over-banner .inside,
.page-wrapper.about .section03 .unit-4,
.page-wrapper.about .section03 .unit-4 h3,
.page-wrapper.about .section03 .unit-4 p {
  text-align: center;
}

.page-wrapper.about .why .row {
  align-items: center;
}

.page-wrapper.about .why .image {
  height: 360px;
  box-shadow: none;
}

.page-wrapper.about .why .text {
  text-align: start;
}

.page-wrapper.about .why h3,
.page-wrapper.about .why p {
  margin-left: 0;
  margin-right: 0;
}

.page-wrapper.about .why ul {
  margin: 0;
  padding-inline-start: 1.25rem;
}

.ibee-footer .cta-footer {
  background: #fff;
}

.ibee-footer .footer-link {
  color: #46a1aa;
  text-decoration: none;
}

.ibee-footer .footer-link:hover {
  color: #044958;
}

.ibee-footer .footer-social img {
  width: 25px;
  height: 24px;
}

.select2-hidden-accessible {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}

.ibee-book {
  position: relative;
  background: #f3f4f6;
  padding: 36px 16px 72px;
  font-family: Nunito, "Segoe UI", Tahoma, Arial, sans-serif;
}

.ibee-book-card {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  padding: 22px;
}

.ibee-book h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.ibee-book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.ibee-book-picker,
.ibee-book-form {
  min-width: 0;
}

.ibee-book-label,
.ibee-book-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

.ibee-book-head {
  margin-top: 18px;
}

.ibee-book-duration {
  color: #9ca3af;
  direction: ltr;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 500;
  unicode-bidi: isolate;
  white-space: nowrap;
}

.ibee-book-nav {
  display: flex;
  gap: 6px;
}

.ibee-book-nav button {
  width: 28px;
  height: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-size: 18px;
  line-height: 1;
}

.ibee-book-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

.ibee-book-zone,
.ibee-book-form input {
  width: 100%;
  height: 46px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  padding: 0 14px;
}

.ibee-book-zone {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b7280' stroke-width='1.5' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

[dir="rtl"] .ibee-book-zone {
  background-position: left 14px center;
  padding-right: 14px;
  padding-left: 36px;
}

.ibee-book-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.ibee-book-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 84px;
  padding: 8px 2px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.ibee-book-day span,
.ibee-book-day small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ibee-book-day strong {
  color: #111827;
  font-size: 18px;
  font-weight: 700;
}

.ibee-book-day small {
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
}

.ibee-book-day.is-selected,
.ibee-book-times button.is-selected {
  border: 2px solid #1f2937;
}

.ibee-book-times {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ibee-book-times button {
  height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  direction: ltr;
  font-size: 14px;
}

.ibee-book-day:hover,
.ibee-book-times button:hover,
.ibee-book-nav button:hover {
  border-color: #9ca3af;
}

.ibee-book-form {
  display: flex;
  flex-direction: column;
  background: #f5f6f8;
  border-radius: 18px;
  padding: 22px 20px 18px;
}

.ibee-book-form h2 {
  margin: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 700;
}

.ibee-book-form > p {
  margin: 4px 0 16px;
  color: #6b7280;
  font-size: 14px;
}

.ibee-book-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.ibee-book-names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ibee-book-form input::placeholder {
  color: #9ca3af;
}

.ibee-book-hint {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 13px;
}

.ibee-book-alert {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fdecec;
  color: #9f1239;
  font-size: 14px;
}

.ibee-book-alert.is-ok {
  background: #e8f6ee;
  color: #166534;
}

.ibee-book-submit {
  width: 100%;
  height: 48px;
  margin-top: auto;
  border: 0;
  border-radius: 10px;
  background: #044958;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.ibee-book-submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

@media (max-width: 991px) {
  .ibee-book-grid,
  .ibee-book-times {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .ibee-book {
    padding: 16px 12px 48px;
  }

  .ibee-book-card {
    padding: 14px;
    border-radius: 20px;
  }

  .ibee-book-grid,
  .ibee-book-names {
    grid-template-columns: 1fr;
  }

  .ibee-book-days {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .ibee-book-day {
    flex: 0 0 76px;
  }
}
