/* Estilo formulario */
.wpcf7-form {
    font-family: inherit;
    max-width: 100%;
    margin: 0 auto;
    padding-right: 15px;
    padding-left: 15px;
}

.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.wpcf7-form input[type="submit"] {
    background-color: #ff501a;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
.wpcf7-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  font-family: "Montserrat", sans-serif;
}
.wpcf7-form p {
  margin: 0px;
}
.wpcf7 input[type="file"] {
  border: none;
}
.wpcf7-form input[type="checkbox"] {
  display: inline-block;
  width: 30px;
}

.wpcf7-form-control.wpcf7-submit {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
  width: auto;
  display: block;
  margin-left: 30px;
}

.cedula-error {
    display: none;
    margin-top: 4px;
    font-size: 0.9em;
    color: #dc3232;
}

/* En lugar de ocultar, deshabilitar visualmente */
.wpcf7 form.sent .row,
.wpcf7 form.sent p {
    opacity: 0.5;
    pointer-events: none;   /* impide interactuar */
    transition: opacity 0.3s;
}

/* Banner de éxito fijo y bien visible */
.wpcf7 form.sent .wpcf7-response-output {
    /*position: fixed;
    top: 0;
    left: 0;*/
    width: 100%;
    z-index: 9999;
    background: #2ecc71;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    font-family: "Montserrat", sans-serif;
    text-align: center;
    padding: 1.5rem 1rem;
    margin: 0;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Ícono opcional con un pseudo-elemento */
.wpcf7 form.sent .wpcf7-response-output::before {
    content: '✓';
    font-size: 1.5em;
    font-weight: bold;
}

/* Box sizing rule to include padding in width calculations */
* {
  box-sizing: border-box;
}

/* The parent container holding the columns */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px; /* Counteracts column padding */
  margin-left: -15px;
}

/* Base styles for all columns (Mobile first - 100% width) */
[class*="col-"] {
  width: 100%;
  padding-right: 15px; /* Creates the gutter/gap */
  padding-left: 15px;
}

/* Medium devices (tablets/small laptops, 768px and up) */
@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
