/* ========================================================
   CASA CURIME - ADMIN DASHBOARD STYLES
   ======================================================== */

:root {
  --admin-primary: #1b4332;
  --admin-primary-dark: #102a1f;
  --admin-secondary: #d4a373;
  --admin-accent: #2d6a4f;
  --admin-bg: #f4f6f8;
  --admin-surface: #ffffff;
  --admin-border: #e2e8f0;
  --admin-text: #1e293b;
  --admin-text-muted: #64748b;
  --admin-danger: #ef4444;
  --admin-success: #10b981;
  --admin-warning: #f59e0b;
}

body.admin-body {
  background-color: var(--admin-bg);
  color: var(--admin-text);
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  margin: 0;
  padding: 0;
}

/* Login Screen Overlay */
.admin-login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top, #2d6a4f, #1b4332);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.login-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.login-card h2 {
  color: var(--admin-primary);
  margin-bottom: 8px;
  font-size: 24px;
}

.login-card p {
  color: var(--admin-text-muted);
  font-size: 13.5px;
  margin-bottom: 24px;
}

.pin-input {
  width: 100%;
  padding: 14px;
  font-size: 20px;
  text-align: center;
  letter-spacing: 4px;
  border: 2px solid var(--admin-border);
  border-radius: 10px;
  margin-bottom: 20px;
  font-family: inherit;
  font-weight: 700;
}

.pin-input:focus {
  outline: none;
  border-color: var(--admin-primary);
}

.btn-admin-login {
  width: 100%;
  background: var(--admin-primary);
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.btn-admin-login:hover {
  background: var(--admin-primary-dark);
}

/* Dashboard App Layout */
.admin-app {
  display: none;
  min-height: 100vh;
  display: flex;
}

/* Admin Sidebar */
.admin-sidebar {
  width: 260px;
  background: var(--admin-primary-dark);
  color: #fff;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 24px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.admin-brand h3 {
  color: #fff;
  font-size: 18px;
  margin: 0;
}

.admin-brand span {
  font-size: 11px;
  color: var(--admin-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.admin-nav-item {
  margin-bottom: 6px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-nav-link:hover, .admin-nav-link.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

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

.btn-logout {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #f87171;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: none;
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.15);
}

/* Admin Main Content */
.admin-main {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.admin-header h2 {
  font-size: 26px;
  color: var(--admin-primary);
  margin-bottom: 4px;
}

.admin-header p {
  color: var(--admin-text-muted);
  font-size: 14px;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* KPI Cards Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.kpi-card {
  background: #fff;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.kpi-icon.green { background: #dcfce7; color: #15803d; }
.kpi-icon.blue { background: #e0f2fe; color: #0369a1; }
.kpi-icon.yellow { background: #fef3c7; color: #b45309; }
.kpi-icon.purple { background: #f3e8ff; color: #7e22ce; }

.kpi-info span {
  font-size: 12.5px;
  color: var(--admin-text-muted);
  font-weight: 500;
}

.kpi-info h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--admin-text);
  margin-top: 2px;
}

/* Tab Sections */
.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active {
  display: block;
}

/* Content Boxes & Tables */
.admin-panel-box {
  background: #fff;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.panel-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--admin-border);
}

.panel-title-bar h3 {
  font-size: 18px;
  color: var(--admin-primary);
  margin: 0;
}

/* Tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.admin-table th {
  background: #f8fafc;
  color: var(--admin-text-muted);
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--admin-border);
}

.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--admin-border);
  color: var(--admin-text);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: #f8fafc;
}

/* Status Badges */
.badge-status {
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-block;
}

.badge-status.confirmed { background: #dcfce7; color: #166534; }
.badge-status.pending_sinpe { background: #fef3c7; color: #92400e; }
.badge-status.verifying_sinpe { background: #e0f2fe; color: #075985; }
.badge-status.cancelled { background: #fee2e2; color: #991b1b; }

/* Action Buttons inside Table */
.btn-action {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--admin-border);
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-action:hover {
  background: #f1f5f9;
}

.btn-action.approve {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
}

.btn-action.approve:hover {
  background: #059669;
}

/* Forms in Admin */
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.admin-form-group {
  margin-bottom: 18px;
}

.admin-form-group.full {
  grid-column: 1 / -1;
}

.admin-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--admin-text);
  margin-bottom: 6px;
}

.admin-input, .admin-textarea, .admin-select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}

.admin-textarea {
  resize: vertical;
  min-height: 90px;
}

.admin-input:focus, .admin-textarea:focus {
  outline: none;
  border-color: var(--admin-primary);
}

.admin-help-text {
  font-size: 12px;
  color: var(--admin-text-muted);
  margin-top: 4px;
}

.btn-save-settings {
  background: var(--admin-primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn-save-settings:hover {
  background: var(--admin-primary-dark);
}

/* Sync iCal Box */
.sync-ical-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
}

.ical-link-display {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.ical-link-display input {
  flex: 1;
  background: #fff;
  padding: 10px 14px;
  border: 1px solid var(--admin-border);
  border-radius: 6px;
  font-family: monospace;
  font-size: 13px;
}

/* Photo Gallery Admin Grid & Ordering UI */
.photos-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.photos-order-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.admin-mosaic-preview {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 115px 115px;
  gap: 10px;
  background: #f8fafc;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--admin-border);
}

.mosaic-preview-slot {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
}

.mosaic-preview-slot.slot-main {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.mosaic-preview-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mosaic-slot-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.mosaic-slot-badge.badge-main {
  background: var(--admin-primary);
}

.mosaic-slot-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 14px 8px 6px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.admin-photo-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--admin-border);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: grab;
}

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

.admin-photo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border-color: #94a3b8;
}

.admin-photo-card.featured {
  border-color: var(--admin-primary);
  box-shadow: 0 4px 16px rgba(21, 128, 61, 0.14);
}

.admin-photo-card.dragging {
  opacity: 0.45;
  transform: scale(0.97);
  border: 2px dashed var(--admin-primary);
}

.admin-photo-card.drag-over {
  border: 2px solid var(--admin-primary);
  box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.18);
  transform: scale(1.02);
}

.photo-card-top-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
  pointer-events: none;
}

.photo-pos-badge {
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.photo-pos-badge.pos-main {
  background: var(--admin-primary);
}

.photo-pos-badge.pos-mosaic {
  background: #0284c7;
}

.photo-drag-hint {
  background: rgba(255, 255, 255, 0.9);
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.admin-photo-card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.admin-photo-details {
  padding: 10px 12px 6px 12px;
  font-size: 12.5px;
}

.photo-order-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 12px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.photo-order-select {
  flex: 1;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 6px;
  border-radius: 5px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #1e293b;
  cursor: pointer;
}

.btn-move-arrow {
  width: 28px;
  height: 26px;
  border-radius: 5px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-move-arrow:hover:not(:disabled) {
  background: var(--admin-primary);
  color: #fff;
  border-color: var(--admin-primary);
}

.btn-move-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.admin-photo-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 10px 12px;
}

.btn-photo-action {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 5px;
  border: 1px solid var(--admin-border);
  background: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-photo-action:hover {
  background: #f1f5f9;
}

.btn-photo-action.delete {
  color: #ef4444;
  border-color: #fca5a5;
  margin-left: auto;
}

.btn-photo-action.delete:hover {
  background: #fef2f2;
}

/* Modal for viewing SINPE Voucher */
.voucher-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.voucher-modal.active {
  display: flex;
}

.voucher-modal-box {
  background: #fff;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  padding: 24px;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
}

.voucher-modal-box img {
  max-width: 100%;
  border-radius: 8px;
  margin: 16px 0;
}

/* ========================================================
   PAGE EDITOR CMS STYLES (MODO ANFITRIÓN)
   ======================================================== */

.editor-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 22px 28px;
  border-radius: 14px;
  border: 1px solid var(--admin-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  margin-bottom: 22px;
  gap: 20px;
  flex-wrap: wrap;
}

.editor-badge {
  display: inline-block;
  background: rgba(27, 67, 50, 0.1);
  color: var(--admin-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.editor-main-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--admin-text);
  margin: 0 0 4px 0;
}

.editor-subtext {
  font-size: 13px;
  color: var(--admin-text-muted);
  margin: 0;
}

.editor-main-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.view-site-btn {
  background: #f8fafc;
  color: var(--admin-text);
  border: 1px solid var(--admin-border);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.view-site-btn:hover {
  background: #edf2f7;
  border-color: #cbd5e1;
}

.btn-save-editor-all {
  background: var(--admin-primary);
  color: #fff;
  border: none;
  padding: 11px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.3);
  transition: all 0.2s;
}

.btn-save-editor-all:hover {
  background: var(--admin-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(27, 67, 50, 0.4);
}

/* Sub-Navigation Pills */
.editor-subnav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 22px;
  scrollbar-width: thin;
}

.editor-tab-btn {
  background: #ffffff;
  color: var(--admin-text-muted);
  border: 1px solid var(--admin-border);
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.editor-tab-btn:hover {
  background: #f1f5f9;
  color: var(--admin-text);
  border-color: #cbd5e1;
}

.editor-tab-btn.active {
  background: var(--admin-primary);
  color: #ffffff;
  border-color: var(--admin-primary);
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.25);
}

.editor-pane {
  display: none;
  animation: fadeInPane 0.25s ease forwards;
}

.editor-pane.active {
  display: block;
}

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

.subtab-hint {
  font-size: 12.5px;
  color: var(--admin-text-muted);
  font-weight: 500;
}

.field-hint {
  display: block;
  font-size: 11.5px;
  color: var(--admin-text-muted);
  margin-top: 4px;
}

.section-divider-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--admin-primary);
  border-bottom: 2px solid rgba(27, 67, 50, 0.15);
  padding-bottom: 6px;
  margin-bottom: 6px;
}

/* Hero Live Preview Box */
.hero-preview-box {
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)), url('/images/interior-casa.png') center center/cover no-repeat;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  color: #fff;
  border: 1px solid var(--admin-border);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-preview-badge {
  position: absolute;
  top: 12px;
  left: 14px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
}

.hero-preview-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #f5f5f1;
  margin-bottom: 6px;
}

.hero-preview-sub {
  font-size: 13px;
  color: #c8a261;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Rooms Editor Cards */
.rooms-editor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.room-admin-card {
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.room-admin-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.room-card-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #e2e8f0;
}

.room-card-body {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.room-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--admin-text);
  margin: 0 0 4px 0;
}

.room-card-bed {
  font-size: 13px;
  color: var(--admin-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.room-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  flex-grow: 1;
}

.room-chip {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.room-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid var(--admin-border);
  padding-top: 12px;
}

/* Amenities Editor Cards */
.amenities-editor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.amenity-admin-card {
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s;
}

.amenity-admin-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.amenity-admin-icon {
  width: 44px;
  height: 44px;
  background: rgba(27, 67, 50, 0.08);
  color: var(--admin-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.amenity-admin-info {
  flex-grow: 1;
  min-width: 0;
}

.amenity-admin-info h5 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 2px 0;
  color: var(--admin-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amenity-admin-info p {
  font-size: 12px;
  color: var(--admin-text-muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amenity-card-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* Reviews Editor Cards */
.reviews-editor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.review-admin-card {
  background: #ffffff;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.review-card-stars {
  color: #f59e0b;
  font-size: 15px;
  margin-bottom: 8px;
}

.review-card-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--admin-text);
  font-style: italic;
  margin-bottom: 14px;
  flex-grow: 1;
}

.review-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--admin-border);
  padding-top: 12px;
}

.review-card-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--admin-text);
}

.review-card-date {
  font-size: 11.5px;
  color: var(--admin-text-muted);
}

/* Icon Picker Grid */
.icon-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.icon-choice-btn {
  background: #f8fafc;
  border: 1px solid var(--admin-border);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  color: var(--admin-text);
}

.icon-choice-btn:hover {
  background: #edf2f7;
}

.icon-choice-btn.active {
  background: var(--admin-primary);
  color: #fff;
  border-color: var(--admin-primary);
  font-weight: 700;
}

/* Editor Modals */
.editor-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 11000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.editor-modal.active {
  display: flex;
  animation: fadeInModal 0.2s ease forwards;
}

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

.editor-modal-card {
  background: #ffffff;
  border-radius: 14px;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
}

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

.editor-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--admin-primary);
}

.modal-close-icon {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--admin-text-muted);
  cursor: pointer;
}

.editor-modal-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.editor-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--admin-border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #f8fafc;
}

/* Editor Toast Notification */
.editor-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #10b981;
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 12000;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.editor-toast.active {
  opacity: 1;
  transform: translateY(0);
}

.editor-toast.error {
  background: #ef4444;
}
