/* Google Drive gömülü PDF görüntüleyici modali */

#drive-pdf-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  animation: driveModalFadeIn 0.2s ease;
}

@keyframes driveModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#drive-pdf-modal .drive-modal-box {
  position: relative;
  width: 92vw;
  height: 90vh;
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

#drive-pdf-modal .drive-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #1a1a2e;
  color: #fff;
  flex-shrink: 0;
}

#drive-pdf-modal .drive-modal-header span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#drive-pdf-modal .drive-modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.8;
  transition: opacity 0.15s;
}

#drive-pdf-modal .drive-modal-close:hover {
  opacity: 1;
}

#drive-pdf-iframe {
  flex: 1;
  width: 100%;
  border: none;
}

@media (max-width: 768px) {
  #drive-pdf-modal .drive-modal-box {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
}
