/* AXSI_UI_v4 — Layout base limpio */

/* Reset básico */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', Arial, sans-serif;
}
body {
    padding-bottom: 50px; /* deja espacio para que mapa no quede escondido */
}

/* HEADER fijo arriba */
/*
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 1000;
}

navbar-left .logo {
  font-size: 30px;
  font-weight: 700;
  cursor: pointer;
}

.navbar-left .axsi { color: #0066B9; }
.navbar-left .io { color: #666666; font-size: large; font-weight: 300 }

.navbar-center {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto;
}

.navbar-right {
  display: flex;
  gap: 8px;
}
*/
/* NAVBAR GENERAL */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 1000;
}

/* LOGO + TEXTO */
.navbar-left .logo {
  display: flex;
  align-items: flex-end; /* <- clave: texto al fondo */
  gap: 4px;
  cursor: pointer;
}

.navbar-left .logo img {
  height: 30px;
  width: auto;
  align-self: center;      /* <- la imagen queda centrada */
  padding: 4px 10px 0 0;     /* ajuste fino opcional */
}

.navbar-left .axsi {
  color: #0066B9;
  font-weight: 700;
  font-size: 35px;
  line-height: 1;
}

.navbar-left .io {
  color: #666666;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  align-self: flex-end;     /* <- baja .io */
  padding: 0 0 2px 0;     /* ajuste fino opcional */
}


/* CENTRO DEL NAVBAR */
.navbar-center {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto;
}

/* DERECHA DEL NAVBAR */
.navbar-right {
  display: flex;
  gap: 8px;
}
/* END NAVBAR GENERAL */


.menu-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #0078d7;
  color: #0078d7;
  text-decoration: none;
  font-size: 14px;
}
.menu-btn:hover {
  background: #e8f0fe;
}

/* Selector Rent / Buy / Developments */

.selector {
  display: inline-flex;
  border: 1px solid #0078d7;
  border-radius: 8px;
  overflow: hidden;
}

.selector .option {
  padding: 8px 18px;
  border: none;
  background: #fff;
  color: #0078d7;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}
.selector .option:not(:last-child) {
  border-right: 1px solid #0078d7;
}
.selector .option.active {
  background: #C1E3FF;
  color: #0078d7;
  font-weight: 600;
}
.selector .option:hover {
  background: #e8f0fe;
}



/* Select TYPE */
.select-wrapper {
  position: relative;
}
.select-wrapper select {
  padding: 8px 30px 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  background: #fff;
  appearance: none;
}
.select-wrapper::after {
  content: "▾";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #555;
}
/*
.select_wrapper.active {
  background: #C1E3FF;
  color: #0078d7;
  font-weight: 600;
}
*/

/* Search box */
.search-box {
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  height: 38px;
  width: 360px;
}
.search-box .icon {
  margin-right: 6px;
}
.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  background: transparent;
}

/* CONTENEDOR 3 columnas bajo el header */
.axsi-container {
  position: absolute;
  top: 70px;   /* altura header */
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
}

/* LEFT panel */
.left {
  width: 250px;
  max-height: 100%;
  background: #fafafa;
  border-right: 1px solid #ddd;
  padding: 16px 14px;
  overflow-x: scroll;
}
.left::-webkit-scrollbar {
  width: 6px;
}
.left::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}

/* Bloques de filtro */
.filter-block {
  margin-bottom: 25px;
}
.filter-block > label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: #333;
  margin-bottom: 6px;
}


/* ============================================
   COMBOS — Flecha y estructura unificada
   ============================================ */

.left .combo {
    position: relative;      /* <-- NECESARIO para mostrar la flecha */
    width: 100%;
    margin-bottom: 12px;
}

.left .combo select {
    width: 100%;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 0 32px 0 10px;
    font-size: 14px;
    background: #fff;
    appearance: none;        /* Oculta flecha nativa */
    cursor: pointer;
}

.left .combo::after {
    content: "▼";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #0078d7;
    pointer-events: none;
    z-index: 5;
}

/* Para combos en fila (precio desde/hasta) */
.double-select {
    display: flex;
    gap: 8px;
}

.double-select .combo {
    flex: 1;
}
/* ============================================
   COMBOS — Flecha y estructura unificada
   ============================================ */




/* Pills habitaciones / baños */
.options-row {
  display: flex;
  gap: 6px;
}

.filter-pill {
  flex: 1;
  padding: 6px 0;
  border-radius: 8px;
  /*border: 1px solid #0078d7;*/
  border: 1px solid #C0C0C0;
  background: #fff;
  color: #0078d7;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: 0.15s;
}
.filter-pill:hover {
  background: #e8f0fe;
}
.filter-pill.active {
  background: #C1E3FF;
  color: #0078d7;
  border-color: #0078d7;
  font-weight: 600;
}

/* Orientation pills (same style as room/bath) */
.orientation-btn.active {
    background: #4A90E2;
    color: #fff;
}

/* Future blocks hidden until phase 2 */
.filter-block.future {
    display: none;
}

/* Checks características */
.checks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
}
.checks label {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.checks input[type=checkbox] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* MIDDLE (mapa) */
.middle {flex: 1; position: relative; height: 100%; background: #eaeaea; top: 0}
#map {position: absolute; top: 0; bottom: 0; left: 0; right: 0;}
.middle #map {height: calc(100vh - 70px - 25px);} /* header 70px, footer 25px */

/*
.middle {flex: 1; position: relative; background: #eaeaea;}
#map {position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%;}
*/




/* RIGHT panel */
.right {
  width: 300px;
  background: #fafafa;
  border-left: 1px solid #ddd;
  padding: 16px 10px;
  overflow-x: scroll;
}
.right::-webkit-scrollbar {
  width: 6px;
}
.right::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}

/* Demo card derecha */
.property-card {
  font-size: 14px;
}
.property-image img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 8px;
}
.property-price {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.property-subtitle {
  color: #555;
  margin-bottom: 4px;
}
.property-location {
  color: #777;
  margin-bottom: 10px;
}
.cta-btn {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: none;
  background: #0078d7;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* FOOTER: asumimos que footer.asp lo posiciona, aquí sólo evitamos solapamiento si hace falta */
#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    color: #666666;
    width: 100%;
    height: 25px;
    font-size: 12px;
    background: #fafafa;
    border-top: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 999;
}
#footer a {color: #666666; text-decoration:none}
/*cookie-note {color: #808080;}*/


/* Responsive sencillo */
@media (max-width: 900px) {
  .axsi-container {
    top: 110px;
    flex-direction: column;
  }
  .left, .right {
    width: 100%;
    max-height: 220px;
  }
}


