.downloadBtn {
  position: absolute;
  right: 15px;
  top:-35px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-bottom: none;
  padding: 5px 5px;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  font-size: 1.4rem;
  font-weight: 600;
  transition: background 0.2s ease;
  min-width: 50px;
}

.downloadBtn:hover {
  background: #95d2b0;
}

.downloadBtn:disabled {
  background: #a5a5a5;
  cursor: not-allowed;
}

.loader {
  border: 3px solid #ffffff55;
  border-top: 3px solid white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
