/* ==========================================================================
   WeVe3 Core Design System & Styling
   ========================================================================== */

:root {
  --bg: #090b10;
  --bg-gradient: radial-gradient(circle at 50% -20%, #1a153a 0%, #090b10 80%);
  --card-bg: rgba(18, 23, 36, 0.78);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-hover-border: rgba(139, 92, 246, 0.45);
  --primary: #8b5cf6;
  --primary-hover: #7c3aed;
  --primary-glow: rgba(139, 92, 246, 0.35);
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.28);
  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.25);
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --success: #10b981;
  --danger: #ef4444;
  --surface: #131722;
  --surface-alt: #1a1f30;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  background-color: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
}

/* Ambient Glowing Orbs */
.bg-glow-1 {
  position: fixed;
  top: -120px;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, rgba(9, 11, 16, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-2 {
  position: fixed;
  top: 45%;
  right: 8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(9, 11, 16, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Top Navigation Bar */
.weve3-navbar,
.veme3-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 11, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-title span {
  background: linear-gradient(135deg, #c4b5fd, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-version {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: #fff;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.2);
}

.nav-link .badge-disabled {
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
  margin-left: 0.25rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-credit-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-credit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(18, 23, 36, 0.92);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  font-family: inherit;
  outline: none;
  user-select: none;
}

.nav-credit-pill:hover,
.nav-credit-pill.active {
  border-color: var(--primary);
  background: rgba(26, 33, 51, 0.96);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.45);
  transform: translateY(-1px);
}

.nav-credit-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  flex-shrink: 0;
}

.nav-credit-caret {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 0.15rem;
  display: inline-block;
}

.nav-credit-pill.active .nav-credit-caret {
  transform: rotate(180deg);
  color: #c4b5fd;
}

/* Nav Account Dropdown Popover */
.nav-account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 330px;
  max-width: calc(100vw - 2rem);
  background: rgba(13, 17, 28, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 18px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.85), 0 0 30px rgba(139, 92, 246, 0.25);
  padding: 1.15rem;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  pointer-events: none;
}

.nav-account-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-mobile-header {
  display: none;
}

/* Account Dropdown Header */
.account-dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.3));
  border: 2px solid rgba(139, 92, 246, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.3);
}

.account-user-meta {
  flex: 1;
  min-width: 0;
}

.account-user-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.account-user-email {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.1rem;
}

.account-user-id-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.45rem;
  flex-wrap: wrap;
}

.account-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 9999px;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.account-uid-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: all;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.account-uid-tag:hover {
  background: rgba(139, 92, 246, 0.18);
  border-color: rgba(139, 92, 246, 0.5);
  color: #fff;
}

/* Account Balance Card */
.account-dropdown-balance-card {
  margin: 0.85rem 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
}

.dropdown-balance-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c4b5fd;
}

.dropdown-balance-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-top: 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dropdown-balance-val .bal-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #a78bfa;
}

.dropdown-balance-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

/* Dropdown Menu Items */
.account-dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
}

.dropdown-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
}

.dropdown-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}

.dropdown-item-icon {
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
}

.dropdown-item-text .item-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: #f1f5f9;
}

.dropdown-item-text .item-desc {
  font-size: 0.72rem;
  color: #94a3b8;
}

/* Dropdown Footer & Logout Button */
.account-dropdown-footer {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-dropdown-logout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-dropdown-logout:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.btn-dropdown-logout:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.nav-account-backdrop {
  display: none;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--card-border);
  color: var(--text);
  font-size: 1.25rem;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Page Layout Container */
.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  position: relative;
  z-index: 1;
}

/* Page Header */
.page-header {
  margin-bottom: 2.25rem;
}

.header-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.28);
  color: #c4b5fd;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.page-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #c4b5fd 65%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-accent {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff;
  box-shadow: 0 4px 18px var(--accent-glow);
}

.btn-accent:hover:not(:disabled) {
  background: linear-gradient(135deg, #0891b2, #0e7490);
  transform: translateY(-2px);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fff;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  border-radius: 6px;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Glass Cards */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

/* Inputs & Forms */
.form-group {
  margin-bottom: 1.25rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.form-label .required {
  color: #f43f5e;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: rgba(13, 17, 28, 0.85);
  border: 1px solid var(--card-border);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.35);
  background: rgba(18, 23, 36, 0.95);
}

.form-textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Filters & Tabs */
.tabs-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

.tab-btn.active {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}

/* Image Dropzone */
.dropzone {
  border: 2px dashed rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: rgba(13, 17, 28, 0.5);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--primary);
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.2);
}

.dropzone-icon {
  font-size: 2.75rem;
  color: var(--primary);
}

/* Photo Card */
.photo-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.photo-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-hover-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.photo-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #0d111c;
  overflow: hidden;
}

.photo-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-card:hover .photo-thumb {
  transform: scale(1.04);
}

.photo-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.photo-name {
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-date {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}

.photo-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

/* Multi-Photo Selected Preview Tray */
.selected-photos-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.selected-photos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.selected-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.6rem;
  max-height: 290px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.6rem;
  background: rgba(10, 13, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, 0.45) rgba(255, 255, 255, 0.04);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.selected-photos-grid::-webkit-scrollbar {
  width: 6px;
}
.selected-photos-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}
.selected-photos-grid::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.45);
  border-radius: 4px;
}
.selected-photos-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.75);
}

.selected-thumb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(18, 23, 36, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.selected-thumb-card:hover {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.selected-thumb-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #060910;
  user-select: none;
  -webkit-user-drag: none;
}

.selected-thumb-idx {
  position: absolute;
  top: 4px;
  left: 4px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #c4b5fd;
  font-size: 0.62rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  line-height: 1.2;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.selected-thumb-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  z-index: 3;
  padding: 0;
  line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.selected-thumb-remove:hover {
  background: #dc2626;
  transform: scale(1.12);
}

.selected-thumb-remove:active {
  transform: scale(0.92);
}

.selected-thumb-name {
  font-size: 0.65rem;
  color: var(--text-muted);
  padding: 0.25rem 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  background: rgba(13, 17, 26, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.25;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Video Card */
.video-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.video-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-thumb-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.badge-completed {
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.5);
}

.badge-queued {
  background: rgba(245, 158, 11, 0.25);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.badge-processing {
  background: rgba(6, 182, 212, 0.25);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.5);
}

.badge-failed {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(9, 11, 16, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.fav-btn:hover, .fav-btn.active {
  color: #f59e0b;
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.video-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.video-prompt {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Prompt Card */
.prompt-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
}

.prompt-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.prompt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.prompt-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  word-break: break-word;
  overflow-wrap: break-word;
}

.prompt-badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.prompt-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  background: rgba(13, 17, 28, 0.5);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
  word-break: break-word;
  overflow-wrap: break-word;
}

.prompt-negative {
  font-size: 0.8rem;
  color: #fca5a5;
  font-style: italic;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #111522;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.modal-close:hover {
  color: #fff;
}

/* Toast System */
#weve3-toast-container,
#veme3-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

.weve3-toast,
.veme3-toast {
  pointer-events: auto;
  background: rgba(18, 23, 36, 0.95);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
}

.weve3-toast.success,
.veme3-toast.success {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.weve3-toast.error,
.veme3-toast.error {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

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

/* Responsive Media Queries */
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0.75rem 1rem;
    gap: 1rem;
  }
  .brand-title {
    display: none;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d111c;
    border-bottom: 1px solid var(--card-border);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .page-container {
    padding: 1.5rem 1rem 4rem;
  }
  .nav-credit-pill {
    padding: 0.32rem 0.6rem;
    gap: 0.3rem;
    font-size: 0.82rem;
  }
  .nav-credit-pill .dot {
    display: none;
  }
  .nav-credit-label,
  .nav-credit-unit {
    display: none !important;
  }

  .nav-account-dropdown {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 22px 22px 0 0 !important;
    padding: 1.25rem 1.25rem calc(env(safe-area-inset-bottom, 1rem) + 1.25rem) !important;
    transform: translateY(100%) !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.85) !important;
    z-index: 10002 !important;
  }

  .nav-account-dropdown.open {
    transform: translateY(0) !important;
  }

  .nav-account-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    display: block;
  }

  .nav-account-backdrop.open {
    opacity: 1;
    visibility: visible;
  }

  .dropdown-mobile-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
  }

  .dropdown-drag-indicator {
    width: 38px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    margin: 0 auto;
  }

  .btn-dropdown-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #94a3b8;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
  }

  /* Responsive Mobile Modals (Bottom-Sheet Experience) */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal-box {
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 90vh;
    padding: 1.25rem 1rem calc(env(safe-area-inset-bottom, 1rem) + 0.5rem);
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .modal-overlay.open .modal-box {
    transform: translateY(0);
  }
  .modal-header {
    margin-bottom: 0.85rem;
  }
  .modal-title {
    font-size: 1.15rem;
  }
  .modal-close {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    line-height: 1;
  }

  /* All Cards on Mobile: Strictly 1 Column */
  .grid-2,
  .grid-3,
  .grid-4,
  .studio-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .grid-2 > *,
  .grid-3 > *,
  .grid-4 > *,
  .studio-grid > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .card {
    padding: 1.25rem 1rem !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* Mobile Forms & Inputs */
  .form-group {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .form-input,
  .form-textarea,
  .form-select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    font-size: 16px !important; /* 16px prevents iOS Safari auto-zoom on input focus */
  }

  .form-textarea {
    display: block !important;
    resize: vertical;
    overflow-x: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
  }

  .btn {
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
  }

  .btn-lg {
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    white-space: normal;
    text-align: center;
  }

  /* Photo & Video Cards on Mobile: Strictly 1 column */
  .photo-thumb-wrap {
    aspect-ratio: 1 / 1;
    max-height: 320px;
  }
  .photo-info {
    padding: 0.85rem;
    gap: 0.45rem;
  }
  .photo-name {
    font-size: 0.9rem;
  }
  .photo-date {
    display: inline-block;
  }
  .photo-actions {
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .photo-actions .btn {
    padding: 0.45rem 0.65rem;
    font-size: 0.8rem;
  }

  .video-thumb-wrap {
    max-height: 480px;
  }

  /* Multi-Photo Selected Preview on Mobile */
  .selected-photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 0.5rem;
    max-height: 250px;
    padding: 0.5rem;
  }
  .selected-thumb-remove {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
  .upload-action-buttons .btn {
    flex: 1 1 140px;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .selected-photos-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.45rem !important;
    max-height: 230px;
  }
  .upload-action-buttons {
    flex-direction: column !important;
  }
  .upload-action-buttons .btn {
    width: 100% !important;
    flex: none !important;
  }
}

@media (max-width: 360px) {
  .selected-photos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ==========================================================================
   Toggle Switch & Private Mode Design System
   ========================================================================== */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #334155;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
}

.switch input:checked + .slider {
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.5);
}

.switch input:focus + .slider {
  box-shadow: 0 0 1px #8b5cf6;
}

.switch input:checked + .slider:before {
  transform: translateX(24px);
}

/* Mini Switch for Nav Dropdown & Compact Bars */
.switch-mini {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
  flex-shrink: 0;
}

.switch-mini input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-mini {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #334155;
  transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-mini:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: #ffffff;
  transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.switch-mini input:checked + .slider-mini {
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.switch-mini input:checked + .slider-mini:before {
  transform: translateX(18px);
}

.privacy-toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 1.25rem;
  background: rgba(12, 16, 28, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.privacy-toggle-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(18, 24, 40, 0.85);
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.privacy-badge.private {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}

.privacy-badge.visible {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
}

/* ==========================================================================
   WeVe3 Confirmation Delete Modal
   ========================================================================== */
.weve3-delete-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease-out;
}

.weve3-delete-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.weve3-delete-modal-box {
  background: linear-gradient(180deg, #141a2c 0%, #0d121f 100%);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 18px;
  max-width: 440px;
  width: 100%;
  padding: 1.85rem 1.65rem 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 32px rgba(239, 68, 68, 0.16);
  transform: scale(0.92) translateY(8px);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.weve3-delete-modal-overlay.open .weve3-delete-modal-box {
  transform: scale(1) translateY(0);
}

.weve3-delete-glow-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ef4444, #f97316, transparent);
  opacity: 0.9;
}

.weve3-delete-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.22) 0%, rgba(239, 68, 68, 0.04) 75%);
  border: 1px solid rgba(239, 68, 68, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.15rem;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.28);
  animation: deleteIconPulse 2.4s ease-in-out infinite alternate;
}

@keyframes deleteIconPulse {
  0% { transform: scale(1); box-shadow: 0 0 16px rgba(239, 68, 68, 0.2); }
  100% { transform: scale(1.05); box-shadow: 0 0 28px rgba(239, 68, 68, 0.45); }
}

.weve3-delete-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  letter-spacing: -0.015em;
}

.weve3-delete-message {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 1.15rem;
  text-align: center;
}

.weve3-delete-item-preview {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  margin-bottom: 1.15rem;
  font-size: 0.85rem;
  color: #cbd5e1;
  max-height: 85px;
  overflow-y: auto;
  line-height: 1.45;
  word-break: break-word;
  font-family: inherit;
}

.weve3-delete-checkbox-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-bottom: 1.35rem;
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  transition: all 0.15s ease;
}

.weve3-delete-checkbox-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.weve3-delete-checkbox-card input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #ef4444;
  cursor: pointer;
  border-radius: 4px;
}

.weve3-delete-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.weve3-delete-btn-cancel {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
  outline: none;
}

.weve3-delete-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.weve3-delete-btn-confirm {
  flex: 1.15;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid rgba(239, 68, 68, 0.6);
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.18s ease;
  outline: none;
}

.weve3-delete-btn-confirm:hover {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
  box-shadow: 0 6px 22px rgba(239, 68, 68, 0.5);
  transform: translateY(-1px);
}

.weve3-delete-btn-confirm:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  .weve3-delete-modal-box {
    padding: 1.4rem 1.15rem 1.25rem;
    border-radius: 16px;
  }
  .weve3-delete-actions {
    flex-direction: column-reverse;
    gap: 0.5rem;
  }
  .weve3-delete-btn-cancel,
  .weve3-delete-btn-confirm {
    width: 100%;
    flex: none;
  }
}
