/* Auth button styles */

.auth-btn {
  margin-right: 5px;
  width: 50px;
  height: 50px;
  border-radius: 20%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  display: flex;                 /* Add this */
  align-items: center;          /* Vertically center */
  justify-content: center;      /* Horizontally center */
}

.auth-btn .icon-svg {
  width: 35px;
  height: 35px;
  display: block; 
  object-fit: contain;
}


.auth-btn:hover {
  background-color: #e9e9e9;
  border-color: #bbb;
}

.auth-btn.authenticated {
  background-color: #4CAF50;
  border-color: #45a049;
  color: white;
}

.auth-btn.authenticated:hover {
  background-color: #45a049;
}

.auth-btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.auth-btn.loading img {
  animation: authSpin 1s linear infinite;
}

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

/* Pro feature styles */
.pro-feature {
  position: relative;
}

.pro-feature.pro-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pro-feature.pro-disabled::after {
  content: "Pro";
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff9800;
  color: white;
  font-size: 0.7em;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: bold;
}
