.reportExport {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.reportExport-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.reportExport-label {
  font-size: 1.4rem;
}

.reportExport-caret {
  font-size: 18px;
  margin-left: 2px;
}

.reportExport-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  z-index: 30;
}

.reportExport-option {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 0.75rem;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
}

.reportExport-option:hover,
.reportExport-option:focus {
  background: #f1f5f9;
}

.reportExport-option:disabled {
  color: #94a3b8;
  cursor: not-allowed;
  background: transparent;
}

.reportExport-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  border-top-color: transparent;
  animation: reportExportSpin 0.9s linear infinite;
}

@keyframes reportExportSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 600px) {
  .reportExport-menu {
    right: auto;
    left: 0;
  }
}
