
/* Auth Popup Styles */
.auth-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* Lighter overlay for more glass effect */
  backdrop-filter: blur(15px); /* Increased blur for more glass effect */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.auth-popup-overlay.show {
  opacity: 1;
}

.auth-popup-container {
  background: rgba(255, 255, 255, 0.15); /* More transparent background */
  backdrop-filter: blur(25px); /* Increased blur for glass effect */
  border-radius: 20px;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2); /* More transparent border */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Increased logo size */
.auth-popup-logo {
  margin-bottom: 25px;
}

.auth-popup-logo img {
  width: 100px; /* Increased from 80px */
  height: 100px; /* Increased from 80px */
  border-radius: 16px;
}

/* White text for header, description and agreement */
.auth-popup-title {
  font-size: 22px; /* Slightly smaller */
  font-weight: 600;
  margin-bottom: 10px;
  color: white; /* Changed to white */
}

.auth-popup-subtitle {
  font-size: 14px; /* Slightly smaller */
  color: white; /* Changed to white */
  margin-bottom: 30px;
  line-height: 1.4;
  opacity: 0.9; /* Slightly transparent for better readability */
}

.auth-popup-footer {
  font-size: 13px; /* Slightly smaller */
  color: white; /* Changed to white */
  opacity: 0.8; /* Slightly transparent for better readability */
}

/* Blue color for legal link */
.auth-popup-footer a {
  color: #4dabf7; /* Changed to blue */
  text-decoration: none;
  font-weight: 500;
  opacity: 1;
}

.auth-popup-footer a:hover {
  text-decoration: underline;
}

/* Rounded corners for buttons */
.auth-popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.auth-popup-button {
  padding: 15px 20px;
  border-radius: 25px; /* More rounded corners */
  border: none;
  font-size: 15px; /* Slightly smaller */
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.auth-popup-button.primary {
  background: #1877F2;
  color: white;
}

.auth-popup-button.primary:hover {
  background: #166FE5;
  transform: translateY(-1px);
}

.auth-popup-button.google {
  background: white;
  color: #333;
  border: 1px solid #dadce0;
}

.auth-popup-button.google:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
}

.auth-popup-button.google svg {
  width: 18px;
  height: 18px;
}

/* White outline for create account button - with rounded corners */
.auth-popup-button.secondary {
  background: transparent;
  color: white; /* Changed to white */
  border: 1px solid white; /* Changed to white outline */
  border-radius: 25px; /* More rounded corners */
}

.auth-popup-button.secondary:hover {
  background: rgba(255, 255, 255, 0.1); /* Light white background on hover */
  transform: translateY(-1px);
}

/* Dark mode adjustments for glass effect */
@media (prefers-color-scheme: dark) {
  .auth-popup-container {
    background: rgba(0, 0, 0, 0.15); /* More transparent for dark mode */
    border: 1px solid rgba(255, 255, 255, 0.1); /* More transparent border for dark mode */
  }
  
  .auth-popup-button.google {
    background: rgba(255, 255, 255, 0.1); /* More glass-like for dark mode */
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .auth-popup-button.google:hover {
    background: rgba(255, 255, 255, 0.15);
  }
}

/* Remove close button styles */
.auth-popup-close {
  display: none;
}

/* Prevent body scroll when popup is open */
body.auth-popup-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}
