/* SwatchPicker Styles - Self-contained, scoped to avoid conflicts */

.swatch-picker-container {
  --swatch-border-color: rgba(56, 189, 248, 0.3);
  --swatch-hover-border: rgba(56, 189, 248, 0.6);
  --swatch-selected-glow: rgba(56, 189, 248, 0.8);
  --picker-bg: rgba(15, 23, 42, 0.95);
  --picker-border: rgba(56, 189, 248, 0.4);
  --gap-size: 12px;

  background: var(--picker-bg);
  border: 1px solid var(--picker-border);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  animation: swatchPickerFadeIn 0.2s ease-out;
}

.swatch-picker-container[data-theme="light"] {
  --picker-bg: rgba(255, 255, 255, 0.95);
  --picker-border: rgba(100, 116, 139, 0.3);
  --swatch-border-color: rgba(100, 116, 139, 0.2);
  --swatch-hover-border: rgba(100, 116, 139, 0.5);
  --swatch-selected-glow: rgba(56, 189, 248, 0.6);
}

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

.swatch-picker-grid {
  display: flex;
  gap: 0;
}

.swatch-picker-column {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Add visual gap after grayscale column */
.swatch-picker-column-grayscale {
  margin-right: var(--gap-size);
  position: relative;
}

.swatch-picker-column-grayscale::after {
  content: "";
  position: absolute;
  right: calc(var(--gap-size) / -2 - 1px);
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, var(--swatch-border-color) 20%, var(--swatch-border-color) 80%, transparent 100%);
}

.swatch-picker-swatch {
  border: 2px solid var(--swatch-border-color);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  margin: 0;
  outline: none;
  position: relative;
}

.swatch-picker-swatch:hover {
  border-color: var(--swatch-hover-border);
  transform: scale(1.1);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.swatch-picker-swatch:active {
  transform: scale(1.05);
}

.swatch-picker-swatch-selected {
  border-color: var(--swatch-selected-glow);
  box-shadow:
    0 0 0 3px var(--picker-bg),
    0 0 0 5px var(--swatch-selected-glow),
    0 0 16px var(--swatch-selected-glow);
  z-index: 20;
}

.swatch-picker-swatch-selected:hover {
  box-shadow:
    0 0 0 3px var(--picker-bg),
    0 0 0 5px var(--swatch-selected-glow),
    0 0 20px var(--swatch-selected-glow);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .swatch-picker-container {
    padding: 10px;
  }

  .swatch-picker-swatch {
    width: 32px !important;
    height: 32px !important;
  }

  .swatch-picker-column-grayscale {
    margin-right: 10px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .swatch-picker-swatch {
    border-width: 3px;
  }

  .swatch-picker-swatch-selected {
    border-width: 4px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .swatch-picker-container {
    animation: none;
  }

  .swatch-picker-swatch {
    transition: none;
  }

  .swatch-picker-swatch:hover {
    transform: none;
  }
}
/* Image Uploader Component */
.image-uploader {
  width: 100%;
}

.image-uploader__label {
  display: block;
  margin-bottom: 8px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
}

.image-uploader__drop-zone {
  position: relative;
  width: 100%;
  min-height: 200px;
  padding: 24px;
  background: rgba(30, 41, 59, 0.3);
  border: 2px dashed rgba(56, 189, 248, 0.4);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.image-uploader__drop-zone--drag-over {
  border-color: rgba(56, 189, 248, 0.8);
  background: rgba(56, 189, 248, 0.1);
}

.image-uploader__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: #38bdf8;
  opacity: 0.7;
}

.image-uploader__text-container {
  display: block;
}

.image-uploader__text-container--hidden {
  display: none;
}

.image-uploader__text-primary {
  color: #cbd5e1;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.image-uploader__text-secondary {
  color: #64748b;
  font-size: 12px;
}

.image-uploader__preview-container {
  display: none;
  width: 100%;
  max-width: 300px;
}

.image-uploader__preview-container--visible {
  display: block;
}

.image-uploader__preview-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.image-uploader__preview-info {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.image-uploader__file-name {
  color: #cbd5e1;
  font-size: 13px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-uploader__remove-btn {
  padding: 4px 12px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 4px;
  color: #ef4444;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.image-uploader__remove-btn:hover {
  background: rgba(239, 68, 68, 0.3);
}

.image-uploader__file-input {
  display: none;
}

.image-uploader__validation-message {
  margin: 8px 0 0 0;
  color: #ef4444;
  font-size: 12px;
  display: none;
}

.image-uploader__validation-message--visible {
  display: block;
}
/**
 * Gallery Styles  
 * Following Tailwind CSS utility-first patterns with BEM-like component naming
 * Structure: Base → Layout → Components → Utilities
 */

/* === Base Styles === */
html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden; /* Prevent scrolling on mobile */
}

html {
  /* min-width removed - was causing horizontal scroll on mobile */
}

body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui;
  /* Admin Console Styles - Restored from commit 9988a60 */
  .admin-console {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 16px 16px 0 0;
    padding: 0;
    min-height: 120px;
    max-height: 80vh;
    overflow-y: auto;
    transition:
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
  }
  .admin-console--visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .admin-console__header {
    font-size: 1.1em;
    font-weight: 700;
    color: #38bdf8;
    padding: 12px 18px 8px 18px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    background: none;
    letter-spacing: 0.08em;
    text-align: left;
  }
  .admin-console__content {
    padding: 18px 18px 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .admin-console__toggle {
    position: absolute;
    top: 8px;
    right: 18px;
    background: none;
    border: none;
    color: #38bdf8;
    font-size: 1.2em;
    cursor: pointer;
    transition: color 0.2s;
  }
  .admin-console__toggle:hover {
    color: #0ea5e9;
  }
  margin-left: 12px;
  transition: color 0.2s;
}
.admin-console__toggle:hover {
  color: #38bdf8;
}
.admin-console__content {
  padding: 18px 24px 24px 24px;
  background: #1a2336;
  border-radius: 0 0 16px 16px;
  transition: display 0.3s;
}
.admin-console.collapsed .admin-console__content {
  display: none;
}
.admin-console.collapsed {
  box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.12);
}

/* Overlay for Pointer Lock (Desktop only) */
#blocker {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  pointer-events: none;
}

#instructions {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  pointer-events: all;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  line-height: 1.5;
  z-index: 30;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ESC hint - shown only when in locked mode */
#escHint {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 30;
  display: none;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Hide desktop-only elements on mobile (blocker is hidden by JS on mobile start) */
.mobile-hidden {
  display: none !important;
}

/* === Modal Component === */

/* Modal Overlay */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
}

/* Modal Container */
.modal__container {
  max-width: 400px;
  width: 90%;
  padding: 32px 24px 16px 24px;
  background: #1a2336;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
  text-align: center;
  height: auto;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

/* Modal Content with scrollbar */
.modal__content {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.modal__content::-webkit-scrollbar {
  width: 8px;
}

.modal__content::-webkit-scrollbar-track {
  background: #2d3748;
  border-radius: 10px;
}

.modal__content::-webkit-scrollbar-thumb {
  background: #4a5568;
  border-radius: 10px;
}

.modal__content::-webkit-scrollbar-thumb:hover {
  background: #718096;
}

/* === Form Components === */

.form-group {
  position: relative;
  margin-top: 12px;
}

.form-group--column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 8px;
}

.form-group--row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.form-label {
  display: block;
  color: #cbd5e1;
  font-size: 0.9em;
  margin-bottom: 4px;
}

.form-label--sm {
  color: #94a3b8;
  font-size: 0.75em;
  font-weight: 600;
  margin-bottom: 2px;
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 8px;
  color: #e5e7eb;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: #3b82f6;
}

.form-select {
  width: 100%;
  padding: 8px 10px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 6px;
  color: #e5e7eb;
  cursor: pointer;
  margin-bottom: 18px;
}

/* === Button Components === */

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.1s;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn--primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

.btn--primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.btn--secondary {
  background: #374151;
  color: #e5e7eb;
}

.btn--secondary:hover {
  background: #4b5563;
}

.btn--danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.btn--danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.btn--full {
  width: 100%;
}

/* === Settings Panel === */

.settings-panel {
  margin-top: 18px;
  text-align: left;
}

.settings-panel__title {
  color: #fff;
  font-size: 1.1em;
  margin-bottom: 12px;
}

.settings-panel__subtitle {
  text-align: center;
  color: #cbd5e1;
  font-size: 0.85em;
  margin-top: -12px;
  margin-bottom: 12px;
}

/* === Control Groups === */

.control-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.control-group__controls {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.control-group--inline {
  display: flex;
  gap: 12px;
  align-items: center;
}

.control-group--color-settings {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
}

.control-group__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* === Console Panel === */

.console {
  position: fixed;
  left: 0;
  top: 0;
  width: 320px;
  height: 100%;
  background: #1a2336;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.3);
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.console--visible {
  transform: translateX(0);
}

.console__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.console__title {
  color: #38bdf8;
  font-size: 1.3em;
  font-weight: 700;
  margin: 0;
}

.console__content {
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.console__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.console__section {
  flex: 1;
  overflow-y: auto;
  padding-right: 8px;
}

.console__section::-webkit-scrollbar {
  width: 6px;
}

.console__section::-webkit-scrollbar-track {
  background: #2d3748;
  border-radius: 10px;
}

.console__section::-webkit-scrollbar-thumb {
  background: #4a5568;
  border-radius: 10px;
}

.console__section::-webkit-scrollbar-thumb:hover {
  background: #718096;
}

.console__close-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.console__close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* === Support Mode Panel === */

.support-panel {
  position: fixed;
  right: 0;
  top: 0;
  width: 420px;
  height: 100%;
  background: #1a2336;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.3);
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.support-panel--visible {
  transform: translateX(0);
}

/* === Color Swatch Utilities === */

/* Color swatches in dropdowns */
#consoleWallColor option,
#consolePanelColor option,
#consoleBaseboardColor option,
#consoleFloorColor option {
  padding-left: 24px;
  background-repeat: no-repeat;
  background-position: 4px center;
  background-size: 12px 12px;
}

/* Wall & Panel color swatches */
#consoleWallColor option[value="#374151"],
#consolePanelColor option[value="#374151"] {
  background-image: linear-gradient(#374151, #374151);
}

#consoleWallColor option[value="#1e293b"],
#consolePanelColor option[value="#1e293b"] {
  background-image: linear-gradient(#1e293b, #1e293b);
}

#consoleWallColor option[value="#4a5568"],
#consolePanelColor option[value="#4a5568"] {
  background-image: linear-gradient(#4a5568, #4a5568);
}

#consoleWallColor option[value="#2d3748"],
#consolePanelColor option[value="#2d3748"] {
  background-image: linear-gradient(#2d3748, #2d3748);
}

#consoleWallColor option[value="#8b7355"],
#consolePanelColor option[value="#8b7355"] {
  background-image: linear-gradient(#8b7355, #8b7355);
}

#consoleWallColor option[value="#6b5b4a"],
#consolePanelColor option[value="#6b5b4a"] {
  background-image: linear-gradient(#6b5b4a, #6b5b4a);
}

#consoleWallColor option[value="#5a4a3a"],
#consolePanelColor option[value="#5a4a3a"] {
  background-image: linear-gradient(#5a4a3a, #5a4a3a);
}

#consoleWallColor option[value="#4a4034"],
#consolePanelColor option[value="#4a4034"] {
  background-image: linear-gradient(#4a4034, #4a4034);
}

/* Baseboard color swatches */
#consoleBaseboardColor option[value="#ffffff"] {
  background-image: linear-gradient(#ffffff, #ffffff);
}

#consoleBaseboardColor option[value="#f5f5f5"] {
  background-image: linear-gradient(#f5f5f5, #f5f5f5);
}

#consoleBaseboardColor option[value="#e5e5e5"] {
  background-image: linear-gradient(#e5e5e5, #e5e5e5);
}

#consoleBaseboardColor option[value="#4a5568"] {
  background-image: linear-gradient(#4a5568, #4a5568);
}

#consoleBaseboardColor option[value="#2d3748"] {
  background-image: linear-gradient(#2d3748, #2d3748);
}

#consoleBaseboardColor option[value="#1a1a1a"] {
  background-image: linear-gradient(#1a1a1a, #1a1a1a);
}

#consoleBaseboardColor option[value="#8b7355"] {
  background-image: linear-gradient(#8b7355, #8b7355);
}

#consoleBaseboardColor option[value="#6b5545"] {
  background-image: linear-gradient(#6b5545, #6b5545);
}

/* Floor color swatches */
#consoleFloorColor option[value="#1f2f37"] {
  background-image: linear-gradient(#1f2f37, #1f2f37);
}

#consoleFloorColor option[value="#3b2f2f"] {
  background-image: linear-gradient(#3b2f2f, #3b2f2f);
}

#consoleFloorColor option[value="#2f3b2f"] {
  background-image: linear-gradient(#2f3b2f, #2f3b2f);
}

#consoleFloorColor option[value="#8b7355"] {
  background-image: linear-gradient(#8b7355, #8b7355);
}

#consoleFloorColor option[value="#6b5545"] {
  background-image: linear-gradient(#6b5545, #6b5545);
}

#consoleFloorColor option[value="#5a4a3a"] {
  background-image: linear-gradient(#5a4a3a, #5a4a3a);
}

#consoleFloorColor option[value="#4a5568"] {
  background-image: linear-gradient(#4a5568, #4a5568);
}

#consoleFloorColor option[value="#2d3748"] {
  background-image: linear-gradient(#2d3748, #2d3748);
}

/* === UI Prompts === */

#welcomePrompt {
  position: absolute;
  inset: auto;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  z-index: 20;
}

#unlockHint {
  position: fixed;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #ddd;
  padding: 6px 10px;
  border-radius: 6px;
  display: none;
}

#crosshair {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 20px;
  pointer-events: none;
  z-index: 40;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
  display: none; /* Hidden by default, shown when pointer lock is active */
}

/* === Spacing Utilities === */

.w-full {
  width: 100%;
}

.mb-18 {
  margin-bottom: 18px;
}

/* Text Utilities */
.text-value {
  font-size: 0.7em;
  color: #94a3b8;
  min-width: 26px;
  text-align: center;
}

.text-helper {
  font-size: 0.85em;
  color: #cbd5e1;
  margin-top: 4px;
}

/* === Range Input Styling === */
input[type="range"] {
  width: 100%;
  margin-bottom: 18px;
}

/* === Admin Console (Bottom Drawer) === */
.admin-console {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 90vh;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
  z-index: 90;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.admin-console--visible {
  transform: translateY(0);
}

.admin-console__header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  padding: 8px 0;
  color: #38bdf8;
  font-size: 0.75em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  text-align: center;
  z-index: 1;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.admin-console__content {
  display: flex;
  gap: clamp(10px, 1.5vw, 16px);
  align-items: flex-start;
  justify-content: center;
  padding: 16px clamp(10px, 2vw, 24px);
  width: 100%;
  flex-wrap: wrap;
  min-width: 1024px;
  max-width: 1800px;
  margin: 0 auto;
}

.admin-console__section {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-console__section-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* === Password Toggle Link === */
.pw-toggle-link {
  display: block;
  margin-top: 4px;
  margin-bottom: 2px;
  font-size: 0.8em;
  color: #38bdf8;
  text-decoration: underline;
  cursor: pointer;
  text-align: right;
  width: 100%;
}

/* === Color Input === */
input[type="color"] {
  cursor: pointer;
  border: 1px solid #38bdf8;
}

/* === Hidden State === */
.hidden {
  display: none !important;
}

/* === Visible State (for JavaScript toggle) === */
.visible {
  display: block !important;
}

/* === Button Color Variants (overrides) === */
.btn--warning {
  background: #fbbf24;
  color: #222;
}

.btn--success {
  background: #10b981;
  color: #fff;
}

/* === Spacing Overrides === */
.mt-18 {
  margin-top: 18px;
}

.mb-12 {
  margin-bottom: 12px;
}

.h-40 {
  height: 40px;
}

/* === Password Input with Icon === */
.form-input--with-icon {
  padding: 10px 38px 10px 10px;
}

/* === Text Color === */
.text-white {
  color: #fff;
}

/* === Gate Modal (Consent Screen) === */
#gateModal {
  z-index: 200;
}

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

.gate-modal__headline {
  color: #38bdf8;
  font-size: 1.6em;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.gate-modal__welcome {
  color: #fff;
  font-size: 1.3em;
  font-weight: 600;
  margin: 0 0 28px 0;
}

.gate-modal__body {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.gate-modal__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 32px 0;
  align-items: center;
}

.gate-modal__link {
  background: transparent;
  border: none;
  color: #38bdf8;
  font-size: 0.95rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.gate-modal__link:hover {
  color: #60a5fa;
}

/* === Hamburger Menu (Floating) === */
.hamburger-menu {
  position: fixed;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5em;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 199;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.hamburger-menu__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

.hamburger-menu:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hamburger-menu--visible {
  display: flex;
}

/* === Navigation Sidebar === */
.navigation-sidebar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: transparent;
  backdrop-filter: blur(16px);
  border-right: 2px solid rgba(56, 189, 248, 0.4);
  box-shadow: 8px 0 48px rgba(0, 0, 0, 0.5);
  z-index: 210;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.navigation-sidebar--visible {
  display: block;
  transform: translateX(0);
}

.navigation-sidebar__content {
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Top Row: Account Icon (left) + Close Button (right) */
.navigation-sidebar__top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.navigation-sidebar__close-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 1.5em;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.navigation-sidebar__close-btn:hover {
  background: rgba(100, 116, 139, 0.2);
  color: #cbd5e1;
}

/* Header: Business Name + Gallery Name + Member Name */
.navigation-sidebar__header {
  margin-bottom: 16px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.navigation-sidebar__business-name {
  color: #ffffff;
  font-size: 1em;
  font-weight: 500;
  margin: 0;
  padding: 6px 0;
  text-decoration: none;
  cursor: default;
}

.navigation-sidebar__business-name:hover {
  text-decoration: underline;
}

.navigation-sidebar__gallery-name {
  color: #38bdf8;
  font-size: 1.3em;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.navigation-sidebar__member-name {
  color: #94a3b8;
  font-size: 0.9em;
  margin: 0;
}

/* Divider */
.navigation-sidebar__divider {
  width: 100%;
  height: 1px;
  background: rgba(56, 189, 248, 0.2);
  margin: 16px 0;
  flex-shrink: 0;
}

/* === Account Menu Button in Sidebar === */
.account-menu-btn-sidebar {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.account-menu-btn-sidebar:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.05);
}

.account-menu-btn-sidebar__icon {
  width: 24px;
  height: 24px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-menu-btn-sidebar__icon svg {
  width: 100%;
  height: 100%;
  stroke: #ffffff;
  stroke-width: 2;
}

.account-menu-btn-sidebar__avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.account-menu-btn-sidebar__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-menu-btn-sidebar__avatar-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
}

/* === Account Dropdown in Sidebar === */
.account-dropdown-sidebar {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.account-dropdown-sidebar__item {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 10px 12px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.account-dropdown-sidebar__item:hover {
  text-decoration: underline;
}

.account-dropdown-sidebar__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #94a3b8;
}

.navigation-sidebar__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
}

/* .navigation-sidebar__link {
  display: block;
  color: #38bdf8;
  font-size: 0.95em;
  font-weight: 600;
  padding: 12px 16px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
} */

/* .navigation-sidebar__link:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.4);
} */

/* Gallery List Section (context-dependent) */
.navigation-sidebar__gallery-list {
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* Main Navigation (one per line) */
.navigation-sidebar__main-navigation {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.navigation-sidebar__link {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1em;
  text-align: left;
  padding: 6px 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}

.navigation-sidebar__link:hover {
  text-decoration: underline;
}

/* Spacer to push footer to bottom */
.navigation-sidebar__spacer {
  flex: 1;
  min-height: 20px;
}

.navigation-sidebar__other-galleries {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.navigation-sidebar__other-gallery-link {
  display: block;
  color: #ffffff;
  font-size: 0.85em;
  padding: 8px 12px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-bottom: 2px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.navigation-sidebar__other-gallery-link:hover {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(148, 163, 184, 0.4);
  border-bottom-color: #ffffff;
}

.navigation-sidebar__footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  flex-shrink: 0;
}

.navigation-sidebar__footer-link {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.75em;
  text-align: left;
  padding: 6px 0;
  cursor: pointer;
  text-decoration: none;
}

.navigation-sidebar__footer-link:hover {
  text-decoration: underline;
}

/* === Your Galleries Section === */
.navigation-sidebar__your-galleries {
  padding: 16px 0;
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.navigation-sidebar__section-header h3 {
  color: #38bdf8;
  font-size: 1em;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.navigation-sidebar__create-gallery-btn {
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 6px;
  color: #38bdf8;
  padding: 8px 16px;
  font-size: 0.85em;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
}

.navigation-sidebar__create-gallery-btn:hover {
  background: rgba(56, 189, 248, 0.3);
}

.navigation-sidebar__gallery-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.navigation-sidebar__gallery-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.4);
}

.navigation-sidebar__gallery-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.navigation-sidebar__gallery-card-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9em;
}

.navigation-sidebar__gallery-card-status {
  font-size: 0.75em;
  font-weight: 600;
}

.navigation-sidebar__gallery-card-status--live {
  color: #10b981;
}

.navigation-sidebar__gallery-card-status--draft {
  color: #64748b;
}

.navigation-sidebar__gallery-card-slug {
  color: #94a3b8;
  font-size: 0.75em;
}

.navigation-sidebar__empty-state,
.navigation-sidebar__error-state {
  color: #64748b;
  font-size: 0.85em;
  margin: 12px 0;
}

.navigation-sidebar__error-state {
  color: #ef4444;
}

/* === Sidebar Overlay === */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 209;
  transition: opacity 0.3s;
  opacity: 0;
}

.sidebar-overlay--visible {
  display: block;
  opacity: 1;
}

/* === Legal Overlays === */
.legal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 220;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.legal-overlay--visible {
  display: flex;
  opacity: 1;
}

.legal-overlay__container {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 1) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  height: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin: auto;
}

.legal-overlay__close-top {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(100, 116, 139, 0.2);
  border: 1px solid rgba(100, 116, 139, 0.4);
  color: #94a3b8;
  font-size: 1.8em;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: all 0.2s;
}

.legal-overlay__close-top:hover {
  background: rgba(100, 116, 139, 0.3);
  border-color: rgba(100, 116, 139, 0.6);
  color: #cbd5e1;
}

.legal-overlay__content {
  padding: 48px 40px 24px 40px;
  overflow-y: auto;
  flex: 0 1 auto;
  max-height: calc(90vh - 120px);
}

.legal-overlay__content::-webkit-scrollbar {
  width: 8px;
}

.legal-overlay__content::-webkit-scrollbar-track {
  background: #2d3748;
  border-radius: 10px;
}

.legal-overlay__content::-webkit-scrollbar-thumb {
  background: #4a5568;
  border-radius: 10px;
}

.legal-overlay__content::-webkit-scrollbar-thumb:hover {
  background: #718096;
}

.legal-overlay__title {
  color: #38bdf8;
  font-size: 1.8em;
  font-weight: 700;
  margin: 0 0 24px 0;
}

.legal-overlay__text {
  color: #cbd5e1;
  font-size: 1em;
  line-height: 1.8;
}

.legal-overlay__text p {
  margin: 0 0 16px 0;
}

.legal-overlay__text p:last-child {
  margin-bottom: 0;
}

.legal-overlay__text h1 {
  color: #38bdf8;
  font-size: 1.8em;
  font-weight: 700;
  margin: 0 0 24px 0;
}

.legal-overlay__text h2 {
  color: #38bdf8;
  font-size: 1.5em;
  font-weight: 700;
  margin: 32px 0 16px 0;
}

.legal-overlay__text h2:first-child {
  margin-top: 0;
}

.legal-overlay__text h3 {
  color: #94a3b8;
  font-size: 1.2em;
  font-weight: 600;
  margin: 24px 0 12px 0;
}

.legal-overlay__text strong {
  color: #e2e8f0;
  font-weight: 600;
}

.legal-overlay__text ul,
.legal-overlay__text ol {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-overlay__text li {
  margin: 8px 0;
}

.legal-overlay__text a {
  color: #38bdf8;
  text-decoration: underline;
  transition: color 0.2s;
}

.legal-overlay__text a:hover {
  color: #60a5fa;
}

.legal-overlay__close-bottom {
  background: rgba(100, 116, 139, 0.2);
  border: 1px solid rgba(100, 116, 139, 0.4);
  border-radius: 8px;
  color: #94a3b8;
  font-size: 1em;
  font-weight: 600;
  padding: 12px 24px;
  margin: 0 24px 24px 24px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.legal-overlay__close-bottom:hover {
  background: rgba(100, 116, 139, 0.3);
  border-color: rgba(100, 116, 139, 0.6);
  color: #cbd5e1;
}

/* === Navigation Sidebar: Tailwind-style link semantics (overrides) === */
/* Menu list reset and layout */
.navigation-sidebar__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Link-like style for main menu and contact items */
.navigation-sidebar__get-gallery-link,
.navigation-sidebar__manage-galleries-link,
.navigation-sidebar__search-galleries-link,
.navigation-sidebar__shopping-cart-link,
.navigation-sidebar__checkout-link,
.navigation-sidebar__chat-link,
.navigation-sidebar__support-link,
.navigation-sidebar__contact-us a,
.navigation-sidebar__contact-link {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #cbd5e1; /* slightly brighter than footer */
  font-size: 0.9em; /* larger than footer */
  font-weight: 600;
  padding: 10px 0; /* larger vertical rhythm */
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.navigation-sidebar__get-gallery-link:hover,
.navigation-sidebar__manage-galleries-link:hover,
.navigation-sidebar__search-galleries-link:hover,
.navigation-sidebar__shopping-cart-link:hover,
.navigation-sidebar__checkout-link:hover,
.navigation-sidebar__chat-link:hover,
.navigation-sidebar__support-link:hover,
.navigation-sidebar__contact-us a:hover,
.navigation-sidebar__contact-link:hover {
  color: #e2e8f0;
  text-decoration: underline;
}

.navigation-sidebar__get-gallery-link:focus-visible,
.navigation-sidebar__manage-galleries-link:focus-visible,
.navigation-sidebar__search-galleries-link:focus-visible,
.navigation-sidebar__shopping-cart-link:focus-visible,
.navigation-sidebar__checkout-link:focus-visible,
.navigation-sidebar__chat-link:focus-visible,
.navigation-sidebar__support-link:focus-visible,
.navigation-sidebar__contact-us a:focus-visible,
.navigation-sidebar__contact-link:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

/* Ensure cart count pill aligns inline with text */
.navigation-sidebar__cart-count {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #ef4444;
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.75em;
  font-weight: 700;
  vertical-align: baseline;
}

/* Reverted: removed extended styles and button card overrides to restore original appearance */

/* === Gallery Header (REMOVED - Account menu now in sidebar) === */
/* Old gallery header and dropdown styles removed - account menu is now in sidebar */

/* === Auth Modal (Sign In/Up) === */
.auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal--visible {
  display: flex;
}

.auth-modal__container {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.auth-modal__header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-modal__title {
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.auth-modal__subtitle {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0;
}

.auth-modal__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-modal__tab {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #94a3b8;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-modal__tab:hover {
  color: #ffffff;
}

.auth-modal__tab--active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}

.auth-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-modal__input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 1rem;
  transition: all 0.2s;
}

.auth-modal__input:focus {
  outline: none;
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.08);
}

.auth-modal__input::placeholder {
  color: #64748b;
}

.auth-modal__button {
  background: #38bdf8;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-modal__button:hover {
  background: #0ea5e9;
}

.auth-modal__button:disabled {
  background: #64748b;
  cursor: not-allowed;
}

.auth-modal__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}

.auth-modal__divider::before,
.auth-modal__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-modal__divider-text {
  color: #64748b;
  font-size: 0.85rem;
}

.auth-modal__social-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-modal__social-button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.auth-modal__social-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.auth-modal__social-icon {
  width: 20px;
  height: 20px;
}

.auth-modal__message {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.auth-modal__message--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.auth-modal__message--success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.auth-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}

.auth-modal__close:hover {
  color: #ffffff;
}

/* === Profile Modal === */
.profile-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.profile-modal--visible {
  display: flex;
}

.profile-modal__container {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.profile-modal__header {
  text-align: center;
  margin-bottom: 32px;
}

.profile-modal__title {
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
}

.profile-modal__avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.profile-modal__avatar-display {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(56, 189, 248, 0.3);
  position: relative;
}

.profile-modal__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-modal__avatar-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 2.5rem;
}

.profile-modal__avatar-upload {
  position: relative;
}

.profile-modal__avatar-input {
  display: none;
}

.profile-modal__avatar-button {
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 6px;
  color: #38bdf8;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.profile-modal__avatar-button:hover {
  background: rgba(56, 189, 248, 0.3);
}

.profile-modal__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-modal__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-modal__label {
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
}

.profile-modal__input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 1rem;
  transition: all 0.2s;
}

.profile-modal__input:focus {
  outline: none;
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.08);
}

.profile-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.profile-modal__button {
  flex: 1;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.profile-modal__button--primary {
  background: #38bdf8;
  color: #ffffff;
}

.profile-modal__button--primary:hover {
  background: #0ea5e9;
}

.profile-modal__button--secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.profile-modal__button--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}
