#pdf-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 99999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

#pdf-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 35px;
}

.pdf-page {
  position: relative;
  margin-bottom: 30px;
  background: #000000;
  padding: 5px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.pdf-loading-shell {
  min-height: 360px;
  align-items: center;
}

.pdf-loading-shell .pdf-shell-message {
  color: #ffffff;
  font-size: 16px;
}

.pdf-open-loader {
  width: min(100%, 960px);
  text-align: center;
  color: #ffffff;
}

.pdf-open-loader img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #ffffff;
  filter: blur(1px);
  transform: scale(1.02);
}

.pdf-open-loader .pdf-loader-message {
  margin-top: 10px;
  font-size: 16px;
}

canvas {
  max-width: 100%;
  height: auto;
  background: #fff;
}

#pdf-header {
  position: fixed;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 10000;
}

@media (max-width: 768px) {
  #close-btn {
    font-size: 22px;
  }
}

.close-icon {
  position: relative;
  width: 36px;
  height: 36px;
}

.close-icon::before,
.close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 3px;
  background: currentColor;
  border-radius: 1.5px;
  transform-origin: center;
}

.close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.custom-pdf-header-dark {
  position: sticky;
  top: 0;
  z-index: 100000000;
  background: #fff;
}

.custom-pdf-header-dark {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid #34495e;
  height: 56px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 100000;
}

.custom-pdf-lin-sec {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  width: 100%;
  padding: 0 12px;
  height: 50px;
}

.custom-header-title {
  color: rgb(0, 0, 0);
  font-size: 18px !important;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-left: 5px;
  margin-bottom: 0;
}

.custom-header-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #1f3b63;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-header-icon:hover {
  background: #f3f6fb;
}

.custom-icn-svg {
  width: 20px;
  height: 20px;
  fill: #1f3b63;
}

.ovr-hden {
  overflow: hidden;
}

@media (max-width: 600px) {
  .custom-header-title {
    font-size: 14px;
  }
}

.main-image-container {
  padding: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1) !important;
  max-width: 500px;
  width: 100%;
  border-radius: 10px;
  margin: 0 auto;
  margin-bottom: 15px;
  float: right;
  margin-left: 15px;
  position: relative;
}

@media screen and (max-width: 991px) {
  .main-image-container {
    float: none;
    margin-left: 0;
    margin: 10px auto;
  }
}

.main-image-container img {
  border-radius: 10px;
}

.cv-zoom-icon {
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 10px;
  border-radius: 5px;
  top: 10px;
  right: 12px;
}

.cv-close-btn,
.cv-zoom-icon {
  position: absolute;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
