/* ============================================================ */
/* THEME: GuestRecs Unified Stylesheet                         */
/* VERSIÓN: 2.0.0 - LIGHT MODE ONLY                            */
/* PROPÓSITO: Sistema completo de estilos para gestión         */
/*            de propiedades, check-in legal y host tools      */
/* COLORES: Versión original - SIN DARK MODE                   */
/* ============================================================ */

/* ============ VARIABLES GLOBALES ============ */
:root {
  /* Colores primarios */
  --primary: #4A6FA5;
  --primary-dark: #3a5a8c;
  --secondary: #3AB795;
  --secondary-dark: #2e9b7d;
  --accent: #FF7E5D;
  --accent-dark: #e66a4a;
  
  /* Estados */
  --success: #2e7d32;
  --success-light: #d1fae5;
  --warning: #ed6c02;
  --warning-light: #fef3c7;
  --error: #d32f2f;
  --error-light: #fee2e2;
  
  /* Premium */
  --premium: #FFD700;
  --premium-dark: #D4AF37;
  
  /* Neutros - VERSIÓN ORIGINAL */
  --light: #F7F9FA;
  --dark: #333333;
  --gray: #666666;
  --light-gray: #DDDDDD;
  --border: #e0e0e0;
  --surface: #ffffff;
  --background: #f8f9fa;
  
  /* Admin */
  --admin: #8a2be2;
  --admin-light: #f9f2ff;
  
  /* Tipografía */
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
  /* Sombras - Versión suave */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 5px 15px rgba(0,0,0,0.05);
  --shadow-lg: 0 8px 20px rgba(0,0,0,0.1);
  --shadow-hover: 0 6px 15px rgba(0,0,0,0.12);
  
  /* Bordes */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-round: 30px;
  --radius-pill: 40px;
  
  /* Transiciones */
  --transition: all 0.3s ease;
  
  /* Z-index */
  --z-modal: 1000;
  --z-overlay: 1098;
  --z-menu: 1099;
  --z-toast: 1100;
  --z-premium: 2000;
}

/* ============ RESET Y BASE ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* ============ UTILIDADES Y ANIMACIONES ============ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 0; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes skeleton-loading {
  0% { background-color: hsl(200, 20%, 70%); }
  100% { background-color: hsl(200, 20%, 95%); }
}

.fadeIn { animation: fadeIn 0.4s ease; }
.fadeInUp { animation: fadeInUp 0.5s ease; }
.slideIn { animation: slideIn 0.5s ease; }
.shake { animation: shake 0.3s ease; }

/* ============ LAYOUT PRINCIPAL ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ============ COMPONENTES DE CABECERA ============ */
.header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 15px 10px;
  border-radius: var(--radius-lg);
  margin-bottom: 15px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.sticky-header.hide {
  transform: translateY(-100%);
}

.sticky-header .header-content {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.property-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: white;
}

.property-subtitle {
  font-size: 1rem;
  margin-bottom: 15px;
  opacity: 0.9;
  color: white;
}

.property-location {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0.9;
  color: white;
}

.welcome-message {
  font-size: 1rem;
  margin-bottom: 8px;
  opacity: 0.9;
  font-weight: 600;
}

/* ============ INDICADORES Y BADGES ============ */
.premium-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--premium), var(--premium-dark));
  color: #000;
  padding: 5px 10px;
  border-radius: var(--radius-round);
  font-size: 0.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}

.host-indicator, 
.admin-indicator, 
.premium-indicator {
  padding: 8px 15px;
  border-radius: var(--radius-round);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.host-indicator {
  background: var(--secondary);
  color: white;
}

.admin-indicator {
  background: var(--accent);
  color: white;
}

.premium-indicator {
  background: linear-gradient(135deg, var(--premium), var(--premium-dark));
  color: #000;
}

.badge-active, .integration-badge {
  background: var(--success);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-round);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.widget-badge {
  padding: 4px 12px;
  border-radius: var(--radius-round);
  font-size: 0.75rem;
  font-weight: 600;
}

.widget-badge.active {
  background: var(--success);
  color: white;
}

/* ============ SISTEMA DE PESTAÑAS ============ */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--light-gray);
  margin-bottom: 25px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  background-color: var(--light);
  z-index: 10;
  padding-top: 10px;
}

.sticky-header .tabs {
  background-color: white;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  padding: 15px 25px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray);
  transition: var(--transition);
}

.tab:hover {
  color: var(--primary);
}

.tab.active {
  border-bottom-color: var(--primary);
  color: var(--primary);
}

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

.tab-content {
  display: none;
  padding: 20px 0;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

/* Admin tabs */
.admin-tabs {
  display: flex;
  border-bottom: 2px solid var(--light-gray);
  margin-bottom: 25px;
  overflow-x: auto;
}

.admin-tab {
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray);
  transition: var(--transition);
}

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

.admin-tab.active {
  border-bottom-color: var(--admin);
  color: var(--admin);
}

.admin-tab-content {
  display: none;
  padding: 20px 0;
}

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

/* ============ SISTEMA DE TARJETAS ============ */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

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

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--dark);
}

.card-subtitle {
  font-size: 0.95rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-content {
  color: var(--dark);
  margin-bottom: 15px;
  line-height: 1.7;
}

/* Tarjetas de integración */
.integration-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.integration-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(74, 111, 165, 0.12);
  transform: translateY(-4px);
}

.integration-card.active {
  border: 2px solid var(--success);
  background: linear-gradient(to bottom, white, #f0fdf9);
}

.integration-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.integration-card-header h4 {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.integration-description {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.integration-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.integration-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.integration-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  background: #e6f0ff;
  padding: 4px 10px;
  border-radius: var(--radius-round);
}

/* Tarjetas de servicio */
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 15px;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--dark);
}

.service-category {
  font-size: 0.9rem;
  color: var(--gray);
}

.service-location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--gray);
}

.service-description {
  margin-bottom: 15px;
  line-height: 1.6;
}

.service-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--light-gray);
}

/* Tarjetas de recomendación */
.recommendation-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  position: relative;
}

.recommendation-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.recommendation-author {
  font-weight: 600;
  color: var(--primary);
}

.recommendation-date {
  font-size: 0.85rem;
  color: var(--gray);
  margin-left: auto;
}

.recommendation-content {
  margin-bottom: 15px;
  line-height: 1.6;
}

.recommendation-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--light-gray);
}

/* Tarjetas de plantillas */
.template-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.template-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.template-icon {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 10px;
}

.template-card h5 {
  margin: 10px 0 5px 0;
  color: var(--dark);
}

.template-card p {
  color: var(--gray);
  font-size: 12px;
  margin: 0;
}

/* Tarjetas de negociación */
.negotiation-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

/* Tarjetas de calculadora */
.calculator-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-sm);
}

/* Tarjetas de cumplimiento */
.compliance-stat-card {
  background: var(--background);
  padding: 20px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.compliance-stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.compliance-stat-card .stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ AVATARES ============ */
.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 15px;
}

.butler-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

/* ============ SISTEMA DE FORMULARIOS ============ */
.form-container {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.form-title {
  font-size: 1.6rem;
  margin-bottom: 25px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

.form-group.half {
  width: calc(50% - 10px);
}

.form-group.full {
  width: 100%;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-input, 
.form-textarea, 
.form-select {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus, 
.form-textarea:focus, 
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.2);
}

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

.form-hint {
  display: block;
  color: var(--gray);
  font-size: 0.8rem;
  margin-top: 4px;
}

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.checkbox-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--dark);
}

.checkbox-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.checkbox-text a:hover {
  text-decoration: underline;
}

/* Tooltips */
.tooltip {
  position: relative;
  display: inline-flex;
  cursor: help;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 250px;
  background-color: #1e293b;
  color: white;
  text-align: center;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  position: absolute;
  z-index: 1000;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.85rem;
  font-weight: normal;
  box-shadow: var(--shadow-lg);
}

.tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #1e293b transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ============ SISTEMA DE BOTONES ============ */
.btn {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-large {
  padding: 16px 35px;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 111, 165, 0.3);
}

.btn-secondary {
  background: #1877F2;
  color: white;
}

.btn-secondary:hover {
  background: #166fe5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.btn-accent {
  background: var(--accent);
  color: white;
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 126, 93, 0.3);
}

.btn-danger {
  background: var(--error);
  color: white;
}

.btn-danger:hover {
  background: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.btn-premium {
  background: linear-gradient(135deg, var(--premium), var(--premium-dark));
  color: #000;
}

.btn-premium:hover {
  background: linear-gradient(135deg, var(--premium-dark), var(--premium));
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.btn:disabled {
  background-color: var(--light-gray);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}

.btn.processing {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Botones de host */
.host-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 8px;
  z-index: 10;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.host-btn {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 40px;
  min-height: 40px;
  justify-content: center;
}

.host-btn.edit-btn {
  background: var(--secondary);
  color: white;
}

.host-btn.edit-btn:hover {
  background: var(--secondary-dark);
  transform: scale(1.05);
}

.host-btn.delete-btn {
  background: var(--error);
  color: white;
}

.host-btn.delete-btn:hover {
  background: #b71c1c;
  transform: scale(1.05);
}

.recommendation-card:hover .host-actions {
  opacity: 1;
}

/* Botones de acción de servicios */
.service-action-btn {
  padding: 8px 15px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.service-action-btn:hover {
  background-color: var(--primary-dark);
}

/* Botones de categoría */
.category-btn {
  padding: 8px 16px;
  background-color: #f0f0f0;
  border: none;
  border-radius: var(--radius-round);
  cursor: pointer;
  transition: var(--transition);
}

.category-btn.active {
  background-color: var(--primary);
  color: white;
}

/* Botones de paginación */
.pagination-btn {
  padding: 8px 16px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

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

/* Botones de voto */
.vote-btn {
  margin-left: 10px;
  padding: 5px 10px;
  background-color: var(--secondary);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.vote-btn:disabled {
  background-color: var(--light-gray);
  cursor: not-allowed;
}

/* Botones de upgrade */
.upgrade-btn {
  margin-top: 15px;
  background: linear-gradient(135deg, var(--premium), var(--premium-dark));
  color: #000;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-round);
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.upgrade-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Botones de cierre modal */
.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
}

/* ============ ACCIONES DE FORMULARIO ============ */
.form-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

/* ============ SISTEMA DE CHECK-IN LEGAL ============ */
.legal-checkin-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.legal-checkin-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  animation: slideIn 0.5s ease;
}

.country-selector-wrapper {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 24px;
  border-radius: var(--radius-xl);
  color: white;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 8px 20px rgba(74, 111, 165, 0.2);
}

.country-selector-wrapper h2 {
  margin: 0;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.country-selector-wrapper .form-select {
  background: white;
  color: var(--dark);
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  min-width: 250px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.country-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
}

.legal-header h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.legal-subheader {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Firma digital */
.signature-pad {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: #fafafa;
  margin-top: 10px;
}

.signature-pad canvas {
  display: block;
  width: 100%;
  height: 200px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: white;
  cursor: crosshair;
  touch-action: none;
}

.signature-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
}

.signature-controls .btn {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Consentimiento */
.consent-group {
  background: #f8fafc;
  padding: 20px;
  border-radius: var(--radius-lg);
  margin: 24px 0;
}

/* Disclaimer legal */
.legal-disclaimer {
  margin-top: 32px;
  padding: 20px;
  background: #fff7ed;
  border-left: 6px solid #f59e0b;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  color: #7b4a1e;
  display: flex;
  align-items: center;
  gap: 15px;
}

.legal-disclaimer i {
  font-size: 2rem;
  color: #f59e0b;
}

.legal-notice {
  background-color: #fff8e1;
  border-left: 4px solid var(--warning);
  padding: 15px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: #5c3b00;
  line-height: 1.4;
}

/* ============ HISTORIAL LEGAL ============ */
.legal-history-container {
  margin-top: 40px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.legal-history-container h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--dark);
  font-size: 1.25rem;
}

.legal-history-list {
  max-height: 500px;
  overflow-y: auto;
}

.legal-record {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 15px;
  transition: var(--transition);
  background: white;
}

.legal-record:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateX(4px);
}

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

.legal-record-guest {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.1rem;
}

.legal-record-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-round);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-record-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--gray);
  font-size: 0.9rem;
}

.legal-record-details i {
  margin-right: 6px;
  color: var(--primary);
}

/* Estados de legal record */
.status-submitted, .status-completed, .status-pending, .status-failed {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-round);
  font-size: 0.8rem;
  font-weight: 600;
}

.status-pending {
  background: var(--warning-light);
  color: #92400e;
  border: 1px solid #fcd34d;
}

.status-submitted {
  background: var(--success-light);
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.status-completed {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.status-failed {
  background: var(--error-light);
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ============ SECCIÓN DE INTEGRACIONES ============ */
.integrations-section {
  margin: 32px 0;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.integration-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.integration-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.integration-option:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(74, 111, 165, 0.1);
  transform: translateY(-2px);
}

.integration-option .badge {
  background: var(--primary);
  color: white;
  padding: 4px 8px;
  border-radius: var(--radius-round);
  font-size: 0.8rem;
}

.integration-stats {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
  padding: 10px;
  background: var(--background);
  border-radius: var(--radius-md);
}

/* Widgets de integración */
.integration-widget {
  background: white;
  border-radius: var(--radius-xl);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.widget-header h4 {
  flex: 1;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.widget-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--background);
  border-radius: var(--radius-lg);
}

.widget-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ============ SISTEMA DE CALIFICACIONES ============ */
.rating-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-text {
  font-size: 0.9rem;
  color: var(--gray);
}

.interactive-stars {
  display: flex;
  margin: 10px 0;
}

.interactive-star {
  color: var(--light-gray);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
  margin-right: 3px;
}

.interactive-star:hover,
.interactive-star.filled {
  color: #FFD700;
}

.feedback-star {
  color: #FFD700;
}

.feedback-rating {
  display: inline-flex;
  margin-top: 5px;
}

.service-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============ SISTEMA DE MODALES ============ */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

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

.modal-title {
  font-size: 1.5rem;
  color: var(--dark);
}

.butler-modal {
  display: none;
  position: fixed;
  z-index: calc(var(--z-modal) + 1);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
}

.butler-content {
  background-color: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-lg);
}

/* ============ SISTEMA DE OVERLAYS ============ */
.premium-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: var(--z-premium);
  border-radius: 0;
}

.premium-lock {
  font-size: 2rem;
  color: var(--premium-dark);
  margin-bottom: 10px;
}

.premium-text {
  font-weight: bold;
  color: var(--premium-dark);
  text-align: center;
  padding: 0 20px;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-text {
  margin-top: 15px;
  color: var(--primary);
  font-weight: 600;
}

/* ============ TOAST NOTIFICATIONS ============ */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--success);
  color: white;
  padding: 15px 30px;
  border-radius: var(--radius-round);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.toast.show {
  opacity: 1;
}

.toast.error {
  background-color: var(--error);
}

.toast.warning {
  background-color: var(--warning);
}

.toast.info {
  background-color: var(--primary);
}

.offline-message {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--warning);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-round);
  z-index: var(--z-toast);
  display: none;
}

/* ============ ESTADOS DE CARGA ============ */
.skeleton {
  background: #f0f0f0;
  border-radius: var(--radius-sm);
  animation: skeleton-loading 1s linear infinite alternate;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 5px solid var(--light-gray);
  border-top: 5px solid var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-pulse {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.5s infinite;
}

.content-placeholder {
  min-height: 200px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  padding: 20px;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ SISTEMA DE MENÚ MÓVIL ============ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: white;
  cursor: pointer;
  padding: 8px;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: var(--z-toast);
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: var(--z-overlay);
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: white;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  z-index: var(--z-menu);
  transition: left 0.3s ease;
  overflow-y: auto;
  padding: 15px 0;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px 15px;
  border-bottom: 1px solid var(--light-gray);
  margin-bottom: 10px;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--dark);
  min-height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-tab {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  border-bottom: 1px solid var(--light-gray);
  transition: background-color 0.3s;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.mobile-tab:hover {
  background-color: #f5f5f5;
  text-decoration: none;
  color: var(--dark);
}

.mobile-tab.active {
  color: var(--primary);
  border-left: 4px solid var(--primary);
  background-color: rgba(74, 111, 165, 0.05);
}

.mobile-tab i {
  margin-right: 10px;
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}

/* ============ SECCIONES DE CONTENIDO ============ */
.section-title {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.5s ease;
}

.guide-item {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  border-left: 4px solid var(--secondary);
  transition: var(--transition);
}

.guide-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.guide-item h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-item p {
  color: var(--dark);
  line-height: 1.7;
}

.property-info-container {
  background: white;
  border-radius: var(--radius-lg);
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
}

.property-info-section {
  margin-bottom: 20px;
}

.property-info-section h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.property-info-section p {
  color: var(--dark);
  line-height: 1.7;
}

/* ============ GRIDS Y LAYOUTS ============ */
.public-guide-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.property-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.negotiation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.compliance-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.links-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* ============ FILTROS Y SELECTORES ============ */
.services-filter {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.category-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

/* ============ REDES SOCIALES ============ */
.social-links-container {
  background: white;
  border-radius: var(--radius-lg);
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
}

.social-link-item {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
  color: var(--dark);
}

.social-link-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--dark);
}

.social-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.2rem;
  color: white;
}

.social-link-text {
  font-weight: 600;
}

.social-link-description {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 3px;
}

.social-share {
  display: flex;
  gap: 12px;
}

.social-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  color: var(--dark);
  transition: var(--transition);
  text-decoration: none;
}

.social-share a:hover {
  transform: translateY(-3px);
  background: var(--primary);
  color: white;
}

/* Colores específicos para cada plataforma */
.instagram-bg { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
.airbnb-bg { background: #FF5A5F; }
.booking-bg { background: #003580; }
.tiktok-bg { background: #000000; }
.google-bg { background: #4285F4; }
.telegram-bg { background: #0088CC; }
.facebook-bg { background: #1877F2; }
.whatsapp-bg { background: #25D366; }
.twitter-bg { background: #1DA1F2; }
.linkedin-bg { background: #0077B5; }
.pinterest-bg { background: #E60023; }
.youtube-bg { background: #FF0000; }
.vrbo-bg { background: #00A0DC; }
.expedia-bg { background: #1B75BB; }
.tripadvisor-bg { background: #34E0A1; }
.homeaway-bg { background: #2A7BDE; }

.fa-tripadvisor {
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 400;
}

/* ============ ANFITRIÓN PRO ============ */
.host-pro-dashboard {
  /* Contenedor principal */
}

.provider-negotiation-tools {
  margin-top: 30px;
}

.affiliate-program {
  margin-top: 30px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-sm);
}

.affiliate-stats {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.affiliate-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stat-card i {
  font-size: 1.5rem;
  color: var(--primary);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: bold;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ============ HISTORIAL Y PANELES ============ */
.history-panel {
  max-height: 400px;
  overflow-y: auto;
  padding: 10px;
  background: #fdfdfd;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
}

.guest-history-container {
  max-height: 400px;
  overflow-y: auto;
  padding: 10px;
  background: #f8f9fa;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  margin-top: 20px;
}

.feedback-history-item {
  padding: 15px;
  background: #f8f9fa;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  border-left: 3px solid var(--secondary);
}

/* ============ ADMINISTRACIÓN ============ */
.admin-section {
  background: var(--admin-light);
  border: 2px solid var(--admin);
  border-radius: var(--radius-lg);
  padding: 25px;
  margin-top: 40px;
}

.property-list {
  margin-top: 20px;
}

.property-item {
  background: white;
  border-radius: var(--radius-md);
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.property-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

/* ============ GOOGLE FORMS ============ */
.google-form-embed {
  margin-top: 24px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.google-form-embed iframe {
  display: block;
}

/* ============ COMPONENTES DE PÁGINA ============ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

/* ============ ACORDEÓN ============ */
.accordion {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--light-gray);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  background-color: #f8f9fa;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--dark);
  transition: background-color 0.3s;
}

.accordion-header:hover {
  background-color: #e9ecef;
}

.accordion-header i {
  transition: transform 0.3s ease;
}

.accordion-body {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content {
  padding: 20px;
  line-height: 1.7;
}

.accordion-item.active .accordion-header {
  background-color: #e3f2fd;
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-item.active .accordion-body {
  max-height: 500px;
}

/* ============ CALCULADORA ============ */
.calculator-result {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: white;
  border-radius: var(--radius-lg);
  padding: 25px;
  text-align: center;
  margin-top: 20px;
}

.result-value {
  font-size: 2rem;
  font-weight: bold;
  margin: 10px 0;
}

.result-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* ============ ANÁLISIS ============ */
.analysis-chart {
  width: 100%;
  height: 300px;
  background: #f8f9fa;
  border-radius: var(--radius-md);
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-style: italic;
}

/* ============ QR ============ */
.qr-code-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}

/* ============ LOCALBIRD ============ */
.localbird-section {
  background: linear-gradient(135deg, #0a1e3c 0%, #1e3a5f 100%);
  color: white;
  margin-top: 40px;
}

.localbird-section .card-title {
  color: white;
}

.localbird-content {
  padding: 20px;
  text-align: center;
}

.localbird-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}

.localbird-features .feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
}

.localbird-features .feature i {
  color: #f59e0b;
}

/* ============ CONTRASEÑA ============ */
.password-display-container {
  padding: 10px;
}

.password-header {
  text-align: center;
  margin-bottom: 20px;
}

.password-header i {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 10px;
}

.password-input-group {
  display: flex;
  gap: 10px;
}

.password-warning {
  background: #fff3e0;
  padding: 10px;
  border-radius: 6px;
  margin: 15px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.password-warning i {
  color: #ff9800;
  margin-top: 2px;
}

/* ============ VOTOS Y UBICACIÓN ============ */
.vote-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.vote-summary {
  font-size: 0.9rem;
  color: var(--gray);
}

.location-share {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.location-editor {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
}

.location-map {
  margin-top: 15px;
  height: 200px;
  background-color: #f0f0f0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
}

/* ============ CATEGORÍAS ============ */
.category-tag {
  display: inline-block;
  background: rgba(74, 111, 165, 0.1);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: var(--radius-round);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 10px;
}

.feature-tag {
  background: var(--background);
  padding: 4px 10px;
  border-radius: var(--radius-round);
  font-size: 0.75rem;
  color: var(--dark);
  border: 1px solid var(--border);
}

/* ============ FOOTER ============ */
footer {
  margin-top: 50px;
  padding: 20px;
  text-align: center;
  background: #f8f9fa;
  border-top: 1px solid #ddd;
}

footer .legal {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 10px;
}

/* ============ SCROLL PERSONALIZADO ============ */
.legal-history-list::-webkit-scrollbar,
.history-panel::-webkit-scrollbar,
.guest-history-container::-webkit-scrollbar {
  width: 8px;
}

.legal-history-list::-webkit-scrollbar-track,
.history-panel::-webkit-scrollbar-track,
.guest-history-container::-webkit-scrollbar-track {
  background: var(--background);
  border-radius: 10px;
}

.legal-history-list::-webkit-scrollbar-thumb,
.history-panel::-webkit-scrollbar-thumb,
.guest-history-container::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

.legal-history-list::-webkit-scrollbar-thumb:hover,
.history-panel::-webkit-scrollbar-thumb:hover,
.guest-history-container::-webkit-scrollbar-thumb:hover {
  background: var(--gray);
}

/* ============ MEDIA QUERIES ============ */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }
  
  .tabs {
    display: none !important;
  }
  
  .sticky-header .tabs {
    display: none !important;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .property-name {
    font-size: 1.8rem;
  }
  
  .property-subtitle {
    font-size: 0.9rem;
  }
  
  .property-location {
    font-size: 0.8rem;
  }
  
  .cards-container, 
  .public-guide-items, 
  .services-container, 
  .calculator-grid, 
  .negotiation-cards, 
  .links-form-grid, 
  .social-links-grid,
  .integrations-grid {
    grid-template-columns: 1fr;
  }
  
  .tab {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  
  .guide-item {
    padding: 15px;
  }
  
  .admin-tab {
    padding: 10px 15px;
    font-size: 0.8rem;
  }
  
  .property-actions {
    flex-direction: column;
  }
  
  .modal-content {
    margin: 20px;
    padding: 20px;
  }
  
  .host-actions {
    position: relative;
    top: 0;
    right: 0;
    justify-content: flex-end;
    margin-bottom: 10px;
  }
  
  .category-selector {
    justify-content: center;
  }
  
  .category-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  .vote-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .property-features {
    grid-template-columns: 1fr;
  }
  
  .filter-grid {
    grid-template-columns: 1fr;
  }
  
  .service-contact {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  
  .service-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .form-container, 
  .guide-content, 
  .property-info-container,
  .legal-checkin-form {
    padding: 20px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .form-title {
    font-size: 1.3rem;
  }
  
  .affiliate-stats, 
  .affiliate-actions {
    flex-direction: column;
  }
  
  .form-group.half {
    width: 100%;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .country-selector-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    text-align: center;
  }
  
  .country-selector-wrapper .form-select {
    width: 100%;
  }
  
  .legal-disclaimer {
    flex-direction: column;
    text-align: center;
  }
  
  .localbird-features {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .property-name {
    font-size: 1.6rem;
  }
  
  .welcome-message {
    font-size: 0.9rem;
  }
  
  .btn-large {
    padding: 14px 25px;
    font-size: 1rem;
  }
  
  .card {
    padding: 20px;
  }
}

/* ============ IMPRESIÓN ============ */
@media print {
  .legal-checkin-form,
  .legal-record,
  .card,
  .integration-card {
    border: 1px solid #000;
    box-shadow: none;
  }
  
  .btn,
  .widget-actions,
  .signature-controls,
  .host-actions,
  .mobile-menu-toggle,
  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
  
  .legal-disclaimer {
    border: 1px solid #000;
    background: none;
  }
  
  .tabs,
  .sticky-header {
    position: static;
  }
}