/* Skyflip 2.0.3 - flipbook (DearFlip) styling. Loaded on outlet pages after dflip.min.css.
   Goals: a calm warm-neutral stage, a book cover in #3D3935, and a slim floating control bar with the hotel's gold as the only accent.
   Everything is scoped to DearFlip's own classes, so nothing else on the site is affected. */

/* ---------- stage (the area behind the book while a menu is open) ---------- */
.df-lightbox-wrapper .df-lightbox-bg {
  background-color: #ddd7cd;
  background-image:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0) 70%),
    radial-gradient(ellipse 120% 70% at 50% 108%, rgba(61, 57, 53, .30), rgba(61, 57, 53, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(61, 57, 53, .10));
}
html[data-theme="dark"] .df-lightbox-wrapper .df-lightbox-bg {
  background-color: #1b1815;
  background-image:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 70%),
    radial-gradient(ellipse 120% 70% at 50% 108%, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 60%);
}
.df-container .df-book-shadow { opacity: .85; }

/* ---------- floating control bar ---------- */
.df-container .df-ui {
  background: rgba(36, 32, 29, .88);
  color: #e9e3d8;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(20, 16, 12, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  height: 46px;
  padding: 0 8px;
  overflow: visible;
}
.df-container.df-float .df-ui { bottom: 18px; }
.df-container.df-controls-top.df-float .df-ui { top: 18px; }
.df-container .df-ui .df-ui-btn {
  background: transparent;
  color: #e9e3d8;
  width: 40px;
  border-radius: 50%;
  padding: 12px 5px;
  font-size: 18px;
  transition: color .2s ease, background-color .2s ease, transform .15s ease;
}
.df-container .df-ui .df-ui-btn:hover,
.df-container .df-ui .df-ui-btn.df-active {
  background: rgba(255, 255, 255, .10);
  color: var(--primary, #d6b46a);
}
.df-container .df-ui .df-ui-btn:active { transform: scale(.92); }
.df-container .df-ui .df-ui-btn.df-active { background: rgba(214, 180, 106, .18); }
/* no PDF download from the viewer (also removed in the options; this is the safety net) */
.df-container .df-ui-download, .df-container .df-more-container .df-ui-download { display: none !important; }

/* ---------- page picker: "3 / 24" pill; tap it to type a page number ---------- */
.df-container .df-ui .df-ui-page {
  position: relative; box-sizing: border-box;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 999px;
  margin: 8px 4px; padding: 0;
  height: 30px; line-height: 28px;
  width: 78px; min-width: 78px;
  color: #e9e3d8; cursor: text;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.df-container .df-ui .df-ui-page:hover { background: rgba(255, 255, 255, .14); }
.df-container .df-ui .df-ui-page:focus-within { background: rgba(255, 255, 255, .16); border-color: var(--primary, #d6b46a); box-shadow: 0 0 0 3px rgba(214, 180, 106, .25); }
.df-container .df-ui .df-ui-page label {
  position: absolute; inset: 0; width: 100%; min-width: 0; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #e9e3d8; font-size: 13px; font-weight: 600; letter-spacing: .02em; line-height: 1 !important;
  font-variant-numeric: tabular-nums; white-space: nowrap; cursor: text;
}
.df-container .df-ui .df-ui-page input {
  position: absolute; inset: 0; width: 100%; height: 100%; box-sizing: border-box;
  margin: 0; padding: 0 8px !important; border: 0; border-radius: 999px; background: transparent;
  text-align: center; font: inherit; font-size: 14px; font-weight: 600; line-height: 1 !important; color: #fff; caret-color: var(--primary, #d6b46a);
  outline: none; -moz-appearance: textfield;
}
.df-container .df-ui .df-ui-page input:focus { color: #fff; }

/* ---------- the "more" menu that opens above the bar ----------
   (DearFlip lays these items out as 170px-wide rows with a text label; the round-button rules above had squeezed them into 40px circles) */
.df-container .df-ui .df-more-container {
  background: rgba(36, 32, 29, .97);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(20, 16, 12, .45);
  padding: 6px; min-width: 210px; right: 0; margin-bottom: 12px !important;
}
.df-container .df-ui .df-more-container:before { display: none; }
.df-container .df-ui .df-more-container > .df-ui-btn {
  display: block; position: relative; width: 100%; height: 42px; padding: 0 14px 0 44px; margin: 0;
  border: 0; border-radius: 11px; text-align: left; line-height: 42px; font-size: 18px; color: #e9e3d8; background: transparent;
}
.df-container .df-ui .df-more-container > .df-ui-btn + .df-ui-btn { margin-top: 2px; }
.df-container .df-ui .df-more-container > .df-ui-btn:before { position: absolute; left: 12px; top: 0; width: 22px; height: 42px; line-height: 42px; font-size: 18px; text-align: center; }
.df-container .df-ui .df-more-container > .df-ui-btn span { display: inline; padding: 0; font-size: 13.5px; font-weight: 600; letter-spacing: .01em; vertical-align: baseline; }
.df-container .df-ui .df-more-container > .df-ui-btn:hover, .df-container .df-ui .df-more-container > .df-ui-btn.df-active { background: rgba(255, 255, 255, .10); color: var(--primary, #d6b46a); }
.df-container .df-controls-top .df-more-container, .df-container.df-controls-top .df-ui .df-more-container { margin: 12px 0 0 !important; }

/* ---------- previous / next arrows ---------- */
.df-container .df-ui-nav {
  width: 46px; height: 46px; margin-top: -23px; border-radius: 50%;
  background: rgba(36, 32, 29, .55); color: #f4efe6; font-size: 20px; padding: 13px 0; opacity: .9;
  box-shadow: 0 6px 16px rgba(20, 16, 12, .28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .2s ease, color .2s ease, opacity .2s ease, transform .15s ease;
}
.df-container .df-ui-nav.df-ui-prev { left: 14px; }
.df-container .df-ui-nav.df-ui-next { right: 14px; }
.df-container .df-ui-nav:hover { background: rgba(36, 32, 29, .85); color: var(--primary, #d6b46a); opacity: 1; transform: scale(1.06); }

/* ---------- close button ---------- */
.df-lightbox-wrapper .df-lightbox-close {
  float: none; position: absolute; top: 14px; right: 14px; z-index: 12;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  font-size: 24px; line-height: 44px; opacity: 1; color: #f4efe6;
  background: rgba(36, 32, 29, .82); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 8px 22px rgba(20, 16, 12, .35);
  transition: background-color .2s ease, transform .15s ease;
}
.df-lightbox-wrapper .df-lightbox-close:before { filter: none; color: inherit; }
.df-lightbox-wrapper .df-lightbox-close:hover { background: rgba(36, 32, 29, .98); color: var(--primary, #d6b46a); border-color: rgba(255, 255, 255, .2); transform: rotate(90deg); }

/* ---------- side panels (contents, thumbnails, search) ---------- */
.df-container .df-sidemenu-wrapper {
  background: rgba(250, 247, 241, .97);
  box-shadow: 8px 0 34px rgba(20, 16, 12, .22);
  color: #3D3935;
}
.df-container .df-sidemenu-wrapper .df-sidemenu-buttons { box-shadow: 0 1px 0 rgba(61, 57, 53, .12); background: transparent; }
.df-container .df-sidemenu-title {
  background: transparent; color: #3D3935; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 11px;
}
.df-container .df-sidemenu-wrapper .df-ui-btn { background: transparent; color: #6b5f4d; }
.df-container .df-sidemenu-wrapper .df-ui-btn:hover { color: #8a6a2f; background: rgba(214, 180, 106, .18); }
.df-container .df-thumb .df-thumb-number { color: #6b5f4d; }
.df-container .df-thumb.df-selected,
.df-container .df-thumb:hover { outline: 2px solid var(--primary, #d6b46a); outline-offset: 2px; border-radius: 3px; }
.df-container .df-outline-item { color: #3D3935; }
.df-container .df-outline-item:hover { color: #8a6a2f; }

/* ---------- loading ---------- */
.df-container .df-loading-info { color: #3D3935; letter-spacing: .04em; }

/* ---------- small screens: keep the bar compact ---------- */
@media (max-width: 760px) {
  .df-container .df-ui { height: 42px; padding: 0 4px; }
  .df-container .df-ui .df-ui-btn { width: 36px; padding: 10px 4px; font-size: 17px; }
  .df-container .df-ui .df-ui-page { height: 28px; margin: 7px 2px; width: 68px; min-width: 68px; }
  .df-container .df-ui .df-ui-page input { font-size: 16px; }                      /* 16px stops iOS zooming into the field */
  .df-container .df-ui .df-more-container { min-width: 190px; }
  .df-container .df-ui-nav { width: 40px; height: 40px; margin-top: -20px; padding: 10px 0; font-size: 17px; }
  .df-container .df-ui-nav.df-ui-prev { left: 6px; } .df-container .df-ui-nav.df-ui-next { right: 6px; }
  .df-lightbox-wrapper .df-lightbox-close { top: 8px; right: 8px; width: 40px; height: 40px; line-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .df-container .df-ui .df-ui-btn, .df-container .df-ui-nav, .df-lightbox-wrapper .df-lightbox-close { transition: none; }
}
