/* LLF PDF Viewer styles */

body.llf-pdf-open {
  overflow: hidden;
}

#llf-pdf-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: "DM Sans", "Roboto", Arial, sans-serif;
}

#llf-pdf-modal.active {
  display: flex;
}

.llf-pdf-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.llf-pdf-container {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 1100px;
  height: 85vh;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  z-index: 1;
}

.llf-pdf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: #fff;
}

.llf-pdf-title {
  font-weight: 600;
  font-size: 14px;
}

.llf-pdf-actions {
  display: flex;
  gap: 8px;
}

.llf-pdf-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f6f8fb;
  border-bottom: 1px solid #e5e8ec;
}

.llf-pdf-body {
  flex: 1;
  overflow: auto;
  background: #f9fafc;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10px;
}

#llf-pdf-canvas {
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  max-width: 100%;
  height: auto;
}

.llf-pdf-btn {
  border: none;
  background: #eef2f6;
  color: #2c3e50;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
}

.llf-pdf-btn:hover {
  background: #dce4ed;
}

.llf-pdf-btn i {
  font-size: 13px;
}

.llf-pdf-page-info {
  font-size: 13px;
  font-weight: 600;
  color: #2c3e50;
}

.llf-pdf-zoom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

#llf-pdf-zoom-level {
  font-size: 12px;
  color: #2c3e50;
}

@media (max-width: 768px) {
  .llf-pdf-container {
    width: 95%;
    height: 80vh;
  }
  .llf-pdf-toolbar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .llf-pdf-zoom {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
}


