.kitap-detay .flipbook-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.kitap-detay .flipbook-modal {
  background: #13132b;
  border-radius: 14px;
  width: 96vw;
  max-width: 1120px;
  height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.kitap-detay .flipbook-modal.fullscreen {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  border-radius: 0;
}
.kitap-detay .flipbook-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #0d0d22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  gap: 12px;
}
.kitap-detay .flipbook-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kitap-detay .flipbook-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.kitap-detay .flipbook-controls button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kitap-detay .flipbook-controls button:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.kitap-detay .flipbook-controls button.active {
  background: rgba(200, 16, 46, 0.25);
  border-color: rgba(200, 16, 46, 0.4);
  color: #ff8fa3;
}
.kitap-detay .flipbook-close {
  background: rgba(200, 16, 46, 0.15) !important;
  border-color: rgba(200, 16, 46, 0.25) !important;
  color: #ff6b6b !important;
}
.kitap-detay .flipbook-close:hover {
  background: rgba(200, 16, 46, 0.4) !important;
  color: #fff !important;
}
.kitap-detay .flipbook-pageinfo {
  min-width: 72px;
  text-align: center;
  padding: 0 4px;
}
.kitap-detay .fb-page-nums {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s;
  user-select: none;
  white-space: nowrap;
}
.kitap-detay .fb-page-nums em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}
.kitap-detay .fb-page-nums:hover {
  background: rgba(255, 255, 255, 0.08);
}
.kitap-detay .fb-jump-input {
  width: 68px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  padding: 4px 6px;
  outline: none;
  font-family: "Arsenal", serif;
}
.kitap-detay .fb-jump-input:focus {
  border-color: #c8102e;
  background: rgba(200, 16, 46, 0.1);
}
.kitap-detay .fb-zoom-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  min-width: 38px;
  text-align: center;
}
.kitap-detay .fb-ctrl-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 4px;
}
.kitap-detay .fb-progress-track {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  position: relative;
}
.kitap-detay .fb-progress-bar {
  height: 100%;
  background: linear-gradient(to right, #c8102e, #ff4d6d);
  transition: width 0.4s ease;
  width: 0%;
  border-radius: 0 2px 2px 0;
}
.kitap-detay .flipbook-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #1a1a38 0%, #0d0d1e 100%);
  position: relative;
  padding: 24px;
}
.kitap-detay .flipbook-stage.panning {
  cursor: grabbing !important;
}
.kitap-detay .flipbook-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  width: 100%;
  height: 100%;
}
.kitap-detay .fb-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: #c8102e;
  border-radius: 50%;
  animation: fb-spin 0.7s linear infinite;
}
.kitap-detay #flipbookContainer {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kitap-detay .book-spread {
  display: flex;
  align-items: stretch;
  position: relative;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.75);
  border-radius: 3px;
  transform-origin: center center;
  transition: transform 0.15s ease;
  will-change: transform;
}
.kitap-detay .book-half {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.kitap-detay #halfLeft {
  border-radius: 3px 0 0 3px;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.45);
}
.kitap-detay #halfLeft::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1));
  pointer-events: none;
}
.kitap-detay #halfRight {
  border-radius: 0 3px 3px 0;
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.45);
}
.kitap-detay #halfRight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 100%;
  background: linear-gradient(to left, transparent, rgba(0, 0, 0, 0.1));
  pointer-events: none;
  z-index: 1;
}
.kitap-detay .book-canvas {
  display: block;
}
.kitap-detay .book-spine {
  width: 7px;
  background: linear-gradient(to right, #777, #ddd 40%, #aaa 60%, #777);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.kitap-detay .book-spread.single-page .book-spine, .kitap-detay .book-spread.single-page #halfLeft {
  display: none;
}
.kitap-detay .book-spread.single-page #halfRight {
  border-radius: 3px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}
.kitap-detay .book-spread.single-page #halfRight::before {
  display: none;
}
.kitap-detay .df-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.kitap-detay .df-nav-btn:hover {
  background: rgba(200, 16, 46, 0.75);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.kitap-detay .df-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}
.kitap-detay .df-nav-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.kitap-detay .df-nav-prev {
  left: 14px;
}
.kitap-detay .df-nav-next {
  right: 14px;
}
.kitap-detay .fold-shadow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
}
.kitap-detay .fold-shadow--right {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.12) 35%, transparent 70%);
}
.kitap-detay .fold-shadow--left {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.12) 35%, transparent 70%);
}
.kitap-detay .corner-curl {
  position: absolute;
  bottom: 0;
  width: 60px;
  height: 60px;
  pointer-events: none;
  opacity: 0;
  z-index: 5;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform-style: preserve-3d;
}
.kitap-detay .corner-curl--right {
  right: 0;
  transform-origin: right bottom;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 40%, rgba(180, 180, 180, 0.55) 70%, rgba(220, 220, 220, 0.85) 100%);
  border-radius: 0 0 3px 0;
  box-shadow: -4px -4px 10px rgba(0, 0, 0, 0.18);
}
.kitap-detay .corner-curl--left {
  left: 0;
  transform-origin: left bottom;
  background: linear-gradient(225deg, rgba(255, 255, 255, 0) 40%, rgba(180, 180, 180, 0.55) 70%, rgba(220, 220, 220, 0.85) 100%);
  border-radius: 0 0 0 3px;
  box-shadow: 4px -4px 10px rgba(0, 0, 0, 0.18);
}
.kitap-detay .page-flipper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: none;
}
.kitap-detay .page-flipper.flipper-left {
  position: absolute;
  top: 0;
  z-index: 10;
}
.kitap-detay .flipper-face {
  position: absolute;
  top: 0;
  left: 0;
}
.kitap-detay .fb-thumbstrip {
  height: 130px;
  background: #0a0a1e;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 16px;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.kitap-detay .fb-thumbstrip::-webkit-scrollbar {
  height: 4px;
}
.kitap-detay .fb-thumbstrip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}
.kitap-detay .fb-thumbs-inner {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: max-content;
}
.kitap-detay .fb-thumb {
  position: relative;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s, transform 0.2s;
  background: #1e1e3a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kitap-detay .fb-thumb:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}
.kitap-detay .fb-thumb.active {
  border-color: #c8102e;
  box-shadow: 0 0 10px rgba(200, 16, 46, 0.45);
}
.kitap-detay .fb-thumb canvas {
  display: block;
}
.kitap-detay .fb-thumb-num {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.55);
  padding: 1px 5px;
  border-radius: 3px;
  pointer-events: none;
  white-space: nowrap;
}
.kitap-detay .fb-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.18);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
@media (max-width: 700px) {
  .kitap-detay .flipbook-modal {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  .kitap-detay .flipbook-title {
    display: none;
  }
  .kitap-detay .fb-ctrl-divider {
    display: none;
  }
  .kitap-detay .fb-zoom-label {
    display: none;
  }
  .kitap-detay .book-spine {
    width: 4px;
  }
  .kitap-detay .flipbook-stage {
    padding: 12px;
  }
  .kitap-detay .df-nav-btn {
    top: auto;
    bottom: 14px;
    transform: none;
  }
  .kitap-detay .df-nav-btn:hover {
    transform: scale(1.1);
  }
  .kitap-detay .df-nav-btn:active {
    transform: scale(0.95);
  }
  .kitap-detay .df-nav-prev {
    left: 50%;
    right: auto;
    margin-left: -56px;
  }
  .kitap-detay .df-nav-next {
    left: 50%;
    right: auto;
    margin-left: 12px;
  }
}

@keyframes fb-spin {
  to {
    transform: rotate(360deg);
  }
}

/*# sourceMappingURL=flipbook.css.map */
