/* User Profile Avatar & Dropdown */
.user-avatar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  outline: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.user-avatar-btn:hover,
.user-avatar-btn:focus-visible {
  transform: scale(1.05);
}

.user-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 1px #cbd5e1;
}

.user-avatar-fallback {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e2e8f0;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 1px #cbd5e1;
}

.user-dropdown-card {
  min-width: 140px;
  max-width: 180px;
  padding: 8px !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
}

.user-dropdown-logout-btn {
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 6px !important;
  font-size: 0.825rem !important;
  font-weight: 500;
  color: #ef4444 !important;
  border: 1px solid #fecdd3 !important;
  background-color: #fff1f2 !important;
  transition: all 0.15s ease-in-out;
}

.user-dropdown-logout-btn:hover {
  background-color: #fee2e2 !important;
  color: #b91c1c !important;
  border-color: #fca5a5 !important;
}

.user-profile-badge {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 4px 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.user-email-text {
  font-size: 0.825rem;
  font-weight: 500;
  color: #334155;
  margin-right: 10px;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-logout-btn {
  color: #ef4444;
  display: inline-flex;
  align-items: center;
  padding: 2px;
  text-decoration: none !important;
  transition: color 0.15s ease-in-out;
}

.user-logout-btn:hover {
  color: #b91c1c;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  background-color: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #3c4043;
  text-decoration: none !important;
  transition: background-color .2s, box-shadow .2s;
  cursor: pointer;
}

.google-btn:hover {
  background-color: #f8fafd;
  box-shadow: 0 1px 3px rgba(60,64,67,.15);
  color: #202124;
}

.google-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
}
