/* =========================================================
   Photo Gallery - Admin Dashboard Styles
   Clean, Modern, Simple
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');

:root {
  --bg-main: #0c1017;
  --bg-card: #151b26;
  --bg-input: #1d2535;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-focus: #f59e0b;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-rose: #f87171;
  --accent-success: #10b981;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
}

.admin-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 80px 24px;
}

/* Header */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.brand-text h1 {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  gap: 12px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-input);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #252f44;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--accent-gold);
  color: #0b0f17;
  border: none;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
}

/* Grid Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* Section Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.card-title-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.card-title-group h2 {
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

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

.form-group label {
  font-size: 0.88rem;
  font-weight: 500;
  color: #e5e7eb;
}

.form-group .hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

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

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 14px;
}

.slider-container input[type="range"] {
  flex: 1;
  accent-color: var(--accent-gold);
}

.slider-value {
  font-size: 0.95rem;
  font-weight: 600;
  min-width: 45px;
  color: var(--accent-gold);
}

/* Switch Toggle */
.switch-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-input);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.switch-label {
  display: flex;
  flex-direction: column;
}

.switch-label span:first-child {
  font-size: 0.92rem;
  font-weight: 500;
}

.switch-label span:last-child {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #374151;
  transition: 0.3s;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--accent-gold);
}

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

/* Real-Time Live Preview Box */
.preview-box {
  margin-top: 10px;
  padding: 18px 22px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
}

.preview-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.preview-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.preview-card-display {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 22px;
  background: rgba(12, 17, 26, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.preview-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.preview-icon {
  font-size: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.preview-text-group {
  display: flex;
  flex-direction: column;
}

.preview-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.12rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.preview-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  font-weight: 600;
  opacity: 0.95;
}

/* Card Header Action Buttons */
.card-header-btns {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* Span Full Column */
.span-full {
  grid-column: 1 / -1;
}

/* Milestones List */
.milestones-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.milestone-item {
  background: rgba(29, 37, 53, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, background 0.2s;
}

.milestone-item:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.milestone-item.is-disabled {
  opacity: 0.55;
}

.milestone-row-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.milestone-emoji-input {
  width: 48px;
  height: 40px;
  text-align: center;
  font-size: 1.3rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #fff;
}

.milestone-title-input {
  flex: 1;
  min-width: 140px;
}

.milestone-date-input {
  width: 160px;
}

.milestone-type-select {
  width: 190px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-family: inherit;
}

.milestone-row-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.milestone-prefix-input,
.milestone-postfix-input {
  flex: 1;
  min-width: 170px;
  font-size: 0.84rem;
}

.milestone-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.milestone-warning {
  font-size: 0.78rem;
  color: #f87171;
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-top: 2px;
}

.milestone-warning.show {
  display: inline-flex;
}

.milestone-item.has-warning {
  border-color: rgba(248, 113, 113, 0.45);
}

/* Audio Upload & Controls */
.audio-upload-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.current-audio-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--accent-gold);
}

.audio-badge-name {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Upload Dropzone */
.dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  background: rgba(29, 37, 53, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.06);
}

.dropzone-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
}

.dropzone-icon svg {
  width: 28px;
  height: 28px;
}

.dropzone h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.dropzone p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.file-input {
  display: none;
}

/* Upload Progress Bar */
.upload-progress-container {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--bg-input);
  border-radius: var(--radius-md);
}

.upload-progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gold);
  transition: width 0.2s ease;
}

/* Photo Gallery Grid */
.photo-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 28px 0 16px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.photo-count {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.batch-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-small {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
}

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

.photo-card {
  position: relative;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  cursor: grab;
  user-select: none;
}

.photo-card:active {
  cursor: grabbing;
}

.photo-card.is-dragging {
  opacity: 0.35;
  transform: scale(0.96);
  border: 2px dashed var(--accent-gold);
  box-shadow: none;
}

.photo-card.drag-over {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px var(--accent-gold), 0 10px 25px rgba(245, 158, 11, 0.35);
  transform: translateY(-4px) scale(1.02);
  z-index: 10;
}

.photo-card:not(.is-dragging):hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.25);
}

.photo-drag-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  background: rgba(12, 16, 23, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  z-index: 5;
  letter-spacing: 0.04em;
}

.photo-drag-badge svg {
  width: 10px;
  height: 10px;
  opacity: 0.7;
}

.photo-card.is-selected {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px #ef4444, 0 8px 20px rgba(239, 68, 68, 0.25);
}

.photo-select-label {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 12;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.photo-select-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.custom-check-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(12, 16, 23, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 2px solid rgba(255, 255, 255, 0.45);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.photo-select-label:hover .custom-check-box {
  border-color: #fff;
  transform: scale(1.08);
}

.photo-select-label input[type="checkbox"]:checked + .custom-check-box {
  background: #ef4444;
  border-color: #ef4444;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
}

.photo-select-label input[type="checkbox"]:checked + .custom-check-box::after {
  content: '✓';
  line-height: 1;
}

.photo-thumbnail-wrap {
  position: relative;
  width: 100%;
  padding-top: 66%; /* 3:2 aspect ratio */
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.photo-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-card:hover .photo-thumbnail {
  transform: scale(1.05);
}

.photo-info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.photo-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.photo-location-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  transition: all 0.2s ease;
}

.photo-location-row:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.45);
}

.photo-location-row:focus-within {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
  box-shadow: 0 0 0 1px var(--accent-gold);
}

.location-pin-icon {
  color: var(--accent-gold);
  flex-shrink: 0;
  opacity: 0.9;
}

.photo-country-input {
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--text-main);
  width: 100%;
  padding: 1px 0;
}

.photo-country-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}

.photo-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.order-btn-group {
  display: flex;
  gap: 4px;
}

.btn-icon-small {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-icon-small:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-icon-small.delete:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #f87171;
}

/* Lightbox Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.focus-modal-content {
  position: relative;
  background: #111724;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  max-width: 95vw;
  width: 960px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  animation: fadeInModal 0.25s ease-out;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.modal-title-wrap h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

.modal-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.4);
  color: #fff;
}

.focus-modal-body {
  display: flex;
  gap: 20px;
  padding: 20px;
  width: 100%;
  max-height: calc(92vh - 145px);
  overflow-y: auto;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .focus-modal-body {
    flex-direction: column;
    align-items: center;
  }
}

.focal-canvas-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  width: 100%;
  background: #06090e;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: crosshair;
  user-select: none;
}

.focal-canvas-wrap img.modal-image {
  display: block;
  max-width: 100%;
  max-height: 56vh;
  object-fit: contain;
  pointer-events: none;
}

.focal-reticle {
  position: absolute;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: top 0.05s linear, left 0.05s linear;
  z-index: 10;
}

.reticle-ring {
  position: absolute;
  inset: 0;
  border: 2px solid #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.8), inset 0 0 8px rgba(245, 158, 11, 0.3);
}

.reticle-cross-h {
  position: absolute;
  top: 50%;
  left: -8px;
  right: -8px;
  height: 1.5px;
  background: #f59e0b;
  transform: translateY(-50%);
}

.reticle-cross-v {
  position: absolute;
  left: 50%;
  top: -8px;
  bottom: -8px;
  width: 1.5px;
  background: #f59e0b;
  transform: translateX(-50%);
}

.reticle-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px #f59e0b;
}

.live-crop-preview-card {
  width: 190px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.crop-preview-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
}

.phone-frame {
  width: 140px;
  height: 250px;
  background: #000;
  border-radius: 24px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.phone-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  transition: object-position 0.1s ease-out;
}

.focal-coords-badge {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  font-family: monospace;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.photo-focal-badge {
  font-size: 0.74rem;
  color: var(--accent-gold);
  cursor: pointer;
  padding: 3px 8px;
  margin-top: 4px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  transition: all 0.2s ease;
}

.photo-focal-badge:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: var(--accent-gold);
  transform: translateY(-1px);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1f2937;
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border-left: 4px solid var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 200;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.92rem;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-left-color: var(--accent-success);
}

.toast.error {
  border-left-color: var(--accent-rose);
}

/* Responsive */
@media (max-width: 768px) {
  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-actions {
    width: 100%;
    justify-content: space-between;
  }
  .photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}
