:root {
  --font-display: 'Boska', Georgia, serif;
  --font-body: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --bg-page: #f7f5f0;
  --bg-card: #ffffff;
  --bg-sidebar: #13241b;
  --bg-input: #ffffff;
  --bg-hover: #ece8df;

  --color-primary: #1e382b;
  --color-primary-hover: #294c3b;
  --color-primary-light: #e8f0ec;
  --color-accent-gold: #c89544;
  --color-accent-gold-hover: #b38234;
  --color-danger: #c93b2b;
  --color-danger-hover: #a82e20;
  --color-success: #28844b;
  --color-warning: #d97706;

  --text-main: #1d2521;
  --text-muted: #647067;
  --text-sidebar: #cad6ce;
  --text-sidebar-active: #ffffff;
  --text-on-primary: #ffffff;

  --border-subtle: #e5e0d6;
  --border-focus: #1e382b;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(26, 43, 33, 0.08);
  --shadow-lg: 0 12px 36px rgba(26, 43, 33, 0.12);
}

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

body.dashboard-body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* TOPBAR */
.dash-topbar {
  height: 64px;
  background-color: var(--bg-sidebar);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.dash-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
}

.dash-brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: block;
  line-height: 1.1;
}

.dash-brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #9cb2a5;
  text-transform: uppercase;
}

.save-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  color: #cad6ce;
  transition: all 0.2s ease;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9cb2a5;
  transition: background 0.3s;
}

.save-status-pill.saved .status-dot {
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.save-status-pill.dirty {
  background: rgba(245, 158, 11, 0.15);
  color: #fde68a;
}
.save-status-pill.dirty .status-dot {
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
}

.save-status-pill.saving .status-dot {
  background: #60a5fa;
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  0% { opacity: 0.3; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1.15); }
}

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

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

.btn-primary {
  background: var(--color-accent-gold);
  color: #1a1a1a;
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--color-accent-gold-hover);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  background: transparent;
  color: #cad6ce;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.btn-subtle {
  background: rgba(255, 255, 255, 0.06);
  color: #cad6ce;
  border-color: transparent;
}
.btn-subtle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-danger {
  background: var(--color-danger);
  color: #ffffff;
}
.btn-danger:hover {
  background: var(--color-danger-hover);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.8rem;
}

.btn-xs {
  padding: 3px 7px;
  font-size: 0.75rem;
}

.shortcut {
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  color: rgba(0, 0, 0, 0.7);
  margin-left: 4px;
}

/* LAYOUT */
.dash-layout {
  display: flex;
  flex: 1;
  position: relative;
  min-height: calc(100vh - 64px);
}

/* SIDEBAR */
.dash-sidebar {
  width: 270px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 14px;
  flex-shrink: 0;
}

.sidebar-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #799183;
  padding: 0 12px 10px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-sidebar);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.nav-item.active {
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--color-accent-gold);
}

.nav-icon {
  font-size: 1.05rem;
  width: 22px;
  display: inline-block;
  text-align: center;
}

.nav-label {
  flex: 1;
}

.badge {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 600;
}

.sidebar-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-tips {
  font-size: 0.76rem;
  line-height: 1.4;
  color: #9cb2a5;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

/* MAIN CONTENT */
.dash-main {
  flex: 1;
  padding: 32px 36px 64px;
  overflow-y: auto;
  max-width: 1100px;
}

.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

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

.pane-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.pane-header h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-primary);
  line-height: 1.2;
}

.pane-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 4px;
}

.btn-save-section {
  background: var(--color-primary);
  color: #ffffff;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.btn-save-section:hover {
  background: var(--color-primary-hover);
}

/* CARDS & FORMS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.form-group {
  margin-bottom: 16px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.form-row .form-group {
  margin-bottom: 0;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-main);
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(30, 56, 43, 0.12);
}

.form-textarea {
  resize: vertical;
  line-height: 1.5;
}

.form-help {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.image-picker-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.image-preview-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  padding: 2px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.image-preview-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.image-select-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.hero-image-preview-box {
  width: 100%;
  height: 150px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  background: #202020;
}
.hero-image-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* EXPERIENCE HIGHLIGHTS GRID */
.exp-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.exp-item-box {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  position: relative;
}

.exp-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-accent-gold);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

/* TAG INPUTS */
.tag-input-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 38px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.ui-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 500;
}

.ui-tag-remove {
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 1;
}

.tag-add-row {
  display: flex;
  gap: 8px;
}

/* PROPERTY CARDS */
.properties-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.property-admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}

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

.prop-card-media {
  position: relative;
  height: 170px;
  background: #242424;
}

.prop-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prop-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(19, 36, 27, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.05em;
}

.prop-card-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prop-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.prop-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.prop-card-vibe {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 12px;
  flex: 1;
}

.prop-card-amenities {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 8px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}

.prop-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* FAQ LIST */
.faqs-admin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-admin-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.faq-admin-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.faq-admin-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.faq-admin-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* SPLIT PREVIEW PANE */
.dash-preview-pane {
  display: none;
  width: 50%;
  min-width: 420px;
  background: #111b15;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  flex-direction: column;
  position: relative;
  z-index: 10;
}

.dash-preview-pane.open {
  display: flex;
}

.preview-header {
  height: 48px;
  background: #17261e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #ffffff;
}

.preview-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}

.preview-live-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
}

.preview-device-controls {
  display: flex;
  gap: 4px;
}

.device-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 2px 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.15s;
}
.device-btn.active, .device-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.preview-frame-container {
  flex: 1;
  display: flex;
  justify-content: center;
  background: #0d1611;
  overflow: hidden;
  padding: 12px;
}

#preview-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
  background: #ffffff;
  transition: width 0.3s ease;
}

/* MODALS */
.dash-modal {
  margin: auto;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
  max-width: 650px;
  width: calc(100% - 32px);
  padding: 0;
}

.dash-modal::backdrop {
  background: rgba(15, 28, 21, 0.65);
  backdrop-filter: blur(4px);
}

.dash-modal-sm {
  max-width: 440px;
}

.modal-content {
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-primary);
}

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

.modal-body {
  padding: 24px;
  max-height: 75vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background: var(--bg-page);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

.prop-image-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.image-upload-zone {
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.image-upload-zone:hover,
.image-upload-zone:focus-within,
.image-upload-zone.drag-over {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  outline: none;
}

.dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.dropzone-icon {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 2px;
}

.dropzone-prompt {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}

.dropzone-prompt strong {
  color: var(--color-primary);
  text-decoration: underline;
}

.dropzone-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.dropzone-file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-progress-bar {
  margin-top: 4px;
  padding: 10px 14px;
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.upload-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(30, 56, 43, 0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.progress-text {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 500;
}

.upload-status-msg {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.4;
}

.upload-status-msg.success {
  background: #eaf6ee;
  color: var(--color-success);
  border: 1px solid #b7e2c5;
}

.upload-status-msg.error {
  background: #fdf2f2;
  color: var(--color-danger);
  border: 1px solid #f8b4b4;
}

.image-source-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 2px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.image-source-divider::before,
.image-source-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.prop-modal-img-preview {
  width: 100%;
  height: 80px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #222;
}
.prop-modal-img-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 16px;
  height: 16px;
}

/* TOASTS */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
  pointer-events: none;
}

.toast {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: #1e382b;
  color: #ffffff;
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: slideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.toast-success {
  background: #173823;
  border-left: 4px solid #34d399;
}

.toast.toast-error {
  background: #451515;
  border-left: 4px solid #ef4444;
}

.toast.toast-warning {
  background: #452b12;
  border-left: 4px solid #f59e0b;
}

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

/* UTILITY CLASSES */
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-6 { margin-bottom: 24px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .dash-layout {
    flex-direction: column;
  }
  .dash-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px;
  }
  .sidebar-nav {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 6px;
  }
  .nav-item {
    white-space: nowrap;
    width: auto;
  }
  .dash-main {
    padding: 20px 16px;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .dash-preview-pane {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    width: 100%;
  }
}

/* GROUP GETAWAYS EDITOR */
.pane-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-shrink: 0;
}

.getaways-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.getaway-editor {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.getaway-editor.is-hidden {
  opacity: 0.8;
  border-style: dashed;
}

.getaway-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.getaway-editor-head h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-primary);
}

.getaway-status {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  background: var(--color-primary-light);
  color: var(--color-success);
}

.getaway-editor.is-hidden .getaway-status {
  background: #f3e9d6;
  color: var(--color-warning);
}

.getaway-editor-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.getaway-editor-actions .btn-light {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}
.getaway-editor-actions .btn-light:hover:not(:disabled) {
  background: var(--bg-hover);
}
.getaway-editor-actions .btn-light:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.getaway-visible-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 6px 0 0;
  font-size: 0.82rem;
  cursor: pointer;
}

.getaways-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
}

/* Hero carousel editor */
.hero-slides-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-slides-count {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  background: var(--color-primary-light);
  color: var(--color-success);
}

.hero-slides-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  max-width: 560px;
}

#btn-add-hero-slide:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hero-slides-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-slide-editor {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, background 0.2s;
}

.hero-slide-editor.drag-over {
  border-color: var(--color-primary);
  border-style: dashed;
  background: var(--color-primary-light);
}

.hero-slide-thumb {
  position: relative;
  aspect-ratio: 1.5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #202020;
}

.hero-slide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-num {
  position: absolute;
  top: 6px;
  left: 6px;
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.hero-slide-fields .form-group:last-of-type {
  margin-bottom: 0;
}

.hero-slide-actions {
  justify-content: flex-end;
}

.hero-slide-upload {
  position: relative;
  cursor: pointer;
}

.hero-slide-upload:focus-within {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .hero-slide-editor {
    grid-template-columns: 1fr;
  }
  .hero-slide-thumb {
    max-width: 280px;
  }
  .hero-slide-actions {
    justify-content: flex-start;
  }
}

/* LOGO UPLOAD */
.logo-upload-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.logo-upload-row .image-upload-zone {
  flex: 1;
}
.logo-preview-box {
  flex: 0 0 110px;
  min-height: 110px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-preview-box img {
  max-width: 100%;
  max-height: 94px;
  object-fit: contain;
}
