/* Css para Contacts */
.container_contact {
  width: 100%;
  max-width: 550px;
  padding: 20px;
  border-radius: 8px;
  margin: 0 auto 40px;
}

.tile_contants {
  text-align: center;
}

#contactForm {
  text-align: center;
}

label {
  display: block;
  color: white;
  font-weight: bold;
  text-align: left;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid rgb(3, 238, 255);
  border-radius: 5px;
  background: #111;
  color: white;
  text-align: left;
}

button {
  display: inline-block;
  padding: 10px 20px;
  background: #00fff5;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
}

button:hover {
  background: #fc11a2;
}
/* Tarjeta flotante de confirmación/error del formulario */
#formStatus {
  display: none;
}
#formStatus.show {
  display: block;
  position: fixed;
  top: 24px;
  left: calc(50% + var(--sidebar-width) / 2);
  transform: translateX(-50%);
  max-width: 90%;
  width: 380px;
  padding: 18px 24px;
  border-radius: 12px;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  z-index: 300;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
  background-color: #0b2226;
  border: 2px solid #00fff5;
  color: #00fff5;
  animation: statusPop 0.3s ease;
}

#formStatus.show.error {
  background-color: #2a1010;
  border-color: #ff6b6b;
  color: #ff6b6b;
}

@keyframes statusPop {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* .status-overlay {
  display: none;
}

.status-overlay.show {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 290;
} */
/* se acaban los estilos de la tarjeta flotante  */

@media (max-width: 768px) {
  .sidebar {
    background-color: #159599; /* sólido, sin transparencia */
  }
  .container_contact {
    margin-top: 10px;
    padding: 15px;
  }
  #formStatus.show {
    left: 50%;
  }
}
