/* Mobile-friendly nav dropdown (Settings, Log Out) - global nav */
.user-avatar-dropdown .dropdown-item,
.user-avatar-dropdown .dropdown-logout,
.user-avatar-dropdown .profile-dropdown-item {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 44px;
  box-sizing: border-box;
}

/* Keep hover path continuous between avatar circle and menu items */
.user-avatar::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 10px;
  z-index: 9998;
}

.user-avatar-dropdown {
  margin-top: 0 !important;
  top: calc(100% + 4px) !important;
  padding-top: 2px;
}

.user-avatar.avatar-dropdown-open .user-avatar-dropdown,
.user-avatar:hover .user-avatar-dropdown {
  display: block;
}

/* Auth container styles */
.auth-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

.auth-container h2 {
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #1a1a1a;
    background: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #7b61ff;
    box-shadow: 0 0 0 3px rgba(123,97,255,0.1);
}

.form-group input::placeholder {
    color: #718096;
}

.auth-button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: #7b61ff;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(123,97,255,0.08);
}

.auth-button:hover {
    background-color: #6a52e6;
    box-shadow: 0 4px 12px rgba(123,97,255,0.15);
    transform: translateY(-1px);
}

/* Google sign-in button */
.auth-button-google {
    background-color: #ffffff;
    color: #1a1a1a;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.auth-button-google:hover {
    background-color: #f9fafb;
    border-color: #cbd5e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.auth-divider {
    text-align: center;
    color: #718096;
    font-size: 0.875rem;
    margin: 1.25rem 0 0.75rem;
}

.auth-google-icon {
    flex-shrink: 0;
}

/* Error message styles */
.error-message {
    color: #ef4444;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: none;
    font-size: 0.875rem;
}

.error-message.show {
    display: block;
}

/* Auth switch styles */
.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: #4a5568;
    font-size: 0.875rem;
}

.auth-switch a {
    color: #7b61ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-switch a:hover {
    color: #6a52e6;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 480px) {
    .auth-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    .auth-container h2 {
        font-size: 1.5rem;
    }
    .form-group {
        margin-bottom: 1rem;
    }
    .auth-button {
        font-size: 0.95rem;
    }
} 