.gdownloader-wrapper {
  display: inline-block;
  margin: 5px;
}

.gdownloader-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: #4CAF50;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s;
  user-select: none;
}

.gdownloader-button:hover {
  background: #45a049;
  transform: translateY(-1px);
}

.gdownloader-button:active {
  transform: translateY(0);
}

.gdownloader-button img {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  vertical-align: middle;
}

.gdownloader-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  border-radius: 4px;
  color: white;
  font-size: 14px;
  z-index: 999999;
  opacity: 1;
  transition: opacity 0.3s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.gdownloader-notification.success {
  background: #4CAF50;
}

.gdownloader-notification.error {
  background: #f44336;
}

.gdownloader-notification.info {
  background: #2196F3;
}

.gdownloader-floating-button {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  animation: gdownloader-fade-in 0.2s ease-in-out;
}

.gdownloader-floating-button:hover {
  background: #45a049 !important;
  transform: translateY(-1px);
}

@keyframes gdownloader-fade-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gdownloader-btn {
  position: absolute;
  z-index: 999999;
  background: #4285f4;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 12px;
  opacity: 0.9;
  transition: all 0.2s;
  display: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  white-space: nowrap;
  line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.gdownloader-btn:hover {
  opacity: 1;
  transform: scale(1.05);
  background: #3367d6;
}

/* 添加一个小三角形指示器 */
.gdownloader-btn::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent #4285f4 transparent transparent;
}

.gdownloader-btn:hover::before {
  border-right-color: #3367d6;
} 