/* === ACF form általános stílus === */
.acf-form {
  max-width: 700px;
  margin: 4rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0);
  border-radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: none;
}

.acf-field.acf-field-true-false.acf-field-685a7c433165b.is-required .acf-label {display:none;}

span.message  a{
    color: #1F3668;
}

.acf-fields.acf-form-fields.-top div {
    padding: 0;
}

/* Mezők közti távolság */
.acf-form .acf-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Egyes mezők stílusa */
.acf-form .acf-field {
  display: flex;
  flex-direction: column;
  border-bottom: 0px solid #eee;
  padding-bottom: 1.5rem;
}

/* Címkék */
.acf-form .acf-label label {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #000;
}

/* Input, textarea, select */
.acf-form input[type="text"],
.acf-form input[type="email"],
.acf-form input[type="file"],
.acf-form select,
.acf-form textarea {
  padding: 12px 14px;
  font-size: 1rem;
  border: 0px solid #ccc;
  border-radius: 6px;
  background: #eceff1;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.acf-form input:focus,
.acf-form select:focus,
.acf-form textarea:focus {
  border-color: #0073aa;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
  outline: none;
}

/* Kötelező csillag */
.acf-form .acf-label label.required::after {
  content: ' *';
  color: #d00;
}

/* Gomb stílus */
.acf-form input[type="submit"] {
  margin-top: 1rem;
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 600;
  background-color: #eceff1;
  color: black;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.acf-form input[type="submit"]:hover {
  background-color: #1F3668;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Fájlmező finomítása */
.acf-form .acf-field-file .acf-button {
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  border-radius: 6px;
  color: #000;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.acf-form .acf-field-file .acf-button:hover {
  background-color: #efefef;
}

/* Fájl név megjelenítés */
.acf-file-uploader .filename {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #555;
}


.acf-fields>.acf-field {
    border: none !important;
    margin-top: 0
}

input#acf-field_6840072b637e4 {
    width: 95%;
}

.acf-form input[type="submit"]:disabled {
    background-color: #ccc !important;
    border-color: #aaa !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    box-shadow: none !important;
}

div#frontend-captcha {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    gap: 20px;
}

input#math_captcha {width: 150px;}

#frontend-captcha .acf-label {
  margin: 0px;
}

.required-label::after {
  content: " *";
  color: red;
}