/* OAuth Sign-In Button Styles */

.oauth-section {
  margin-bottom: 24px;
}

.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
}

.oauth-btn:hover {
  background: #f8f8f8;
  border-color: #ccc;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.oauth-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.oauth-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Google Button */
.oauth-btn-google {
  border-color: #dadce0;
}

.oauth-btn-google:hover {
  background: #f8f9fa;
  border-color: #dadce0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Facebook Button */
.oauth-btn-facebook {
  background: #1877f2;
  color: white;
  border-color: #1877f2;
}

.oauth-btn-facebook:hover {
  background: #166fe5;
  border-color: #166fe5;
  color: white;
}

/* Auth Divider - Fixed to prevent lines through text */
/* Override framework styles with higher specificity */
.auth-card .auth-divider {
  position: relative;
  text-align: center;
  margin: 24px 0;
  overflow: hidden;
  display: block;
}

.auth-card .auth-divider span {
  position: relative;
  display: inline-block;
  padding: 0 16px;
  background: white;
  color: #666;
  font-size: 14px;
  z-index: 2;
}

.auth-card .auth-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #e0e0e0;
  z-index: 1;
  flex: none;
}

.auth-card .auth-divider::after {
  content: none;
  display: none;
}

/* Loading State */
.oauth-btn.loading {
  opacity: 0.6;
  pointer-events: none;
}

.oauth-btn .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* Small screen adjustments */
@media (max-width: 480px) {
  .oauth-btn {
    padding: 10px 16px;
    font-size: 15px;
  }
  
  .oauth-icon {
    width: 18px;
    height: 18px;
  }
}
