/* Variables CSS para colores consistentes con disponibilidad2 */
:root {
  /* Colores principales - Paleta azul consistente */
  --primary: #8ac6d1;
  --primary-dark: #6fa5d7;
  --primary-darker: #5a8fc7;
  --primary-light: #a4caed;
  --primary-lighter: #d2e8ff;
  --primary-lightest: #f0f7ff;
  
  /* Colores secundarios */
  --secondary: #3d85c6;
  --secondary-dark: #2c5aa0;
  --secondary-darker: #1e3d6f;
  --secondary-light: #6fa5d7;
  --secondary-lighter: #b3d4ea;
  
  /* Colores de estado */
  --success: #10b981;
  --success-dark: #047857;
  --success-darker: #064e3b;
  --success-light: #34d399;
  --success-lighter: #6ee7b7;
  --success-lightest: #d1fae5;
  --warning: #f59e0b;
  --warning-dark: #d97706;
  --warning-darker: #92400e;
  --warning-light: #fbbf24;
  --warning-lighter: #fcd34d;
  --warning-lightest: #fef3c7;
  --error: #ef4444;
  --error-dark: #dc2626;
  --error-darker: #991b1b;
  --error-light: #f87171;
  --error-lighter: #fca5a5;
  --error-lightest: #fecaca;
  
  /* Colores neutros */
  --background: #f8fafc;
  --background-secondary: #f1f5f9;
  --bg-light: #f1f5f9;
  --surface: #ffffff;
  --surface-hover: #f1f5f9;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --border-lighter: #f8fafc;
  
  /* Variables adicionales de compatibilidad */
  --primary-color: #8ac6d1;
  --primary-hover: #6fa5d7;
  --primary-rgb: 138, 198, 209;
  --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mobile-padding: 1rem;
  
  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Radios */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Espaciado */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  
  /* Transiciones */
  --transition-fast: 150ms ease-in-out;
  --transition: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
}

/* Estilos Generales */
body {
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
}

header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-bottom: 3px solid var(--primary-light);
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline;
  margin-right: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #f0f0f0;
}

main {
  padding: 20px;
}

#tabla_reservas {
  width: 100%;
  border-collapse: collapse;
  box-shadow: var(--shadow-md);
  background-color: var(--surface-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

#tabla_reservas th, #tabla_reservas td {
  border: none;
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

#tabla_reservas th {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: underline;
}

/* Estilos de filas alternadas */
#tabla_reservas tbody tr:nth-child(even) {
  background-color: var(--primary-lightest);
}

#tabla_reservas tbody tr:hover {
  background-color: var(--primary-lighter);
  transform: scale(1.01);
  transition: all 0.2s ease;
}

/* Columna Habitación con fondo destacado */
td[data-label='Hab'] {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: white !important;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Eliminado: ya no se muestra "Habitación Nº" */

.estado-reserva-confirmed {
  text-align: center;
  background: transparent;
  color: var(--success);
  padding: var(--space-1) var(--space-3);
  font-weight: 700;
  font-size: 0.875rem;
  text-shadow: 1px 1px 3px rgba(34, 197, 94, 0.4);
}

.estado-reserva-cancelled{
  background: transparent;
  padding: var(--space-1) var(--space-3);
  text-align: center;
  color: var(--error);
  font-weight: 700;
  font-size: 0.875rem;
  text-shadow: 1px 1px 3px rgba(239, 68, 68, 0.4);
}

.estado-reserva-modified{
  background: linear-gradient(135deg, var(--warning) 0%, var(--warning-light) 100%);
  border-radius: var(--radius);
  padding: var(--space-1) var(--space-3);
  text-align: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
}


.delpin {
  width:16px;
  height:16px;
  cursor:pointer;
}

.pines_y_botones{
	width:100%;
	}
.lista_pines{
	display: inline-block;
	vertical-align: middle;
	}
.botones_envio {
	padding-left:10%;
	vertical-align: middle;
	display: inline-block;
  }
.pin {
	border:1px solid;
	border-radius:4px;
	margin:1px;
}	


/* Estilo para el select */
.select-estilo {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #f0f7ff;
  border: 1px solid #a4caed;
  padding: 8px;
  font-size: 16px;
  border-radius: 5px;
  width: 200px;
  outline: none;
  cursor: pointer;
}

/* Estilo para las opciones del select */
.select-estilo option {
  background-color: #d2e8ff;
  padding: 8px;
  text-align: center;
}

/* Estilo para el borde al hacer hover */
.select-estilo:hover {
  border-color: #6fa5d7;
}

/* Estilo para el borde al estar enfocado */
.select-estilo:focus {
  border-color: #3d85c6;
}

.ancho{
  display:;
  }
.angosto{
   display:none;  
   }


/* Estilos Responsivos */
@media screen and (max-width: 768px) {
  nav ul li {
    margin-right: 10px;
  }
}
.guests_registered{
  border: 2px solid var(--success);
  background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
  color: white;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  }
.guests_missing{
  border: 2px solid var(--warning);
  background: linear-gradient(135deg, var(--warning) 0%, var(--warning-light) 100%);
  color: white;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  }  

@media screen and (max-width: 600px) {
  #tabla_reservas {
    border: 0;
    box-shadow: none;
  }
  #tabla_reservas thead {
    display: none;
  }
  #tabla_reservas tbody tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #ddd;
  }
  #tabla_reservas tbody td {
    display: block;
    text-align: center;
  }
  #tabla_reservas th, #tabla_reservas td {
    padding: 10px;
  }
  .ancho{
     display:none;
     }
  .angosto{
      display:block;
      }
 
  .botones_envio {
	padding-left:10%;
	vertical-align: middle;
	width:39px;
  }

}


.icono-accion-menu {
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin: 0 var(--space-1);
    transition: all 0.3s ease;
    border-radius: var(--radius);
    padding: var(--space-1);
    }

.icono-accion-menu:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    }


.tdpines {
  font-size:80%;
}
