.admin-bar header{top:36px;}
.form-action-part {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

/* CF7 label wrapper */
.wpcf7-acceptance .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 36px;
    margin: 0;
    color: #1E1E1E;
    font-size: 16px;
    position: relative;
    cursor: pointer;
}

/* hide default checkbox */
.wpcf7-acceptance input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* custom circle */
.wpcf7-acceptance .wpcf7-list-item-label {
    position: relative;
    padding-left: 36px;
    line-height: 1.4;
}

/* circle border */
.wpcf7-acceptance .wpcf7-list-item-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0px;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    border: 1px solid var(--black);
}

/* checked background */
.wpcf7-acceptance input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
    background-color: var(--color-mercury);
}

/* tick mark */
.wpcf7-acceptance .wpcf7-list-item-label::after {
    content: "";
    position: absolute;
    display: none;
    left: 8px;
    top: 5px;
    width: 7px;
    height: 10px;
    border: solid var(--black);
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}

/* show tick when checked */
.wpcf7-acceptance input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    display: block;
}
.wpcf7-list-item {
    margin: 0;
}

.form-action-part p {
    margin: 0;
}
input.wpcf7-not-valid{
  border-color: #dc3232 !important;  
}
input.wpcf7-not-valid::placeholder {
  color: #dc3232 !important;
}
input.wpcf7-not-valid::-moz-placeholder {
  color: #dc3232 !important;
  opacity: 1;
}
input.wpcf7-not-valid:-ms-input-placeholder {
  color: #dc3232 !important;
}
input.wpcf7-not-valid::-ms-input-placeholder {
  color: #dc3232 !important;
}

