/*
 * Custom stylesheet for Vanilla Form integration in Inmobiliaria EntreRíos
 */

.vanilla-form input.error,
.vanilla-form textarea.error,
.vanilla-form select.error {
  border-color: #e53a4a !important;
  background-color: rgba(229, 58, 74, 0.05) !important;
}

.vanilla-form .notification-box {
  display: none;
  padding: 15px;
  margin-top: 15px;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.vanilla-form .notification-box.show-error {
  display: block;
  background-color: #fce8e6;
  border: 1px solid #f5c2c2;
  color: #a82424;
}

.vanilla-form .notification-box.show-success {
  display: block;
  background-color: #e6f6f4;
  border: 1px solid #c2ece5;
  color: #1b8574;
}

/* Submit button state animations or highlights if any */
.vanilla-form input[type="submit"].state-processing {
  opacity: 0.8;
  cursor: not-allowed;
}

/* Responsive iframe container for legacy 2000x1229px Fireworks map layout */
.iframe-container {
  position: relative;
  width: 100%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background-color: #000; /* Match background color of the map page */
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 2000px;
  height: 1229px;
  border: 0;
  transform-origin: 0 0;
}

section > .container > .card {
  background-color: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.text-orange-dark {
  color: #e65100 !important;
}

.text-orange-dark:hover {
  color: #bf360c !important;
  text-decoration: underline !important;
}

/* Dark orange badge background */
.bg-orange-dark {
  background-color: #e65100 !important;
}

/* Dark orange button */
.btn-orange-dark {
  background-color: #e65100 !important;
  border-color: #e65100 !important;
  color: #fff !important;
}

.btn-orange-dark:hover,
.btn-orange-dark:focus,
.btn-orange-dark:active {
  background-color: #bf360c !important;
  border-color: #bf360c !important;
  color: #fff !important;
}

/* Floating WhatsApp widget */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 90px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  color: #FFF;
  text-decoration: none;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
  display: block;
}

/* Tooltip lateral */
.whatsapp-float .tooltip-text {
  visibility: hidden;
  width: 140px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 6px 0;
  position: absolute;
  z-index: 10001;
  right: 75px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

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

/* Tooltip triangle indicator */
.whatsapp-float .tooltip-text::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #333;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 75px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
  .whatsapp-float .tooltip-text {
    display: none !important;
  }
}

/* WhatsApp en la cabecera (bajo el logo) */
.header-whatsapp {
  position: absolute;
  top: 100%; /* Align under the logo image dynamically */
  left: 0;
  width: 250px; /* Matches the exact width of logo-dark.webp */
  text-align: center; /* Center the numbers in relation to the logo */
  z-index: 1000;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-top: 10px; /* Margin below the full logo */
}

.header-whatsapp a {
  display: block;
  color: #ffffff !important; /* White by default */
  font-weight: 700;
  font-size: 23px !important;
  line-height: 1.3;
  transition: color 0.2s ease;
  text-shadow: none !important;
}

.header-whatsapp a:hover {
  color: #cc5200 !important; /* Dark orange on hover */
  text-shadow: none !important;
}

/* Ocultar WhatsApp en cabecera sticky/scrolled al hacer scroll */
.navbar-stick .header-whatsapp {
  display: none !important;
}


/* WhatsApp en el menú móvil (offcanvas) */
.header-whatsapp-mobile a {
  font-size: 17px !important;
  color: #343f52 !important;
  transition: color 0.2s ease;
}

.header-whatsapp-mobile a:hover {
  color: #e65100 !important;
}

/* Redes sociales en la cabecera (escritorio) */
.navbar .navbar-other .nav.social a,
.navbar .navbar-other .nav.social a i {
  font-size: 28px !important; /* Forces the icon inside the link to scale up */
}

.navbar .navbar-other .nav.social a {
  margin-left: 16px;
  display: inline-block;
  vertical-align: middle;
}

.navbar:not(.navbar-clone) .navbar-other .nav.social a {
  color: #ffffff !important; /* White on transparent header */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: color 0.2s ease;
}

.navbar:not(.navbar-clone) .navbar-other .nav.social a:hover {
  color: #ff9e22 !important; /* Bright orange on hover */
}

/* Redes sociales en la cabecera sticky/clonada */
.navbar-stick .navbar-other .nav.social a {
  color: #343f52 !important; /* Revert to elegant dark slate blue on white sticky bg */
  text-shadow: none !important;
}

.navbar-stick .navbar-other .nav.social a:hover {
  color: #e65100 !important;
}

/* Forzar alineación y unificar diseño de inputs y select (estilo subrayado) */
.vanilla-form .row > .col-6 {
  width: 50% !important;
  flex: 0 0 50% !important;
  max-width: 50% !important;
}

.vanilla-form .form-control,
.vanilla-form .form-select {
  font-size: 15px !important;
  height: 38px !important;
  padding: 0 0 8px 0 !important;
  line-height: 1.5 !important;
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid #43474f !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}

.vanilla-form textarea.form-control {
  height: 150px !important; /* Preserva la altura personalizada del textarea de mensaje */
}





