.download-images-widget {
  display: inline-block;
}

.download-images-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
}

.download-images-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Remove the loading animation since we're using a custom loading icon */
.download-images-button.loading::after {
  display: none;
}

.download-images-button.loading .button-icon {
	-webkit-animation: rotating 1s linear infinite;
	-moz-animation: rotating 1s linear infinite;
	-ms-animation: rotating 1s linear infinite;
	-o-animation: rotating 1s linear infinite;
	animation: rotating 1s linear infinite;
}

/* Remove status-related styles since we're not using status messages anymore */
.download-images-status {
  display: none;
}

@keyframes rotating {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}