/* Variables – Paleta premium dorada (brillante, llamativa, interactiva) */
:root {
  --primary: #0f4c5c;
  --primary-hover: #0d3d4a;
  --primary-light: #e8f0f3;
  --gold: #d4af37;
  --gold-light: #f2e4a8;
  --gold-dark: #b8960c;
  --gold-shine: #f7eeb9;
  --accent: #d4af37;
  --accent-hover: #c9a227;
  --accent-light: #fdf8e8;
  --bg: #faf6ef;
  --bg-card: #ffffff;
  --text: #1a1d21;
  --text-muted: #5c6369;
  --border: #ebe6dc;
  --shadow: 0 4px 24px rgba(180, 150, 50, 0.12);
  --shadow-hover: 0 8px 32px rgba(212, 175, 55, 0.25);
  --gold-glow: 0 0 20px rgba(212, 175, 55, 0.4);
  --gold-glow-strong: 0 0 28px rgba(212, 175, 55, 0.5);
  --radius: 12px;
  --radius-sm: 8px;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

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

@keyframes gold-shine {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}
@keyframes gold-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.35); }
  50% { box-shadow: 0 0 28px rgba(212, 175, 55, 0.55); }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: linear-gradient(180deg, #fdfbf5 0%, var(--bg) 20%, #f5f0e4 100%);
  min-height: 100vh;
  background-attachment: fixed;
  /* Seguridad: impedir selección de texto para proteger datos */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Impedir arrastrar y guardar imágenes/vídeo desde el contexto */
img,
video {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

/* Overlay negro cuando la pestaña pierde visibilidad (protección ante capturas) */
.security-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.security-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Pantallas */
.screen {
  display: none;
  min-height: 100vh;
}
.screen.active {
  display: block;
}

/* Login */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(145deg, var(--accent-light) 0%, #f5ecd8 40%, var(--bg) 100%);
}
.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 0 1px rgba(212, 175, 55, 0.15);
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold-dark)) 1;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 0.25rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.logo span {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 30%, var(--gold-shine) 50%, var(--gold) 70%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.tagline {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
}
.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin: 1rem 0 0;
}
.form-hint a { color: var(--gold-dark); text-decoration: none; transition: color 0.2s; }
.form-hint a:hover { color: var(--gold); }

/* Formularios */
.form .field + .field { margin-top: 1.25rem; }
.field label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--accent-light), 0 0 12px rgba(212, 175, 55, 0.2);
}
.field-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.4rem 0 0;
}
textarea { resize: vertical; min-height: 80px; }

/* Botones – premium dorado e interactivos */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(145deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: #1a1d21;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover {
  box-shadow: var(--gold-glow), 0 6px 20px rgba(212, 175, 55, 0.45), inset 0 1px 0 rgba(255,255,255,0.35);
  background: linear-gradient(145deg, var(--gold-shine) 0%, var(--gold-light) 50%, var(--gold) 100%);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover {
  background: var(--accent-light);
  color: var(--gold-dark);
}
.btn-danger {
  background: #c94a4a;
  color: #fff;
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
}
.btn-danger:hover { background: #b03d3d; transform: translateY(-1px); }

/* Header dashboard */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  box-shadow: var(--shadow), 0 0 0 1px rgba(212, 175, 55, 0.1);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold)) 1;
}
.logo.small { font-size: 1.35rem; margin: 0; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.user-name {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Main */
.main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem;
}
.panel {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow), 0 0 0 1px rgba(212, 175, 55, 0.08);
}
.panel h2 {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-dark);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--gold), transparent) 1;
}

/* Formulario propiedad */
.property-form .form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 600px) {
  .property-form .form-row {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  .form-row .field:last-child:nth-child(3) { grid-column: span 1; }
}
.form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

/* Fotos */
.photo-upload input[type="file"] {
  width: 100%;
  padding: 0.5rem;
  font-size: 0.9rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.photo-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.photo-preview img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.photo-preview .thumb-wrap {
  position: relative;
}
.photo-preview .remove-photo {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(145deg, var(--gold), var(--gold-dark));
  color: #1a1d21;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
  transition: background 0.2s, box-shadow 0.2s;
}
.photo-preview .remove-photo:hover { background: linear-gradient(145deg, var(--gold-light), var(--gold)); box-shadow: var(--gold-glow); }

/* Lista propiedades */
.properties-list {
  display: grid;
  gap: 1rem;
}
.property-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: box-shadow 0.2s;
}
.property-card:hover { box-shadow: var(--shadow-hover), 0 0 0 1px rgba(212, 175, 55, 0.15); }
@media (min-width: 600px) {
  .property-card {
    grid-template-columns: 120px 1fr auto;
    align-items: start;
  }
}
.property-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--border);
}
.property-card-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.property-card-info h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.property-card-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.25rem 0;
}
.property-card-price {
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}
.property-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}
@media (min-width: 600px) {
  .property-card-actions { align-self: center; }
}
.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
  display: none;
}
.empty-state.visible { display: block; }
.empty-state .empty-state-hint {
  display: block;
  margin-top: 0.75rem;
  font-weight: normal;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.modal.open {
  opacity: 1;
  visibility: visible;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  cursor: pointer;
}
.modal-content {
  position: relative;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(15, 76, 92, 0.15), 0 0 0 1px rgba(212, 175, 55, 0.15), var(--gold-glow);
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light)) 1;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.modal-close:hover { background: var(--accent-light); color: var(--gold-dark); }

/* Modal de mensajes (estilo acorde al sitio) */
.modal-content-mensaje {
  max-width: 420px;
  text-align: center;
}
.modal-mensaje-texto {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
}
.modal-mensaje-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}
.modal-mensaje-actions .btn { min-width: 120px; }

#modal-body h3 { margin-top: 0; }
#modal-body .detail-image {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
#modal-body .detail-row {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}
#modal-body .detail-label { color: var(--text-muted); }
#modal-body .detail-price {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ========== Sitio público ========== */
.site-header {
  background: var(--bg-card);
  box-shadow: var(--shadow), 0 0 0 1px rgba(212, 175, 55, 0.1);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold)) 1;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 480px) {
  .header-inner { padding: 0.75rem 1.5rem; }
}
.logo-link { text-decoration: none; color: inherit; flex-shrink: 0; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (min-width: 380px) {
  .header-nav { gap: 1rem; }
}
.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--gold-dark); }
.header-user-wrap .user-name {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.main-content { min-height: calc(100vh - 60px); width: 100%; overflow-x: hidden; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
}
.view-title {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
}

/* Vista listado: siempre visible cuando está activa (móvil y desktop) */
.view-listado { display: block; width: 100%; min-height: 200px; }
.view-listado .container { min-width: 0; }

/* Grid público */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 1rem;
  width: 100%;
  min-width: 0;
}
@media (min-width: 480px) {
  .properties-grid { gap: 1.5rem; }
}
.public-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(212, 175, 55, 0.06);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  border: 1px solid var(--border);
  min-width: 0;
  width: 100%;
}
.public-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover), var(--gold-glow), 0 0 0 1px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.35);
}
.public-card a { text-decoration: none; color: inherit; display: block; width: 100%; min-width: 0; }
.public-card-slider {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--border);
  width: 100%;
  overflow: hidden;
}
.public-card-slider img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: none;
}
.public-card-slider img.active { display: block; }
.public-card-slider .nav-dot {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.public-card-slider .nav-dot span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.2s;
}
.public-card-slider .nav-dot span { transition: background 0.2s, box-shadow 0.2s; }
.public-card-slider .nav-dot span:hover { background: rgba(255,255,255,0.9); }
.public-card-slider .nav-dot span.active {
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}
.public-card-body { padding: 1rem; }
.public-card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}
.public-card-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.25rem 0;
}
.public-card-price {
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

/* Vista detalle */
.view-detalle .container-detail { max-width: 900px; }
.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s, text-shadow 0.2s;
}
.back-link:hover { color: var(--gold); text-decoration: underline; }
.detail-gallery {
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
}
.gallery-main {
  position: relative;
  aspect-ratio: 16/10;
  max-height: 450px;
  background: #1a1d21;
}
.gallery-main img,
.gallery-main .gallery-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: var(--border);
}
.gallery-main .gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(245,235,200,0.9));
  color: var(--gold-dark);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 3;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.25);
}
.gallery-main .gallery-nav:hover {
  background: linear-gradient(145deg, var(--gold-shine), var(--gold-light));
  box-shadow: var(--gold-glow);
  transform: translateY(-50%) scale(1.08);
}
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 8px;
  overflow-x: auto;
  background: var(--bg);
}
.gallery-thumbs .thumb-item {
  flex: 0 0 70px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.8;
}
.gallery-thumbs .thumb-item.active {
  border-color: var(--gold);
  opacity: 1;
  box-shadow: 0 0 0 2px var(--gold-light);
}
.gallery-thumbs .thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.detail-titulo { margin: 0 0 0.5rem; font-size: 1.5rem; color: var(--text); }
.detail-precio {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-shine));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.detail-datos {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.detail-datos dt { font-weight: 600; color: var(--text-muted); font-size: 0.85rem; }
.detail-datos dd { margin: 0; }
.detail-map-title { font-weight: 600; margin: 0 0 0.5rem; color: var(--gold-dark); }
.detail-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.detail-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}
.btn-map-link { margin-top: 0.5rem; }
.detail-contact { margin-top: 1.5rem; }

/* Login view (dentro de main) */
.view-login .login-container,
.view-registro .login-container {
  min-height: 60vh;
  padding: 2rem 1.5rem;
}
.form .form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 0;
}
@media (min-width: 480px) {
  .form .form-row { grid-template-columns: 1fr 1fr; }
}
.form .form-row + .field { margin-top: 1.25rem; }
.form .form-row + .form-row { margin-top: 1rem; }

/* Dashboard / Mi cuenta */
.dashboard-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.tab-btn:hover { background: var(--accent-light); color: var(--gold-dark); }
.tab-btn.active {
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  color: #1a1d21;
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255,255,255,0.3);
}
.tab-btn.active:hover { box-shadow: var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.35); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.form-notice {
  background: linear-gradient(135deg, var(--accent-light) 0%, #fdf6e3 100%);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text);
  border: 1px solid rgba(212, 175, 55, 0.25);
}
.field-full { grid-column: 1 / -1; }
.form-row-check .field label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.form-row-check input[type="checkbox"] { width: auto; }
.video-preview-wrap { margin-top: 0.75rem; }
.video-preview-wrap video { max-width: 100%; max-height: 200px; border-radius: var(--radius-sm); }
.btn-sm { font-size: 0.85rem; padding: 0.4rem 0.8rem; }

/* Inbox */
.inbox-list { display: flex; flex-direction: column; gap: 1rem; }
.inbox-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.inbox-item.unread { border-left: 4px solid var(--gold); }
.inbox-item h4 { margin: 0 0 0.5rem; font-size: 1rem; color: var(--gold-dark); }
.inbox-item .inbox-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.inbox-item .inbox-message { font-size: 0.95rem; white-space: pre-wrap; }

/* Modal ancho */
.modal-content-wide { max-width: 700px; }
