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

:root,
[data-theme="light"] {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e8e8ea;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
  --gap: 1.25rem;
  --max-width: 1200px;
  --icon: #1a1a1a;
}

[data-theme="dark"] {
  --bg: #0a0a0a;
  --surface: #141414;
  --text: #f0f0f0;
  --text-muted: #8a8a8a;
  --border: #2a2a2a;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.5);
  --icon: #e0e0e0;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  font-weight: 100;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  letter-spacing: 0.02em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease, color 0.2s ease;
}

.header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
  text-align: center;
  width: 100%;
}

.title {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 100;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.subtitle {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-size: 0.95rem;
  font-weight: 100;
  color: var(--text-muted);
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  width: 100%;
  flex: 1;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gap);
}

.photo-card {
  margin: 0;
  background: var(--surface);
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.photo-card:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.photo-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--border);
}

.photo-date {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 100;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.empty {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 1rem;
}

.empty code {
  font-size: 0.85em;
  background: var(--surface);
  padding: 0.15em 0.4em;
  border-radius: 0;
  border: 1px solid var(--border);
}

.footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 100;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.15s ease;
}

.theme-toggle:hover {
  color: var(--text);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  flex-shrink: 0;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--icon);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.social-link:hover {
  color: var(--text);
  opacity: 0.85;
}

.social-label {
  color: var(--text-muted);
}

.social-link:hover .social-label {
  color: var(--text);
}

.hidden {
  display: none !important;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #000;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 3.5rem 3.5rem 1.5rem;
  animation: fadeIn 0.2s ease;
  overflow: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 0.5rem 1rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 0;
  transition: color 0.15s ease, background 0.15s ease;
  z-index: 2;
}

.lightbox-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 0;
  transition: color 0.15s ease, background 0.15s ease;
  z-index: 2;
}

.lightbox-nav:hover:not(:disabled) {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-nav:disabled {
  opacity: 0.2;
  cursor: default;
}

.lightbox-nav-prev {
  left: 0.75rem;
}

.lightbox-nav-next {
  right: 0.75rem;
}

.lightbox-content {
  margin: 0;
  width: 100%;
  max-width: min(100%, 1400px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox-img {
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  flex-shrink: 0;
}

.lightbox:not(.lightbox--details-open) .lightbox-img {
  max-height: calc(100vh - 7rem);
}

.lightbox.lightbox--details-open .lightbox-img {
  max-height: min(52vh, calc(100vh - 16rem));
}

.lightbox-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin: 0;
  flex-shrink: 0;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.lightbox-exif-toggle {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 100;
  padding: 0.3rem 0.75rem;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.lightbox-exif-toggle:hover,
.lightbox-exif-toggle[aria-expanded="true"] {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.lightbox-exif {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.25rem;
  margin: 0;
  padding: 0.85rem 1.1rem;
  width: 100%;
  max-width: min(100%, 420px);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.lightbox-exif dt {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 100;
}

.lightbox-exif dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.lightbox-exif-message {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

@media (max-width: 480px) {
  .header {
    padding-top: 2.5rem;
  }

  .title {
    font-size: 1.65rem;
    letter-spacing: 0.1em;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .lightbox {
    padding: 3rem 2.5rem 1rem;
  }

  .lightbox-nav {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 2rem;
  }

  .lightbox-nav-prev {
    left: 0.25rem;
  }

  .lightbox-nav-next {
    right: 0.25rem;
  }

  .social-links {
    gap: 1.25rem;
  }

  .social-label {
    display: none;
  }
}

/* ----------------------------------------------------
   Admin Console & Dashboard Styling
   ---------------------------------------------------- */

.admin-body {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  width: 100%;
}

/* Glassmorphism auth card */
.admin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 2.25rem 2rem;
  width: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.auth-card {
  max-width: 440px;
  backdrop-filter: blur(10px);
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.admin-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-align: center;
}

.admin-card-subtitle {
  margin: 0 0 1.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 2px rgba(var(--text), 0.05);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-input-sm {
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
}

.form-textarea-sm {
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
  resize: vertical;
  min-height: 50px;
}

.form-error-msg {
  display: block;
  font-size: 0.75rem;
  color: #ff4a4a;
  margin-top: 0.35rem;
  min-height: 1.15em;
}

/* OTP Code Inputs */
.otp-input-container {
  display: flex;
  justify-content: center;
}

.otp-input {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.25em;
  padding: 0.5rem;
  font-family: monospace;
}

/* MFA Instructions & QR Code */
.mfa-setup-instructions {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.mfa-setup-instructions ol {
  padding-left: 1.2rem;
  margin: 0;
}

.mfa-qr-container {
  display: flex;
  justify-content: center;
  background: #ffffff;
  padding: 1rem;
  margin: 0 auto 1.25rem;
  width: max-content;
  border-radius: 4px;
}

.mfa-qr-image,
.mfa-qr-canvas {
  display: block;
  width: 160px;
  height: 160px;
}

.mfa-secret-display {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.mfa-secret-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.mfa-secret-code {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.05em;
  user-select: all;
  cursor: pointer;
}

.auth-card-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

.back-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--text);
}

.text-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}

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

/* Button Classes */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn-primary:hover:not(:disabled) {
  opacity: 0.85;
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

[data-theme="light"] .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.03);
}

.btn-danger {
  background: #a82020;
  color: #ffffff;
  border-color: #a82020;
}

.btn-danger:hover:not(:disabled) {
  background: #bd2424;
}

.btn-success {
  background: #1e7033;
  color: #ffffff;
  border-color: #1e7033;
}

.btn-sm {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
}

/* ----------------------------------------------------
   Admin Dashboard Layout
   ---------------------------------------------------- */

.admin-dashboard {
  width: 100%;
  max-width: 1400px;
  animation: fadeIn 0.3s ease;
  margin: 0 auto;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.dashboard-branding {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.dashboard-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 100;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dashboard-badge {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.15rem 0.45rem;
}

.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.panel-title {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

/* Drag & Drop Photo Upload Zone */
.drop-zone {
  border: 2px dashed var(--border);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
  background: var(--bg);
}

.drop-zone:hover,
.drop-zone--active {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .drop-zone:hover,
[data-theme="light"] .drop-zone--active {
  background: rgba(0, 0, 0, 0.01);
}

.drop-zone-input {
  display: none;
}

.drop-zone-icon {
  margin: 0 auto 0.75rem;
  color: var(--text-muted);
  display: block;
}

.drop-prompt-text {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.browse-link {
  text-decoration: underline;
  color: var(--text);
  font-weight: 300;
}

.drop-prompt-hint {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Upload Preview */
.drop-zone-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.preview-thumbnail {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
  border: 1px solid var(--border);
}

.preview-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.preview-filename {
  font-size: 0.75rem;
  color: var(--text-muted);
  word-break: break-all;
}

.remove-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: #ff4a4a;
  font-family: inherit;
  font-size: 0.72rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  align-self: center;
  transition: all 0.15s ease;
}

.remove-btn:hover {
  background: rgba(255, 74, 74, 0.1);
  border-color: #ff4a4a;
}

/* Input Hints */
.input-with-hint {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.scan-scanning {
  color: #cc9900;
}

.scan-success {
  color: #2ea44f;
  font-weight: 300;
}

.scan-info {
  color: #0088cc;
}

.scan-warn {
  color: var(--text-muted);
}

/* Upload Status Indicator */
.upload-status-bar {
  margin-top: 1rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  border-left: 3px solid transparent;
}

.upload-status-bar.progress {
  background: rgba(255, 255, 255, 0.03);
  border-left-color: var(--text-muted);
  color: var(--text);
}

.upload-status-bar.success {
  background: rgba(46, 164, 79, 0.1);
  border-left-color: #2ea44f;
  color: #2ea44f;
}

.upload-status-bar.error {
  background: rgba(255, 74, 74, 0.1);
  border-left-color: #ff4a4a;
  color: #ff4a4a;
}

/* Inventory List Table */
.table-card {
  padding: 1.5rem;
}

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

.panel-header .panel-title {
  border-bottom: none;
  padding-bottom: 0;
  margin: 0;
}

.inventory-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.table-container {
  overflow-x: auto;
  border: 1px solid var(--border);
}

.photos-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.photos-table th {
  background: var(--bg);
  padding: 0.75rem 1rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.72rem;
  border-bottom: 1px solid var(--border);
}

.photos-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.photos-table tr:last-child td {
  border-bottom: none;
}

.photos-table tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

.table-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 1rem;
}

.error-text {
  color: #ff4a4a;
}

.col-thumb {
  width: 80px;
}

.col-details {
  width: 180px;
}

.col-date {
  width: 140px;
}

.col-description {
  min-width: 200px;
}

.col-actions {
  width: 140px;
}

.inventory-thumb {
  width: 60px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--border);
}

.file-path-code {
  font-family: monospace;
  font-size: 0.75rem;
  background: var(--bg);
  padding: 0.15rem 0.35rem;
  border: 1px solid var(--border);
  word-break: break-all;
  display: block;
}

.col-actions .btn {
  width: 100%;
  margin-bottom: 0.4rem;
}

.col-actions .btn:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------------------
   Gorgeous Delete Confirmation Modal
   ---------------------------------------------------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.2s ease;
}

.modal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  max-width: 440px;
  width: 100%;
  padding: 2rem;
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.25rem;
}

.warning-icon {
  color: #ff4a4a;
  margin-bottom: 0.75rem;
}

.modal-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.modal-body {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.photo-to-delete-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.6rem;
  margin: 1rem 0;
}

.photo-to-delete-preview img {
  width: 60px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--border);
}

#delete-modal-path {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  word-break: break-all;
}

.warning-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Lightbox details & Captions styling */
.lightbox-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.lightbox-date {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 300;
}

.lightbox-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  font-weight: 100;
  letter-spacing: 0.03em;
  max-width: 480px;
  display: block;
}

.photo-date-text {
  display: block;
  font-size: 0.8rem;
}

.photo-desc-text {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Footer control links & alignment */
.footer-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: color 0.15s ease;
}

.admin-link:hover {
  color: var(--text);
}

.admin-link .icon-settings {
  flex-shrink: 0;
}

