/* Hide when [hidden] is set */
#vc-consult-popup[hidden] { display: none !important; }

/* Overlay container */
#vc-consult-popup.vc-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 16px;
}

/* Dark overlay */
#vc-consult-popup .vc-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

/* Modal box */
#vc-consult-popup .vc-popup-content {
  position: relative;
  width: min(820px, 96vw);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  padding: 22px 22px 18px;
  z-index: 1;
}

/* Close button */
#vc-consult-popup .vc-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #f2f4f7;
  color: #111;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
#vc-consult-popup .vc-popup-close:hover {
  background: #e7ebf0;
}

/* Form layout */
#vc-consult-form {
  margin-top: 8px;
}

/* Grid for fields */
#vc-consult-form .vc-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* Field wrapper */
#vc-consult-form .vc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#vc-consult-form label {
  font-size: 13px;
  color: #344054;
}

/* Inputs */
#vc-consult-form input,
#vc-consult-form textarea,
#vc-consult-form select {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

#vc-consult-form textarea {
  min-height: 110px;
  resize: vertical;
}

#vc-consult-form input:focus,
#vc-consult-form textarea:focus,
#vc-consult-form select:focus {
  border-color: #98a2b3;
  box-shadow: 0 0 0 4px rgba(152, 162, 179, .25);
}

/* Actions row */
#vc-consult-form .vc-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

/* Submit button */
#vc-consult-form button[type="submit"] {
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}

/* Make it responsive */
@media (max-width: 760px) {
  #vc-consult-popup .vc-popup-content {
    width: 100%;
    padding: 18px 16px 14px;
  }

  #vc-consult-form .vc-form-grid {
    grid-template-columns: 1fr;
  }

  #vc-consult-form .vc-actions {
    justify-content: stretch;
  }

  #vc-consult-form button[type="submit"] {
    width: 100%;
  }
}
a.button,
a.button.alt {
  display: inline-block;
  text-decoration: none;
}
.vc-actions a.button:link,
.vc-actions a.button:visited,
.vc-actions a.button:hover,
.vc-actions a.button:active {
  text-decoration: none !important;
}
.vc-actions a.button:hover,
.vc-actions button:hover{
    background-color: black;
    color: white;
}
.vc-actions a.button:active,
.vc-actions button:active{
    background-color: grey;
    color: white;
}