/*
 * Softify guest app – modern UI layer
 * This file intentionally overrides the legacy theme without changing its core behaviour.
 */

:root {
  --sf-primary: #C9A33E;
  --sf-primary-dark: #8A671C;
  --sf-accent: #E3C979;
  --sf-navy: #29251B;
  --sf-text: #182230;
  --sf-muted: #667085;
  --sf-surface: #ffffff;
  --sf-bg: #f2f6fb;
  --sf-line: #dfe7f1;
  --sf-danger: #d92d20;
  --sf-radius-sm: 12px;
  --sf-radius: 20px;
  --sf-radius-lg: 28px;
  --sf-shadow: 0 18px 55px rgba(15, 39, 66, 0.14);
  --sf-shadow-soft: 0 8px 30px rgba(15, 39, 66, 0.08);
}

html,
body {
  background: var(--sf-bg);
}

body {
  color: var(--sf-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(201, 163, 62, 0.28) !important;
  outline-offset: 2px;
}

/* Header */
.navbarpages {
  box-sizing: border-box;
  height: 76px;
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(48, 39, 18, 0.94), rgba(126, 94, 27, 0.84));
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 28px rgba(8, 27, 48, 0.14);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.navbarpages.navbarpagesbg {
  background: linear-gradient(135deg, #8A671C, #C9A33E);
}

.navbar_left {
  width: calc(100% - 120px);
  height: 60px;
  padding: 0;
  display: flex;
  align-items: center;
}

.navbar_left a img {
  width: auto !important;
  max-width: 145px;
  max-height: 40px;
  padding: 0;
  object-fit: contain;
}

.logo_text {
  line-height: 1;
}

.navbar_right {
  width: 44px;
  height: 44px;
  margin: 8px 0 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 180ms ease, background-color 180ms ease;
}

.navbar_right:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

.navbar_right.navbar_right_menu {
  padding-right: 0;
}

.navbar_right img {
  box-sizing: border-box;
  width: 22px;
  max-width: none;
  height: 22px;
  margin: 0;
  padding: 11px 0 0;
  object-fit: contain;
}

/* Drawers */
.panel-overlay {
  position: fixed;
  background: rgba(9, 23, 39, 0.48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.panel {
  position: fixed;
  width: min(86vw, 390px);
  color: #fff;
  background:
    radial-gradient(circle at 25% 12%, rgba(201, 163, 62, 0.36), transparent 36%),
    linear-gradient(165deg, #302916, #1D190F 72%);
  box-shadow: 0 0 50px rgba(2, 14, 27, 0.32);
}

.panel.panel-left.panel-reveal {
  left: calc(0px - min(86vw, 390px));
}

.panel.panel-right.panel-reveal {
  right: calc(0px - min(86vw, 390px));
}

body.with-panel-left-reveal .views {
  transform: translate3d(min(86vw, 390px), 0, 0);
}

body.with-panel-right-reveal .views {
  transform: translate3d(calc(0px - min(86vw, 390px)), 0, 0);
}

body.with-panel-left-reveal .panel-overlay {
  margin-left: min(86vw, 390px);
}

body.with-panel-right-reveal .panel-overlay {
  margin-left: calc(0px - min(86vw, 390px));
}

.main_nav_underline {
  box-sizing: border-box;
  width: 100%;
  padding: 28px 22px;
}

.main_nav_underline ul {
  width: 100%;
  padding: 0;
}

.main_nav_underline ul li {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}

.main_nav_underline ul li a {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 15px;
  font-weight: 600;
  line-height: 26px;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.main_nav_underline ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

.main_nav_underline ul li img {
  width: 24px;
  max-width: 24px;
  margin: 1px 14px 0 0;
  opacity: 0.95;
}

.main_nav_underline ul li span {
  padding: 0;
}

.user_thumb {
  min-height: 270px;
  overflow: hidden;
}

.user_thumb > img {
  width: 100%;
  min-height: 270px;
  object-fit: cover;
}

.user_details {
  height: 160px;
  background: linear-gradient(transparent, rgba(7, 25, 43, 0.92));
}

.user_details p {
  padding: 90px 90px 0 22px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.user_details p span {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}

.user_avatar {
  right: 20px;
  bottom: 22px;
  width: 58px;
}

.user_avatar img {
  box-sizing: border-box;
  width: 58px;
  height: 58px;
  margin: 0;
  border: 3px solid rgba(255, 255, 255, 0.85);
  object-fit: cover;
}

.user-nav {
  box-sizing: border-box;
  width: 100%;
  padding: 22px;
}

.user-nav ul li {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.user-nav ul li a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 15px;
  font-weight: 600;
}

.user-nav ul li img {
  width: 24px;
  max-width: 24px;
  margin-right: 14px;
}

.user-nav ul li span {
  padding: 0;
}

/* Homepage hero */
.guest-home .homepage,
.guest-home .pages {
  background: var(--sf-navy);
}

.guest-home .slidertoolbar {
  height: 100dvh;
  min-height: 620px;
}

.guest-home .swiper-slide {
  background-position: center;
}

.guest-home .slider_trans {
  background:
    linear-gradient(90deg, rgba(28, 23, 13, 0.84) 0%, rgba(28, 23, 13, 0.5) 52%, rgba(28, 23, 13, 0.12) 100%),
    linear-gradient(0deg, rgba(28, 23, 13, 0.58), transparent 55%);
}

.guest-home .slider-caption {
  box-sizing: border-box;
  left: clamp(22px, 5vw, 78px);
  bottom: 185px;
  width: min(690px, calc(100% - 44px));
  padding: 0;
}

.guest-home .slider-caption h2 {
  max-width: 680px;
  margin: 12px 0 16px;
  font-size: clamp(35px, 5vw, 64px);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-wrap: balance;
}

.guest-home .slider-caption p {
  max-width: 630px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
}

.guest-home .slider-caption span.subtitle {
  display: inline-flex;
  align-items: center;
  margin: 0 8px 8px 0;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.guest-home .slider-caption span.subtitle:first-child {
  background: var(--sf-primary);
  border-color: var(--sf-primary);
  color: var(--sf-navy);
}

.guest-home .slider-caption span.subtitle a {
  font-weight: 700;
}

.guest-home .slidertoolbar > .swiper-pagination {
  bottom: 162px;
  left: clamp(22px, 5vw, 78px);
}

.guest-home .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border: 0;
  background: rgba(255, 255, 255, 0.56);
}

.guest-home .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 10px;
  background: #fff;
}

.swiper-button-prev,
.swiper-button-next {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background-color: rgba(15, 39, 66, 0.42);
  background-size: 12px auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.guest-home .swiper-container-toolbar {
  box-sizing: border-box;
  left: 50%;
  bottom: 18px;
  width: min(1120px, calc(100% - 36px));
  height: auto;
  margin: 0;
  padding: 9px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 55px rgba(5, 21, 37, 0.28);
  transform: translateX(-50%);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
}

.guest-home .toolbar-icon {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.guest-home .toolbar-icon a {
  box-sizing: border-box;
  display: flex;
  float: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 105px !important;
  margin: 0;
  padding: 10px 7px;
  border: 1px solid transparent;
  border-radius: 17px;
  background: transparent;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.guest-home .toolbar-icon a:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 163, 62, 0.2);
  background: rgba(201, 163, 62, 0.11);
}

.guest-home .toolbar-icon a img {
  width: 34px;
  max-width: 34px;
  height: 34px;
  margin: 0 0 9px;
  object-fit: contain;
}

.guest-home .toolbar-icon a span {
  color: var(--sf-navy);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.025em;
  line-height: 1.2;
}

/* Content pages */
.guest-booking .pages,
.guest-checkin .pages {
  background:
    radial-gradient(circle at 5% 0%, rgba(201, 163, 62, 0.14), transparent 30%),
    radial-gradient(circle at 95% 100%, rgba(136, 207, 97, 0.13), transparent 26%),
    var(--sf-bg);
}

.guest-booking #pages_maincontent,
.guest-checkin #pages_maincontent {
  top: 76px;
  box-sizing: border-box;
  padding: 34px clamp(16px, 4vw, 48px) 48px;
}

.guest-booking h2.page_title,
.guest-checkin h2.page_title {
  display: block;
  width: min(100%, 1120px);
  margin: 0 auto 20px;
  padding: 0;
  border: 0;
  color: var(--sf-navy);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.guest-booking #pages_maincontent > iframe,
.guest-booking #appartman-embed-iframe-wrapper {
  box-sizing: border-box;
  display: block;
  width: min(100%, 1180px) !important;
  min-height: 600px;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 1px solid var(--sf-line) !important;
  border-radius: var(--sf-radius);
  background: #fff;
  box-shadow: var(--sf-shadow-soft);
}

.guest-booking #pages_maincontent > iframe {
  height: calc(100dvh - 230px);
}

.guest-booking a.button_full,
.guest-checkin a.button_full {
  box-sizing: border-box;
  display: block;
  width: fit-content;
  min-width: 240px;
  margin: 0 auto;
  padding: 13px 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 39, 66, 0.04);
  color: var(--sf-primary);
  font-size: 14px;
  font-weight: 700;
}

.guest-checkin .page_single {
  box-sizing: border-box;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid rgba(220, 230, 241, 0.9);
  border-radius: var(--sf-radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--sf-shadow-soft);
}

.guest-checkin .contactform form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guest-checkin .form_row {
  float: none;
  width: auto;
}

.guest-checkin .contactform h2.page_title,
.guest-checkin .contactform .container,
.guest-checkin .contactform input.form_submit {
  grid-column: 1 / -1;
}

.guest-checkin .contactform h2.page_title {
  margin-top: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--sf-line);
  font-size: 25px;
}

.guest-checkin .contactform label {
  box-sizing: border-box;
  padding: 0 0 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.guest-checkin .contactform input.form_input,
.guest-checkin .selector_overlay select,
.guest-checkin input[type="file"],
.guest-key input.form-control,
.guest-home .popup input.form-control,
.guest-home .popup input.form_input {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #cfd9e6;
  border-radius: 13px;
  background: #fff;
  color: var(--sf-text);
  font: inherit;
  box-shadow: 0 1px 2px rgba(15, 39, 66, 0.03);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.guest-checkin .contactform input.form_input:focus,
.guest-checkin .selector_overlay select:focus,
.guest-checkin input[type="file"]:focus,
.guest-key input.form-control:focus,
.guest-home .popup input:focus {
  border-color: var(--sf-primary);
  box-shadow: 0 0 0 4px rgba(201, 163, 62, 0.14);
  outline: 0 !important;
}

.guest-checkin .selector_overlay {
  float: none;
  overflow: visible;
  background: none;
}

.guest-checkin .selector_overlay select {
  appearance: auto;
  -webkit-appearance: auto;
}

.guest-checkin .contactform .container {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: 8px 0 0;
}

.guest-checkin [class*="personal-details"] {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 14px;
  padding: 18px;
  border: 1px solid var(--sf-line);
  border-radius: 17px;
  background: #f8fafc;
}

.guest-checkin [class*="personal-details"] > div:last-child:not(.col-sm-6) {
  grid-column: 1 / -1;
}

.guest-checkin [class*="personal-details"] > .col-sm-6 {
  width: auto;
  max-width: none;
  padding: 0;
}

.guest-checkin input[type="file"] {
  min-height: 48px;
  padding: 8px;
  font-size: 12px;
}

.guest-checkin input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 8px 11px;
  border: 0;
  border-radius: 9px;
  background: #FBF4E0;
  color: var(--sf-primary-dark);
  font-weight: 700;
  cursor: pointer;
}

.guest-checkin .button.button1 {
  box-sizing: border-box;
  width: fit-content;
  height: auto;
  margin-top: 4px;
  padding: 10px 14px;
  border: 1px solid rgba(201, 163, 62, 0.28);
  border-radius: 11px;
  background: #FBF6E8;
  color: var(--sf-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.guest-checkin input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin: 10px 7px 0 0;
  accent-color: var(--sf-primary);
  vertical-align: -4px;
}

.guest-checkin .contactform input.form_submit,
.guest-home .popup input.form_submit,
.guest-key .btn-primary {
  min-height: 52px;
  margin-top: 8px;
  padding: 13px 20px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sf-primary), #D8B95F);
  color: var(--sf-navy);
  font-size: 15px;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(138, 103, 28, 0.22);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.guest-checkin .contactform input.form_submit:hover,
.guest-home .popup input.form_submit:hover,
.guest-key .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(138, 103, 28, 0.26);
}

.alert {
  box-sizing: border-box;
  width: min(100%, 960px);
  margin: 0 auto 22px;
  padding: 16px 18px;
  border: 1px solid #abefc6;
  border-radius: 15px;
  background: #ecfdf3;
  color: #067647;
}

.alert-danger {
  border-color: #fecdca !important;
  background: #fef3f2 !important;
  color: #b42318 !important;
}

/* Key and Wi-Fi utility pages */
.guest-key,
.guest-key-result,
.guest-wifi {
  overflow: auto;
  min-height: 100%;
  background:
    radial-gradient(circle at 15% 12%, rgba(201, 163, 62, 0.18), transparent 31%),
    radial-gradient(circle at 88% 88%, rgba(136, 207, 97, 0.19), transparent 28%),
    var(--sf-bg);
}

.guest-key > div,
.guest-key-result > div,
.guest-wifi > div {
  box-sizing: border-box;
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 24px;
}

.guest-key > div > .content-block,
.guest-key-result > div > .content-block,
.guest-wifi > div > .content-block {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 900px);
  margin: 0;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(220, 230, 241, 0.9);
  border-radius: var(--sf-radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--sf-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.guest-key > div > .content-block > h4,
.guest-key-result #display > h4,
.guest-wifi #display > h4 {
  color: var(--sf-navy);
  font-size: clamp(27px, 5vw, 42px);
  font-weight: 760 !important;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.guest-key > div > .content-block > .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 24px;
}

.guest-key > div > .content-block > .row .col-sm-4 {
  width: auto;
  padding: 0;
}

.guest-key > div > .content-block > .row a {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  padding: 22px 14px;
  border: 1px solid var(--sf-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 39, 66, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.guest-key > div > .content-block > .row a:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 163, 62, 0.45);
  box-shadow: 0 12px 28px rgba(15, 39, 66, 0.11);
}

.guest-key > div > .content-block > .row img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.guest-key > div > .content-block > .row h5,
.guest-key > div > .content-block > .row p {
  margin: 10px 0 0;
  padding: 0;
  color: var(--sf-navy);
  font-size: 15px;
  font-weight: 700;
}

.guest-key .popup .content-block {
  text-align: center;
}

.guest-key .popup h3 {
  color: var(--sf-muted);
  font-size: 14px;
  font-weight: 600;
}

.guest-key .card-footer {
  padding: 14px 0 0;
}

.guest-key .btn-primary {
  width: 100%;
}

.guest-key-result #display,
.guest-wifi #display {
  text-align: center;
}

.guest-key-result #display > h3,
.guest-wifi #display > h3 {
  display: inline-block;
  margin: 8px 0 18px;
  padding: 15px 22px;
  border: 1px dashed rgba(201, 163, 62, 0.46);
  border-radius: 15px;
  background: #FBF6E8;
  color: var(--sf-primary-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 800 !important;
  letter-spacing: 0.08em;
}

.guest-key-result #display > img {
  width: 110px !important;
  max-width: 34%;
  height: 110px;
  object-fit: contain;
}

.tuya-button,
.copy-code-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--sf-primary), #D8B95F);
  color: var(--sf-navy);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(138, 103, 28, 0.2);
  cursor: pointer;
}

.copy-code-button {
  display: flex;
  margin: -2px auto 22px;
  background: var(--sf-navy);
  box-shadow: none;
}

/* Popups */
.popup {
  position: fixed;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(8, 24, 42, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.popup .content-block {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 620px);
  max-height: calc(100dvh - 44px);
  margin: auto;
  padding: clamp(28px, 5vw, 50px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--sf-radius-lg);
  background: #fff;
  box-shadow: 0 30px 90px rgba(4, 19, 35, 0.32);
}

.popup .content-block > h4 {
  color: var(--sf-navy);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 760;
  letter-spacing: -0.035em;
}

.popup iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 16px;
  background: #f3f6fa;
}

.foglalas-popup .content-block {
  width: min(100%, 1180px);
}

.foglalas-popup iframe {
  min-height: 70dvh;
}

.close_popup_button a {
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #f0f4f8;
}

.close_popup_button a img {
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  margin: 12px;
  background: none;
  object-fit: contain;
}

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

.popup .row .col-sm-4 {
  width: auto;
}

/* Lightweight notifications */
.sf-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120000;
  max-width: min(360px, calc(100% - 40px));
  padding: 13px 16px;
  border-radius: 13px;
  background: var(--sf-navy);
  box-shadow: var(--sf-shadow);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  animation: sf-toast-in 200ms ease-out both;
}

@keyframes sf-toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 780px) {
  .navbarpages {
    height: 68px;
    padding: 6px 12px;
  }

  .navbar_left {
    height: 56px;
  }

  .navbar_right {
    margin-top: 6px;
  }

  .guest-home .slider-caption {
    bottom: 230px;
  }

  .guest-home .slidertoolbar > .swiper-pagination {
    bottom: 207px;
  }

  .guest-home .toolbar-icon {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guest-home .toolbar-icon a {
    height: 78px !important;
  }

  .guest-home .toolbar-icon a img {
    width: 27px;
    max-width: 27px;
    height: 27px;
    margin-bottom: 5px;
  }

  .guest-booking #pages_maincontent,
  .guest-checkin #pages_maincontent {
    top: 68px;
    padding-top: 24px;
  }

  .guest-checkin .contactform form,
  .guest-checkin [class*="personal-details"] {
    grid-template-columns: 1fr;
  }

  .guest-checkin .contactform h2.page_title,
  .guest-checkin .contactform .container,
  .guest-checkin .contactform input.form_submit,
  .guest-checkin [class*="personal-details"] > div:last-child:not(.col-sm-6) {
    grid-column: 1;
  }

  .guest-key > div > .content-block > .row {
    grid-template-columns: 1fr;
  }

  .guest-key > div > .content-block > .row a {
    min-height: 112px;
    flex-direction: row;
    gap: 16px;
  }

  .guest-key > div > .content-block > .row h5,
  .guest-key > div > .content-block > .row p {
    margin: 0;
    text-align: left;
  }
}

@media (max-width: 520px) {
    .guest-home .swiper-button-prev,
.guest-home .swiper-button-next {
  bottom: 182px !important;
  width: 40px !important;
  height: 40px !important;
}
    .guest-home .slider-caption span.subtitle {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-right: 0;
}
  .navbar_left {
    width: calc(100% - 104px);
  }

  .navbar_right {
    width: 40px;
    height: 40px;
    margin: 8px 0 0 6px;
  }

  .navbar_right img {
    padding-top: 9px;
  }

  .guest-home .slider-caption {
    left: 20px;
    bottom: 222px;
    width: calc(100% - 40px);
  }

  .guest-home .slider-caption h2 {
    font-size: clamp(29px, 9vw, 42px);
  }

  .guest-home .slider-caption p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .guest-home .slidertoolbar > .swiper-pagination {
    left: 20px;
    bottom: 199px;
  }

  .guest-home .swiper-container-toolbar {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 7px;
    border-radius: 20px;
  }

  .guest-home .toolbar-icon {
    gap: 2px;
  }

  .guest-home .toolbar-icon a {
    height: 76px !important;
    padding: 6px 3px;
    border-radius: 14px;
  }

  .guest-home .toolbar-icon a span {
    font-size: 9px;
  }

  .popup {
    align-items: flex-end;
    padding: 10px;
  }

  .popup .content-block {
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 34px 20px 24px;
    border-radius: 24px;
  }

  .popup .row {
    grid-template-columns: 1fr;
  }

  .guest-booking #pages_maincontent,
  .guest-checkin #pages_maincontent {
    padding-right: 12px;
    padding-left: 12px;
  }

  .guest-checkin .page_single,
  .guest-key > div > .content-block,
  .guest-key-result > div > .content-block,
  .guest-wifi > div > .content-block {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .guest-key > div,
  .guest-key-result > div,
  .guest-wifi > div {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
