/* Corner buttons positioning */
.corner-buttons {
  position: fixed;
  z-index: 1000;
  display: flex;
  gap: 10px;
}

.corner-buttons.top-left {
  top: 20px;
  left: 20px;
}

.corner-buttons.top-right {
  top: 20px;
  right: 20px;
}

.corner-buttons.bottom-left {
  bottom: 20px;
  left: 20px;
}

.corner-buttons.bottom-right {
  bottom: 20px;
  right: 20px;
}

/* Button styles */
.corner-button {
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
}

.corner-button:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
}

.corner-button.active {
  background-color: rgba(60, 60, 60, 0.9);
}

/* Icon button style */
.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text button style */
.text-button {
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 14px;
}

/* Side navigation buttons */
.side-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1200;
}

/* When nested under the Pageflip stage, switch to absolute so it remains within the fullscreen element */
#pf-stage { position: relative; }
#pf-stage .side-nav { position: absolute; }

.side-nav.left { left: 20px; }
.side-nav.right { right: 20px; }

.side-nav .icon-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.side-nav .icon-button:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: translateY(0) scale(1.05);
}

/* Fullscreen adjustments */
:fullscreen .side-nav,
::backdrop .side-nav { z-index: 10000; }
:fullscreen #pf-stage .side-nav.left { left: 20px; }
:fullscreen #pf-stage .side-nav.right { right: 20px; }

/* Legacy debug buttons - for backward compatibility */
.debug-buttons {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  display: flex;
  gap: 10px;
}

.debug-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.debug-button:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}
/* page view */

.pageView{
  background: #ececec; 
}

:fullscreen, ::backdrop {
  background: #ececec; 
}


/* Default Page setup */

.singlePageMode .pf-left-side {
	background-color: #ececec;
}

.singlePageMode .pf-right-side {
	background-color: #ececec;
}


/* Top right navigation buttons - for backward compatibility */
.nav-buttons {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  gap: 10px;
}

.nav-button {
  padding: 8px 15px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.nav-button:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
}


/* index.html */
.edit-actions{
  display: none;
}

/* custom pageflip5 */

/* #pageflip {
	width: 100%;
	background: #ececec;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
}

.pageflip-container {
}
#pf-pagerin {
	font-family: "Fauna One", "Lucida Grande", Helvetica, sans-serif;
}
#pf-stage {
	background: #ececec;
}
 */


#pageflip-controls{
    bottom:-20px;  
}

/* fullscreen state */
:fullscreen #pageflip-controls{
    bottom:0px;  
}



.pageInfo{
  display: none;
}


#b-zoomin{
  display: none;
}

#b-play{
  display: none;
}

#b-thumbs{
  display: none;
}
