@charset "UTF-8";

/* ==============================
   🌈 Variables y estilos base
   ============================== */
:root {
    --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-primary-light: #818cf8;
  --color--secondary: #ec4899;
  --accent: #14b8a6;
  --color-back:  #1e293b;
  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  --color-secondary: #6c757d;
  --color-bg: #f8f9fa;
  --color-light: #ffffff;
  --color-border: #e0e0e0;
  --radius: 8px;
  --font-main: "Inter", "Roboto", "Segoe UI", sans-serif;
}

body { 
  background: var(--color-bg);
  color: #212529;
  font-family: var(--font-main);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  transform: scale(1.2);
}

/* ==============================
   🧱 Layout general
   ============================== */
#container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 95vh;
}

#sbs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

#content {
  display: flex;
  flex: 1;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* ==============================
   📋 Menú lateral
   ============================== */
.sbs-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 220px;
  background: var(--color-light);
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.sbs-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #333;
  font-weight: 500;
  border-left: 4px solid transparent;
  transition: all 0.2s ease;
}
.sbs-menu li a:hover,
.sbs-menu li a.sbs-menu-focus {
  background: var(--color-primary);
  color: #fff;
  border-left-color:  var(--color-primary-light);
}

/* ==============================
   🧾 Contenido principal
   ============================== */
.sbs-page {
  flex: 1;
  background: var(--color-light);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  min-width: 0;
}

h3 {
  margin-top: 0;
  color: var(--color-primary);
  font-weight: 600;
}

/* ==============================
   🧠 Formularios
   ============================== */
.sbs-form label.title {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.sbs-form input.text,
.sbs-form select.select,
.sbs-form textarea.textarea {
  width: 80%;
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95em;
  transition: border-color 0.2s;
}
.sbs-form input:focus,
.sbs-form select:focus,
.sbs-form textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

.button {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
  font-weight: 500;
}
.button:hover {
  background: var(--color-primary-dark);
}

/* ============================================================
   ESTILO DE TABLAS MODERNAS (tipo Bootstrap 5)
   ============================================================ */

   .sbs-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background-color: #fff;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  }
  
  /* --- Tabla base --- */
  .sbs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    color: #212529;
    background-color: transparent;
    min-width: 600px; /* para mantener estructura en pantallas grandes */
  }
  
  /* --- Cabecera --- */
  .sbs-table th {
    background-color:   var(--color-back) !important;
    color: white !important;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    padding: 0.75rem 0.7rem;
    text-align: left;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
  }
  
  /* --- Celdas --- */
  .sbs-table td {
    border-top: 1px solid #dee2e6;
    padding: 0.75rem 0.7rem;
    vertical-align: top;
    color: #212529;
    line-height: 1.4;
    word-break: break-word;        /* rompe cadenas largas sin espacios */
    overflow-wrap: anywhere;       /* permite saltos en textos extensos */
    white-space: normal;           /* permite múltiples líneas */
    max-width: 300px;              /* ancho máximo visual de cada celda */
  }
  
  /* --- Evita truncar palabras cortas: el ancho máximo se ignora si hay espacio --- */
  @supports (min(max-content, 100%)) {
    .sbs-table td {
      max-width: min(300px, 100%);
    }
  }
  
  /* --- Zebra y hover --- */
  .sbs-table tbody tr:nth-child(odd) {
    background-color: #fafafa;
  }
  .sbs-table tbody tr:hover {
    background-color: #f1f3f5;
    transition: background-color 0.15s ease;
  }
  
  /* --- Bordes redondeados --- */
  .sbs-table tr:first-child th:first-child {
    border-top-left-radius: 0.5rem;
  }
  .sbs-table tr:first-child th:last-child {
    border-top-right-radius: 0.5rem;
  }
  
  /* --- Scroll horizontal visible en móviles --- */
  .sbs-table-wrapper::-webkit-scrollbar {
    height: 8px;
  }
  .sbs-table-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.25);
    border-radius: 4px;
  }
  .sbs-table-wrapper::-webkit-scrollbar-track {
    background: transparent;
  }
  
  /* --- Responsive (menor padding y tamaño en móvil) --- */
  @media (max-width: 768px) {
    .sbs-table {
      font-size: 0.9rem;
      min-width: 480px;
    }
    .sbs-table th, .sbs-table td {
      padding: 0.5rem 0.6rem;
      max-width: 220px;
    }
  }
  

/* ==============================
   📑 Paginador
   ============================== */
.sbs-paginator {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.sbs-paginator li a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius);
  background: #f1f1f1;
  color: #333;
  border: 1px solid #ddd;
  transition: all 0.2s;
}
.sbs-paginator li a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.sbs-paginator li a.focus {
  background: var(--color-primary);
  color: #fff;
}

/* ==============================
   🔖 Avisos / alertas
   ============================== */
.notice-box {
  background: #e9f5ff;
  border-left: 4px solid var(--color-primary);
  padding: 12px 16px;
  border-radius: var(--radius);
  color: #0c5460;
  margin-bottom: 1rem;
  
}
#content {
  float: none;
  width: 100%;
  display: flex;
  flex-direction: column;
}

#content .notice-box {
  width: 100%;
  margin-bottom: 1rem;
}



/* ==============================
   🟢 Badges de estado
   ============================== */
.booking-status,
.user-role,
.event-booking {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius);
  font-size: 0.85em;
  font-weight: 600;
  color: #fff;
}
.booking-status-pending { background: #ffc107; color: #000; }
.booking-status-confirmed { background: #198754; }
.booking-status-cancelled { background: #dc3545}
.user-role-admin { background: var(--color-primary); }
.user-role-owner { background: #000; }

/* ==============================
   📱 Responsive
   ============================== */

/* Tablet: menú se estrecha */
@media (max-width: 992px) {
  #content {
    flex-direction: column;
  }

  .sbs-menu {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sbs-menu li {
    flex: 1 1 45%;
    margin: 4px;
  }

  .sbs-menu li a {
    justify-content: center;
    border-left: none;
    border-radius: var(--radius);
  }
}

/* Móvil: stack total */
@media (max-width: 600px) {
  #container {
    padding: 0.5rem;
  }

  .sbs-page {
    padding: 1rem;
  }

  .sbs-table th,
  .sbs-table td {
    font-size: 12px;
    padding: 6px;
  }

  .button {
    width: 100%;
  }
}


/* ============ LAYOUT PRINCIPAL ============ */
.sbs-page-middle {
	display: flex !important;              /* clave: el contenedor controla el layout */
	flex-direction: row;
	align-items: flex-start;
	gap: 1.5rem;
	flex-wrap: wrap;                       /* permite que sea responsive */
  }
  
  /* menú lateral */
  .sbs-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 220px;
	flex-shrink: 0;
	background: #1e293b;                  /* azul oscuro moderno */
	border-radius: 8px;
	overflow: hidden;
  }
  
  .sbs-menu li {
	margin: 0;
  }
  
  .sbs-menu li a {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	text-decoration: none;
	padding: 10px 14px;
	transition: background 0.2s ease;
  }
  
  .sbs-menu li a:hover,
  .sbs-menu li a.sbs-menu-focus {
	background:  var(--color-back);
  }
  
  /* contenido principal */
  #content {
	flex: 1;
	min-width: 300px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	padding: 1.5rem;
  width: 100%;
  }
  
  /* responsive */
  @media (max-width: 900px) {
	.sbs-page-middle {
	  flex-direction: column;
	}
	.sbs-menu {
	  width: 100%;
	}
  }
  


/* Estilo base para todos los botones */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 100px;
	height: 36px;
	padding: 0 12px;
	border-radius: 8px;
	border: none;
	font-weight: 500;
	font-size: 14px;
	cursor: pointer;
	color: #fff;
	background: var(--color-primary);
	transition: background 0.2s ease;
  }
  
  /* Hover */
  .button:hover {
	background: var(--color-primary-dark);
  }
  
  /* Texto o iconos para botones tipo button_save, button_delete, etc */
  .button_save::before {
	content: "Guardar";          /* texto que reemplaza el value */
  }
  
  .button_delete::before {
	content: "Eliminar";
  }
  
  .button_print::before {
	content: "Imprimir";
  }
  
  .button_send::before {
	content: "Enviar";
  }
  
  .button_login::before {
	content: "Login";
  }
  
  /* Alineación */
  .button::before {
	display: inline-block;
	text-align: center;
	width: 100%;
	line-height: 36px;  /* coincide con la altura del botón */
  }

.icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 4px;
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
  }
  
  .icon:hover {
	color: var(--color-primary, #e9f5ff );
	transform: scale(1.3);
  }
  
  /* Reemplazo por FontAwesome */
  .icon.icon-edit::before         { content: "\f044"; font-family: "Font Awesome 6 Free"; font-weight: 900; } /* lápiz */
  .icon.icon-delete::before       { content: "\f2ed"; font-family: "Font Awesome 6 Free"; font-weight: 900; } /* papelera */
  .icon.icon-copy::before         { content: "\f0c5"; font-family: "Font Awesome 6 Free"; font-weight: 900; } /* copiar */
  .icon.icon-availability::before { content: "\f05a "; font-family: "Font Awesome 6 Free"; font-weight: 900; } /* info */
  
/* ==============================
   TABS MODERNOS - Estilo Wizard
   ============================== */

/* Reset jQuery UI */
#tabs {
  background: transparent !important;
  	border: 1px solid #ccc;
	  border-radius: 8px;
}

#tabs .ui-tabs-nav,
#tabs .ui-tabs-nav li,
#tabs .ui-tabs-nav li a {
  background: none !important;
 	border: 1px solid #ccc;
	border-radius: 8px;
  padding: 0 !important;
  margin: 0 !important;
}

/* Contenedor de tabs - Sin fondo */
#tabs > .ui-tabs-nav {
  display: inline-flex !important;
  gap: 0.5rem;
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
  list-style: none;
  background: transparent !important;
  border: none !important;
  width: auto !important;
}

/* Cada tab */
#tabs > .ui-tabs-nav > li {
  flex: none !important;
  margin: 0 !important;
  border: none !important;
}

/* Links de tabs - Estilo por defecto (como activo actual) */
#tabs > .ui-tabs-nav > li > a {
  display: block !important;
  padding: 0.75rem 1.5rem !important;
  text-align: center;
  text-decoration: none;
  color: #6366f1 !important;
  font-weight: 600;
  background: #ffffff !important;
  border: none !important;
  border-radius: 0.75rem !important;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1) !important;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Tab activo - Fondo morado, texto blanco */
#tabs > .ui-tabs-nav > li.ui-tabs-active > a,
#tabs > .ui-tabs-nav > li.ui-state-active > a {
  background: linear-gradient(135deg, #6366f1, #818cf8) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4) !important;
  font-weight: 700;
  border: none !important;
}

/* Hover - Gradiente suave */
#tabs > .ui-tabs-nav > li > a:hover {
  background: linear-gradient(135deg, #6366f1, #818cf8) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

/* Paneles de contenido */
.ui-tabs-panel {
  padding: 1.5rem !important;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: none !important;
}

/* MÓVIL */
@media (max-width: 600px) {
  #tabs > .ui-tabs-nav {
    flex-direction: column !important;
    width: 100% !important;
  }

  #tabs > .ui-tabs-nav > li {
    width: 100%;
  }

  #tabs > .ui-tabs-nav > li > a {
    padding: 1rem 1.125rem !important;
  }
}


  /* Contenedor del header */	
  
  /* Logo */
  #sbs-header-image img {
	height: 60px; /* escala uniforme */
	width: auto;
	display: block;
	transition: transform 0.2s;
  }
  
  /* Hover logo */
  #sbs-header-image:hover img {
	transform: scale(1.5);
  }
  
  /* Texto alternativo (opcional) */
  #sbs-header-image::after {
	content: attr(alt);
	display: none; /* no se ve, pero si quieres mostrar puedes poner block */
  }
  
  /* Responsive: en móvil se centra el logo */
  @media (max-width: 2600px) {
	#sbs-header {
	  justify-content: center;
	  padding: 15px;
	}
	#sbs-header-image img {
	  height: 50px;
	}
  }
  



  /* Contenedor general centrado */
.login-box {
	width: 360px;
	margin: 60px auto 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(0,0,0,0.1);
	background: #fff;
	display: flex;
	flex-direction: column;
  }
  
  /* Top y Bottom eliminamos imágenes antiguas */
  .login-top,
  .login-bottom {
	display: none;
  }
  
  /* Middle: padding moderno */
  .login-middle {
	padding: 30px 25px;
	display: flex;
	flex-direction: column;
	gap: 15px;
  }
  
  /* Form inputs */
  .sbs-form p {/*
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 0;*/
    margin-bottom: 15px;
  }
  /* Alineación en línea solo cuando el input sea un checkbox o radio */
.sbs-form p:has(input[type="checkbox"]),
.sbs-form p:has(input[type="radio"]) {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Label a la izquierda y sin margen inferior */
.sbs-form p:has(input[type="checkbox"]) label.title,
.sbs-form p:has(input[type="radio"]) label.title {
  margin: 0;
  font-weight: 500;
  width: auto;
  text-align: left;
}
  /* Labels alineados arriba */
  .sbs-form label.title {
	float: none;
	width: 100%;
	text-align: left;
	font-weight: 600;
	color: #333;
  }
  
  /* Campos de texto */
  .sbs-form input.text {
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 14px;
	outline: none;
	transition: border 0.2s, box-shadow 0.2s;
  }
  
  .sbs-form input.text:focus {
	border-color: #0d6efd;
	box-shadow: 0 0 5px rgba(13,110,253,0.3);
  }
  
  /* Botón login */
  .button_login {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 12px 0;
	background: #0d6efd;
	color: #fff;
	font-weight: 600;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
  }
  
  .button_login:hover {
	background: #2563eb;
	transform: scale(1.02);
  }
  
  /* Responsive: en pantallas pequeñas */
  @media (max-width: 400px) {
	.login-box {
	  width: 90%;
	  margin: 40px auto;
	}
  }
  


  /* ===== SELECT MODERNO ===== */
select, 
.select {
  appearance: none;               /* Quita el estilo por defecto */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px 38px 10px 12px;
  font-size: 14px;
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%23444' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
  color: #333;
}

select:hover,
.select:hover {
  border-color: #0d6efd;
}

select:focus,
.select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13,110,253,0.2);
}

/* Disabled */
select:disabled {
  background-color: #f1f1f1;
  color: #999;
  cursor: not-allowed;
  border-color: #ddd;
}


/* ==== Campos de precio ==== */
input[name^="custom_price"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  background-color: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px 10px 32px; /* deja espacio para el símbolo € */
  width: 120px !important;
  text-align: right; /* números alineados a la derecha */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%23444' viewBox='0 0 24 24'><text x='4' y='18' font-size='16' font-family='Arial'>€</text></svg>");
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 14px;
}

input[name^="custom_price"]:hover {
  border-color: #0d6efd;
}

input[name^="custom_price"]:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13,110,253,0.2);
  outline: none;
}

/* Deshabilitado o readonly */
input[name^="custom_price"]:disabled,
input[name^="custom_price"][readonly] {
  background-color: #f8fafc;
  color: #64748b;
  border-color: #e2e8f0;
  cursor: not-allowed;
}


/* ==== Modernización del jQuery UI multiselect ==== */
.ui-multiselect {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 200px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background-color: #fff;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.ui-multiselect:hover {
  border-color: #0d6efd;
  box-shadow: 0 2px 6px rgba(13,110,253,0.15);
}

.ui-multiselect.ui-state-active {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13,110,253,0.2);
}

/* Icono de flecha moderna */
.ui-multiselect::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%230d6efd' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

/* Texto cuando hay selecciones */
.ui-multiselect span {
  font-weight: 400;
  color:  var(--color-back);
}

/* Dropdown moderno */
.ui-multiselect-menu {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-top: 4px;
  padding: 6px 0;
  z-index: 9999;
  max-height: 280px;
  overflow-y: auto;
}

/* Cada elemento del dropdown */
.ui-multiselect-checkboxes li {
  list-style: none;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  transition: background-color 0.2s ease;
}

.ui-multiselect-checkboxes li:hover {
  background-color: #f1f5f9;
}

/* Checkboxes modernos */
.ui-multiselect-checkboxes input[type="checkbox"] {
  accent-color: #0d6efd;
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

/* Texto de las opciones */
.ui-multiselect-checkboxes label {
  color: #1e293b;
  cursor: pointer;
  font-size: 14px;
}

/* Scrollbar sutil */
.ui-multiselect-menu::-webkit-scrollbar {
  width: 6px;
}
.ui-multiselect-menu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.ui-widget-header{
    background: #e9f5ff !important;
    border: 0  !important;
    font-weight:unset;
}
.ui-multiselect-menu {
  min-width: 300px !important; /* evita el width inline */
  width: auto !important;       /* ignora el width inyectado */
  max-width: 400px;             /* límite visual */
}










/* Base para todos los elementos con title o alt */
[data-tooltip] {
  position: relative;
  cursor: pointer;
  /* max-width: 200px; */
}

/* Creamos un pseudo-elemento para el tooltip */
[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%; /* aparece arriba del elemento */
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(30, 41, 59, 0.95); /* azul oscuro suave */
  color: #fff;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Activar tooltip */
[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* Para elementos inline-block o block */
[data-tooltip] {
 /* display: inline-block;*/
}

/* Responsive: no rompe en móvil */
@media (max-width: 480px) {
  [data-tooltip]:hover::after {
    font-size: 12px;
    padding: 4px 8px;
  }
  [data-tooltip]:hover::before {
    border-width: 5px;
  }
}

/* ==== Botones modernos ==== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  min-height: 30px;
}

/* Colores principales */
.btn-primary {
  background-color: #0d6efd;
  color: #fff !important;
  border-color: #0d6efd;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.btn-secondary {
  background-color: #6c757d;
 color: #fff !important;
  border-color: #6c757d;
}

.btn-secondary:hover {
  background-color: #5c636a;
  border-color: #545b62;
}

/* Botón éxito / confirmación */
.btn-success {
  background-color: #198754;
  color: #fff !important;
  border-color: #198754;
}

.btn-success:hover {
  background-color: #157347;
  border-color: #146c43;
}
.btn-warning {
  background-color: #cf9221;
   color: #fff !important;
  border-color: #f5a207;
}

.btn-warning:hover {
  background-color: #f5a207;
  border-color: #ffa600;
}
/* Botón peligro / eliminar */
.btn-danger {
  background-color: #dc3545;
   color: #fff !important;
  border-color: #dc3545;
}

.btn-danger:hover {
  background-color: #bb2d3b;
  border-color: #b02a37;
}

/* Botón deshabilitado */
.btn:disabled,
.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Iconos dentro de botón */
.btn i {
  margin-right: 6px;
  display: inline-block;
}

/* Tamaños */
.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  min-height: 32px;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 16px;
  min-height: 48px;
}

/* Full width */
.btn-block {
  display: flex;
  width: 100%;
}

/* Transición suave */
.btn, .btn:hover {
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}




.rect{
	cursor: pointer;
	display: block;
	font-size: 0.9em;
	overflow: hidden;
	position: absolute;
	text-align: center;
	z-index: 1000;
}
.empty{background-color: #135E8D; color: #fff}
.available{background-color: green !important; color: #fff !important;}
.busy{background-color: red !important; color: #fff !important; cursor: default}
.my{background-color: #FFCC00; color: #000; cursor: default}
.rect-selected{background-color: #BE8329; color: #fff}

.boxPrices{
	border: solid 1px #B9D97F;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	margin: 0 0 10px;
	padding: 15px;
}
.boxCustomPrices{
	margin: 5px 0 0;
}
.boxCoupons{
	border: solid 1px #B9D97F;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	margin: 0 0 10px;
	padding: 15px;
}
.boxCustomCoupons{
	margin: 5px 0 0;
}