/* ============================================
   COMPONENTS — Buttons, inputs, cards, modals
   ============================================ */

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  line-height: 1;
  height: 36px;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Primary */
.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-on-primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--gradient-primary-hover);
  box-shadow: var(--shadow-glow-primary);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Secondary */
.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

.btn-secondary:hover {
  background: var(--glass-bg-hover);
  border-color: var(--border-hover);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: var(--glass-bg);
  color: var(--text-primary);
}

/* Danger */
.btn-danger {
  background: var(--color-error-500);
  color: white;
}

.btn-danger:hover {
  background: var(--color-error-600);
  box-shadow: var(--shadow-glow-error);
}

/* Icon Button */
.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--icon-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background: var(--glass-bg);
  color: var(--icon-hover);
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

.btn-icon--sm {
  width: 28px;
  height: 28px;
}

.btn-icon--sm svg {
  width: 14px;
  height: 14px;
}

.btn-icon--lg {
  width: 44px;
  height: 44px;
}

.btn-icon--lg svg {
  width: 22px;
  height: 22px;
}

/* Button Sizes */
.btn-sm {
  height: 30px;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
}

.btn-lg {
  height: 44px;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
}

.btn-xl {
  height: 52px;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

/* Generate Button (Special) */
.btn-generate {
  width: 100%;
  height: 76px;
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow-primary);
  letter-spacing: var(--tracking-wide);
  transition: all var(--transition-base);
}

.btn-generate:hover {
  box-shadow: 0 0 32px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

.btn-generate:active {
  transform: translateY(0);
}

.btn-generate.loading {
  pointer-events: none;
}

/* ═══════════════ INPUTS ═══════════════ */
.input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.input-label {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.input {
  width: 100%;
  height: 38px;
  padding: 0 var(--space-3);
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.input:hover {
  border-color: var(--border-hover);
}

.input:focus {
  border-color: var(--border-focus);
  background: var(--bg-input-focus);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.input::placeholder {
  color: var(--text-disabled);
}

/* Textarea */
.textarea {
  width: 100%;
  min-height: 80px;
  padding: var(--space-3);
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  transition: all var(--transition-fast);
  resize: vertical;
}

.textarea:hover {
  border-color: var(--border-hover);
}

.textarea:focus {
  border-color: var(--border-focus);
  background: var(--bg-input-focus);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.textarea::placeholder {
  color: var(--text-disabled);
}

/* Select */
.select {
  width: 100%;
  height: 38px;
  padding: 0 var(--space-8) 0 var(--space-3);
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-sm);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a0a0b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: all var(--transition-fast);
}

.select:hover {
  border-color: var(--border-hover);
}

.select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Range Slider */
.slider-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-value {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-primary-400);
  font-family: var(--font-mono);
  min-width: 32px;
  text-align: right;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--bg-input);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--color-primary-400);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: var(--shadow-glow-primary);
}

.slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--color-primary-400);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-sm);
}

/* Toggle */
.toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
}

.toggle__track {
  width: 40px;
  height: 22px;
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  position: relative;
  transition: all var(--transition-fast);
}

.toggle__thumb {
  width: 16px;
  height: 16px;
  background: var(--text-tertiary);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: all var(--transition-fast);
}

.toggle__input {
  display: none;
}

.toggle__input:checked+.toggle__track {
  background: var(--color-primary-500);
  border-color: var(--color-primary-500);
}

.toggle__input:checked+.toggle__track .toggle__thumb {
  transform: translateX(18px);
  background: white;
}

.toggle__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ═══════════════ CARDS ═══════════════ */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: all var(--transition-base);
}

.card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}

/* Image Card */
.image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  group: true;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.image-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.image-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.image-card:hover .image-card__img {
  transform: scale(1.05);
}

.image-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-3);
}

.image-card:hover .image-card__overlay {
  opacity: 1;
}

@media (hover: none), (max-width: 768px) {
  .image-card__overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 65%, transparent 100%);
  }
}

.image-card__actions {
  display: flex;
  gap: var(--space-1);
  justify-content: flex-end;
}

/* Ensure buttons on dark overlay stay white in light mode */
.image-card__overlay .btn-icon {
  color: white !important;
}

.image-card__prompt {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: var(--space-2);
}

.image-card__favorite {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  z-index: 2;
}

/* Stat Card */
.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.stat-card__value {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.stat-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-400);
}

/* ═══════════════ MODAL ═══════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(8px);
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  animation: fadeIn 200ms ease;
}

.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  animation: scaleIn 250ms ease;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
}

.modal__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
}

.modal__body {
  padding: var(--space-6);
}

.modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border-subtle);
}

/* ═══════════════ TOAST ═══════════════ */
.toast-container {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
  max-width: 420px;
}

.toast {
  background: #0d2118;
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  pointer-events: auto;
  animation: toastIn 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.toast.removing {
  animation: toastOut 200ms ease forwards;
}

.toast__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast__content {
  flex: 1;
  min-width: 0;
}

.toast__title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: #ffffff;
  margin-bottom: 2px;
}

.toast__message {
  font-size: var(--text-xs);
  color: #a3d9c2;
  line-height: var(--leading-normal);
}

.toast__close {
  flex-shrink: 0;
}

.toast__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  transition: width linear;
}

.toast--success {
  border-left: 3px solid var(--color-success-500);
}

.toast--success .toast__icon {
  color: var(--color-success-500);
}

.toast--success .toast__progress {
  background: var(--color-success-500);
}

.toast--error {
  border-left: 3px solid var(--color-error-500);
}

.toast--error .toast__icon {
  color: var(--color-error-500);
}

.toast--error .toast__progress {
  background: var(--color-error-500);
}

.toast--warning {
  border-left: 3px solid var(--color-warning-500);
}

.toast--warning .toast__icon {
  color: var(--color-warning-500);
}

.toast--warning .toast__progress {
  background: var(--color-warning-500);
}

.toast--info {
  border-left: 3px solid var(--color-info-500);
}

.toast--info .toast__icon {
  color: var(--color-info-500);
}

.toast--info .toast__progress {
  background: var(--color-info-500);
}

/* ═══════════════ BADGES & CHIPS ═══════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 2px var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  border-radius: var(--radius-full);
  line-height: var(--leading-tight);
}

.home-template-card__header .badge {
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.55) !important;
  backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  font-weight: var(--font-semibold) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.badge--primary {
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-primary-300);
  border-color: rgba(16, 185, 129, 0.3);
}

.badge--success {
  background: rgba(34, 197, 94, 0.15);
  color: var(--color-success-400);
  border-color: rgba(34, 197, 94, 0.3);
}

.badge--warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-warning-400);
  border-color: rgba(245, 158, 11, 0.3);
}

.badge--error {
  background: rgba(239, 68, 68, 0.15);
  color: var(--color-error-400);
  border-color: rgba(239, 68, 68, 0.3);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  color: var(--text-primary);
}

.chip.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--color-primary-500);
  color: var(--color-primary-300);
}

/* ═══════════════ TOOLTIP ═══════════════ */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  padding: var(--space-1) var(--space-2);
  background: var(--bg-tooltip);
  color: var(--text-primary);
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-tooltip);
}

.tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ═══════════════ DROPDOWN ═══════════════ */
.dropdown {
  position: relative;
}

.dropdown__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2);
  z-index: var(--z-dropdown);
  animation: fadeInDown 200ms ease;
  display: none;
}

.dropdown__menu.open {
  display: block;
}

.dropdown__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dropdown__item:hover {
  background: var(--glass-bg);
  color: var(--text-primary);
}

.dropdown__divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--space-2) 0;
}

/* ═══════════════ PROGRESS BAR ═══════════════ */
.progress {
  width: 100%;
  height: 4px;
  background: var(--bg-input);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress__fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

/* ═══════════════ TABS ═══════════════ */
.tabs {
  display: flex;
  gap: var(--space-1);
  background: var(--bg-input);
  border-radius: var(--radius-lg);
  padding: 3px;
}

.tab {
  flex: 1;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-tertiary);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab:hover {
  color: var(--text-secondary);
}

.tab.active {
  background: var(--glass-bg-active);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

/* ═══════════════ DIVIDER ═══════════════ */
.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--space-4) 0;
}

/* ═══════════════ AVATAR ═══════════════ */
.avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
}

/* ═══════════════ AUTH MODAL & USER MENU ═══════════════ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: rgba(3, 12, 8, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-overlay.hidden {
  display: none !important;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.auth-modal-content {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-2xl), var(--shadow-glow-primary);
  z-index: 2;
  animation: modalSlideUp 250ms ease;
  transform: translateZ(0);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-tertiary);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--glass-bg-hover);
  color: var(--text-primary);
}

.auth-modal-header {
  text-align: center;
  margin-bottom: var(--space-5);
}

.auth-modal-icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-2);
}

.auth-modal-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
}

.auth-modal-subtitle {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: var(--space-1);
}

.auth-tabs {
  display: flex;
  gap: var(--space-1);
  background: var(--bg-input);
  border-radius: var(--radius-lg);
  padding: 4px;
  margin-bottom: var(--space-5);
}

.auth-tab {
  flex: 1;
  padding: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-tertiary);
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-tab.active {
  background: var(--bg-surface);
  color: var(--color-primary-400);
  box-shadow: var(--shadow-xs);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.auth-form.hidden {
  display: none !important;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-disabled);
  font-size: var(--text-xs);
  margin: var(--space-2) 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}

.auth-divider span {
  padding: 0 var(--space-3);
}

.auth-link {
  color: var(--color-primary-400);
  font-size: var(--text-xs);
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.avatar-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: var(--font-bold);
  font-size: var(--text-sm);
  box-shadow: var(--shadow-sm);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-3);
  z-index: var(--z-dropdown);
}

.user-dropdown-info {
  padding-bottom: var(--space-2);
}

.user-dropdown-name {
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.user-dropdown-email {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.user-dropdown-item:hover {
  background: var(--glass-bg-hover);
  color: var(--text-primary);
}

.user-dropdown-item.text-error:hover {
  color: var(--color-error-400);
}