/*

Theme Name: JGX Dev Theme 

*/
/* Puedes poner esto en tu style.css del tema */
.sub-menu {
    display: none;
    position: absolute; /* Opcional, para menú tipo dropdown */
    background: white;
    z-index: 100;
    width: 100%;
    padding: 10px;
    border-bottom: 1px;
    border-color: darkgray;
  }
  .menu-item {
    padding: 10px;

  }
  .menu-item-has-children {
    position: relative; /* Si usas position absolute en sub-menu */
    }
  .menu-item-has-children:hover > .sub-menu {
    display: block;
    background-color: bisque;
  }
  .menu-item-has-children.open > .sub-menu {
    display: block;
    /*text-decoration: underline;*/
  }

/* JG Formularios de C7*/

/* Contenedor general del formulario */
.uacf7-form-wrapper-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', Roboto, sans-serif;
}

/* Inputs y textarea */
.wpcf7-text,
.wpcf7-email,
.wpcf7-textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #d0d7de;
  border-radius: 0.75rem;
  background-color: #f9fafb;
  font-size: 1rem;
  transition: all 0.2s ease-in-out;
}

/* Efecto al enfocar */
.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-textarea:focus {
  border-color: #2563eb;
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Botón */
.wpcf7-submit {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.3s ease;
}

.wpcf7-submit:hover {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
  transform: translateY(-2px);
}

.wpcf7-submit:active {
  transform: translateY(0);
}

/* Textarea altura */
.wpcf7-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Mensajes de respuesta */
.wpcf7-response-output {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
}

.wpcf7-response-output[aria-hidden="false"] {
  border: 1px solid #2563eb;
  background: #f0f7ff;
  color: #1d4ed8;
}
