/* General Styles */
#hf-wrap * {
    box-sizing: border-box;
}

#hf-wrap {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 0;
    background: #FFF;
    z-index: 99999;
}

#hf-wrap a {
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

#hf-wrap img {
    max-width: 100%;
}

.toplevel_page_hashform.is-fullscreen-mode .notice,
.toplevel_page_hashform.is-fullscreen-mode .settings-error,
.hf-hidden {
    display: none !important;
}

.hf-alway-show {
    display: block !important;
}

/* Header Nav */
.hf-header-nav {
    background: #f7fafc;
    border-bottom: 1px solid #EEE;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hf-header-nav h4 {
    text-transform: uppercase;
    padding: 0 30px;
    width: 360px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    font-size: 16px;
    margin: 0;
    font-weight: bold;
}

.hf-header-nav h4 span {
    margin-right: 10px;
    font-size: 20px;
}

.hf-header-logo {
    display: block;
    text-decoration: none;
}

.hf-header-logo svg {
    width: 40px;
}

.hf-header-nav .hf-main-nav {
    display: inline-flex;
    flex-grow: 1;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hf-main-nav li {
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.hf-main-nav li a {
    display: block;
    padding: 10px 30px;
    line-height: 50px;
    color: #333;
    font-weight: bold;
    margin-bottom: -1px;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-top: 1px solid transparent;
    font-size: 14px;
}

.hf-main-nav li a.hf-active-nav {
    border-color: #EEE;
    background: #FFF;
}

.hf-main-nav li:hover a {
    color: #000;
}

.hf-header-nav .hashform-ajax-udpate-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    background: #000;
    color: #FFF;
    border: 0;
    text-decoration: none;
    cursor: pointer;
    border-radius: 2px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
    margin-right: 25px;
}

.hf-header-nav .hashform-ajax-udpate-button span {
    height: auto;
    width: auto;
    font-size: 1.2em;
}

.hf-header-nav .hf-embed-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    background: #10a0ff;
    color: #FFF;
    border: 0;
    text-decoration: none;
    cursor: pointer;
    border-radius: 2px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
}

.hf-header-nav .hf-embed-button span {
    font-size: 1.2em;
}

.hf-header-nav .hf-preview-button {
    border-left: 1px solid #e1e2e3;
    margin-left: 25px;
    padding: 0 25px;
    align-self: stretch;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-weight: bold;
}

.hf-header-nav .hf-preview-button a {
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hf-header-nav .hf-preview-button a span {
    font-size: 1.2em;
}

.hf-header-nav .hashform-close {
    border-left: 1px solid #e1e2e3;
    width: 80px;
    align-self: stretch;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hf-header-nav .hashform-close a {
    font-size: 30px;
    color: #333;
}

body:has(#hf-wrap){
    overflow: hidden;
}

/* Main Panel */
.hf-body {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    height: 100%;
}

.hf-fields-sidebar {
    background: #f8fafc;
    flex: 0 0 360px;
    width: 360px;
    overflow: hidden auto;
    border-right: 1px solid #EEE;
}

#hf-form-panel {
    overflow: hidden auto;
    flex-grow: 1;
}

#hf-form-panel::-webkit-scrollbar {
    width: 8px;
}

/* Track */
#hf-form-panel::-webkit-scrollbar-track {
    background: #CCC;
}

/* Handle */
#hf-form-panel::-webkit-scrollbar-thumb {
    background: #AAA;
}

/* Handle on hover */
#hf-form-panel::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Sidebar Panel Tab */
.hf-fields-tabs {
    position: sticky;
    top: 0;
    margin: 20px 0;
    padding: 0;
    display: flex;
    background: #FFF;
    border-bottom: 1px solid #e1e2e3;
    border-top: 1px solid #e1e2e3;
    z-index: 9;
}

.hf-fields-sidebar::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.hf-fields-sidebar::-webkit-scrollbar-track {
    background: #EEE;
}

/* Handle */
.hf-fields-sidebar::-webkit-scrollbar-thumb {
    background: #DDD;
}

/* Handle on hover */
.hf-fields-sidebar::-webkit-scrollbar-thumb:hover {
    background: #BBB;
}

.hf-fields-tabs li {
    font-size: 15px;
    margin: 0;
    flex-grow: 1;
    text-align: center;
}

.hf-fields-tabs li a {
    display: block;
    padding: 18px 8px;
    margin-bottom: -1px;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    box-shadow: none;
    outline: 0;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
}

.hf-fields-tabs li.hf-active-tab a {
    background: #f8fafc;
    border-left: 1px solid #e1e2e3;
    border-right: 1px solid #e1e2e3;
}

.hf-fields-tabs li:last-child.hf-active-tab a {
    border-right-color: transparent;
}

.hf-fields-tabs li:first-child.hf-active-tab a {
    border-left-color: transparent;
}

/* Add Fields Panel */
.hf-search-fields {
    position: relative;
    margin-bottom: 15px;
}

.ht-fields-panel {
    padding: 0 20px 40px;
}

#hf-options-panel,
#hf-meta-panel {
    display: none;
}

.hf-search-fields > span {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    width: auto;
    font-size: 16px;
}

.hf-search-fields .hf-search-fields-input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    line-height: 1;
    box-shadow: none;
    outline: 0;
    margin: 0;
}

.hf-fields-list {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, 1fr);
}

.hf-fields-list li {
    margin: 0;
    padding: 0;
}

.hf-fields-list li a {
    text-decoration: none;
    font-weight: normal;
    font-size: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #FFF;
    border-radius: 4px;
    box-shadow: 0 0px 2px rgba(0, 0, 0, .05);
    transition: all 0.3s ease;
    border: 1px solid #EEE;
}

.hf-fields-list li a:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
}

.hf-fields-list li a i {
    font-size: 30px;
    color: #000;
}

.hf-fields-list li a span {
    display: block;
    color: #000;
    font-size: 13px;
}

.hf-fields-list li.hf-drag-fade {
    background-color: #EEE;
    border-radius: 4px;
}

.hf-fields-list li.hf-drag-fade * {
    opacity: 0;
}

/* Icon while dragging */
.hf-field-box.ui-draggable-dragging {
    pointer-events: none;
    z-index: 99;
}

.hf-field-box.ui-draggable-dragging a {
    text-decoration: none;
    font-weight: normal;
    font-size: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #FFF;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid #EEE;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
    width: 152px;
}

/* Field Options(Tab) Panel */
.hf-no-field-placeholder {
    height: 150px;
    display: flex;
    align-items: center;
    width: 100%;
    background: #FFF;
    border-radius: 4px;
    box-shadow: 0 0px 2px rgba(0, 0, 0, .05);
    border: 2px dashed #EEE;
    padding: 40px;
    text-align: center
}

.hf-no-field-msg {
    width: 100%;
    font-size: 14px;
}

.hf-fields h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Builder No Fields */
.hf-no-fields {
    min-height: 250px;
    margin: 50px;
    top: 0;
    left: 0;
    right: 0;
    border: 2px dashed #CCC;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hf-no-fields h3 {
    font-size: 24px;
}

.hf-editor-has-fields .hf-no-fields {
    display: none;
}

/* Builder */
.hf-form-wrap {
    position: relative;
    padding: 30px;
    max-width: 1200px;
}

#hf-editor-fields {
    min-height: 300px;
    margin: 0;
    padding: 0;
    position: relative;
}

.hf-editor-field-box {
    position: relative;
    min-height: 20px;
    margin: 0;
    padding: 5px 0;
}

.hf-editor-has-fields #hf-editor-fields {
    min-height: 0;
}

/* Submit Button */
.hf-editor-submit-button-wrap {
    display: flex;
}

#hf-editor-wrap .hf-editor-submit-button {
    display: none;
    margin: 10px 0 20px 10px;
    padding: 10px 20px;
}

#hf-editor-wrap.hf-editor-has-fields .hf-editor-submit-button {
    display: block;
}

.hf-editor-submit-button-wrap.hf-submit-btn-align-center {
    justify-content: center;
}

.hf-editor-submit-button-wrap.hf-submit-btn-align-right {
    justify-content: flex-end;
}

.hf-editor-submit-button-wrap.hf-submit-btn-align-stretch .hf-editor-submit-button {
    width: 100%;
    justify-content: center;
}

/* Form Fields */
#hf-editor-fields .hf-editor-form-field {
    position: relative;
    margin: 0;
    padding: 10px;
    border: 1px solid transparent;
    box-shadow: none;
    background: none;
}

.hf-editor-form-field .hf-editor-field-container {
    display: flex;
    max-width: 100%;
    width: var(--hf-width);
}

.hf-editor-form-field .hf-editor-field-type {
    flex-grow: 1;
}

.hf-editor-form-field input[type=text],
.hf-editor-form-field input[type=number],
.hf-editor-form-field input[type=email],
.hf-editor-form-field input[type=url],
.hf-editor-form-field input[type=tel],
.hf-editor-form-field input[type=range],
.hf-editor-form-field textarea,
.hf-editor-form-field select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
}

.hf-editor-form-field .hf-editor-field-label {
    display: block;
    margin: 0 0 6px;
}

.hf-editor-form-field .hf-editor-field-content {
    width: 100%;
}

.hf-editor-form-field .hf-field-desc {
    margin-top: 6px;
}

.hf-editor-form-field.hf-auto-width select {
    width: auto;
}

/* Label Position */
.hf-editor-form-field.hf-label-position-top .hf-editor-field-container {
    flex-direction: column;
}

.hf-editor-form-field.hf-label-position-left .hf-editor-field-container,
.hf-editor-form-field.hf-label-position-right .hf-editor-field-container {
    gap: 20px;
}

.hf-editor-form-field.hf-label-position-left .hf-editor-field-label {
    width: 200px;
    flex: 0 0 200px;
    margin: 0;
}

.hf-editor-form-field.hf-label-position-right .hf-editor-field-label {
    width: 200px;
    flex: 0 0 200px;
    order: 2;
}

.hf-editor-form-field.hf-label-position-hide .hf-editor-field-label {
    display: none;
}

/* Label Alignment */
.hf-editor-form-field.hf-label-alignment-right .hf-editor-field-label {
    text-align: right;
}

.hf-editor-form-field.hf-label-alignment-center .hf-editor-field-label {
    text-align: center;
}

/* Text Alignment */
.hf-editor-form-field.hf-text-alignment-center .hf-editor-field-elements {
    text-align: center;
}

.hf-editor-form-field.hf-text-alignment-right .hf-editor-field-elements {
    text-align: right;
}

/* Alignment */
.hf-editor-form-field.hf-field-alignment-center .hf-editor-field-elements {
    display: flex;
    justify-content: center;
}

.hf-editor-form-field.hf-field-alignment-right .hf-editor-field-elements {
    display: flex;
    justify-content: flex-end;
}

/* Sort States */
#hf-editor-wrap ul.hf-editor-sorting li.ui-state-default:hover {
    border: 1px dashed #9999ff;
}

#hf-editor-wrap ul.hf-editor-sorting li.ui-state-default.selected {
    border: 1px solid #9999ff;
    background: rgba(153, 153, 255, 0.09);
}

/* Form Fields Action Buttons */
#hf-editor-wrap .hf-editor-form-field:hover .hf-editor-action-buttons {
    opacity: 1;
    visibility: visible;
}

#hf-editor-wrap .hf-editor-action-buttons {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    width: 100%;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
}

#hf-editor-wrap .hf-editor-action-buttons > a {
    height: 26px;
    width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #9999ff;
    color: #FFF;
    text-decoration: none !important;
}

#hf-editor-wrap .hf-editor-action-buttons > a > span {
    height: auto;
    width: auto;
    font-size: 13px;
    line-height: 1;
    display: inline-block;
}

/* Placeholder on Dragging */
#hf-editor-wrap:not(.hf-editor-has-fields) > ul > li.sortable-placeholder {
    display: none;
}

#hf-editor-wrap > ul > li.sortable-placeholder {
    height: 80px !important;
    border: 2px dashed #CCC;
    margin: 0 10px 0;
}

#hf-editor-wrap > ul > li > ul > li.sortable-placeholder {
    position: absolute;
    top: 5px;
    bottom: 5px;
    border: 0;
    width: 8px;
    background: #000;
    margin: 0;
    padding: 0;
    z-index: 9;
}

.hf-wait.hf-field-loading {
    height: 80px !important;
    margin: 0 10px 0;
    position: relative;
}

.hf-wait.hf-field-loading:after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 15px;
    width: 105px;
    background-image:
        linear-gradient(#EAEAEA 15px, transparent 0),
        linear-gradient(#EAEAEA 15px, transparent 0),
        linear-gradient(#EAEAEA 15px, transparent 0),
        linear-gradient(#EAEAEA 15px, transparent 0);
    background-repeat: no-repeat;
    background-size: 15px auto;
    background-position: 0 0, 30px 0, 60px 0, 90px 0;
    animation: hf-fill 0.6s linear infinite;
}

@keyframes hf-fill {
    0% {
        background-image: linear-gradient(#EAEAEA 15px, transparent 0), linear-gradient(#EAEAEA 15px, transparent 0), linear-gradient(#EAEAEA 15px, transparent 0), linear-gradient(#EAEAEA 15px, transparent 0);
    }

    25% {
        background-image: linear-gradient(#333 15px, transparent 0), linear-gradient(#EAEAEA 15px, transparent 0), linear-gradient(#EAEAEA 15px, transparent 0), linear-gradient(#EAEAEA 15px, transparent 0);
    }

    50% {
        background-image: linear-gradient(#EAEAEA 15px, transparent 0), linear-gradient(#333 15px, transparent 0), linear-gradient(#EAEAEA 15px, transparent 0), linear-gradient(#EAEAEA 15px, transparent 0);
    }

    75% {
        background-image: linear-gradient(#EAEAEA 15px, transparent 0), linear-gradient(#EAEAEA 15px, transparent 0), linear-gradient(#333 15px, transparent 0), linear-gradient(#EAEAEA 15px, transparent 0);
    }

    100% {
        background-image: linear-gradient(#EAEAEA 15px, transparent 0), linear-gradient(#EAEAEA 15px, transparent 0), linear-gradient(#EAEAEA 15px, transparent 0), linear-gradient(#333 15px, transparent 0);
    }
}

/* Name Field FrontEnd */
.hf-editor-field-content .hf-grouped-field[data-name-layout="full"] .hf-subfield-element-first,
.hf-editor-field-content .hf-grouped-field[data-name-layout="full"] .hf-subfield-element-middle,
.hf-editor-field-content .hf-grouped-field[data-name-layout="full"] .hf-subfield-element-last,
.hf-editor-field-content .hf-grouped-field[data-name-layout="first_last"] .hf-subfield-element-full,
.hf-editor-field-content .hf-grouped-field[data-name-layout="last_first"] .hf-subfield-element-full,
.hf-editor-field-content .hf-grouped-field[data-name-layout="first_middle_last"] .hf-subfield-element-full,
.hf-editor-field-content .hf-grouped-field[data-name-layout="first_last"] .hf-subfield-element-middle,
.hf-editor-field-content .hf-grouped-field[data-name-layout="last_first"] .hf-subfield-element-middle {
    display: none;
}

.hf-editor-field-content .hf-grouped-field[data-name-layout="first_last"] .hf-subfield-element,
.hf-editor-field-content .hf-grouped-field[data-name-layout="last_first"] .hf-subfield-element {
    grid-column: span 6 / span 6;
}

.hf-editor-field-content .hf-grouped-field[data-name-layout="first_middle_last"] .hf-subfield-element {
    grid-column: span 4/span 4;
}

.hf-editor-field-content .hf-grouped-field[data-name-layout="first_middle_last"] .hf-subfield-element.hf-subfield-element-middle {
    display: block;
}

.hf-editor-field-content .hf-grouped-field[data-name-layout="last_first"] .hf-subfield-element.hf-subfield-element-first {
    order: 2;
}

/* Divider FrontEnd */
.hf-editor-field-type-spacer .hf-editor-field-label {
    text-align: center;
    text-transform: uppercase;
    opacity: 0.5;
    position: absolute;
    display: flex;
    left: 0;
    right: 0;
    justify-content: center;
    align-items: center;
    top: 0;
    bottom: 0;
    margin: 0;
}

/* Image BackEnd */
.hf-image-preview .button {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    line-height: 1.2;
    margin: 10px 0 0;
}

.hf-image-preview-box img {
    width: 100%;
}

/* Image FrontEnd */
.hf-editor-field-type-image .hf-no-image-field {
    text-align: center;
    text-transform: uppercase;
    opacity: 0.9;
}

.hf-editor-field-type-image .hf-editor-field-container {
    width: 100%;
}

.hf-editor-field-type-image .hf-image-preview-front {
    width: var(--hf-width);
}

/* Select */
.hf-bulk-edit-link {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
    outline: 0;
    box-shadow: none;
}

.ui-dialog[aria-describedby="hf-bulk-edit-modal"] {
    z-index: 999999;
}

.ui-widget-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 8;
}

#hf-bulk-edit-modal {
    display: none;
}

#hf-bulk-edit-modal .postbox {
    border-bottom: 1px solid #EEE;
}

.hf-bulk-edit-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #EEE;
}

.hf-bulk-edit-modal-header h2 {
    font-size: 20px;
    margin: 0;
}

.hf-bulk-edit-modal-header .dismiss {
    cursor: pointer;
    font-size: 20px;
    color: #333;
}

.hf-bulk-edit-body.hf-editor-grid-container {
    margin: 20px;
    gap: 30px;
}

.hf-bulk-edit-body p {
    margin: 0 0 10px;
}

.hf-bulk-edit-body textarea {
    width: 100%;
    height: 200px;
    border: 1px solid #EEE;
    box-shadow: none;
}

.hf-bulk-edit-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    border-top: 1px solid #EEE;
}

.hf-bulk-edit-sidebar h3 {
    font-size: 16px;
    margin: 0 0 15px;
}

.hf-bulk-edit-sidebar .hf-default-opts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hf-bulk-edit-sidebar .hf-default-opts li {
    margin: 0 0 15px;
    padding: 0;
}

.hf-bulk-edit-sidebar .hf-default-opts li a {
    text-decoration: none;
}

#hf-update-bulk-options {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Heading FrondEnd*/
.hf-editor-field-type-heading h1,
.hf-editor-field-type-heading h2,
.hf-editor-field-type-heading h3,
.hf-editor-field-type-heading h4,
.hf-editor-field-type-heading h5,
.hf-editor-field-type-heading h6 {
    margin: 0;
}

.hf-editor-field-type-paragraph p {
    margin: 0;
}

/* Time BackEnd */
.hf-editor-field-type-time .hf-flex-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.hf-editor-field-type-time .hf-flex-container select {
    flex: 0 0 80px;
    width: 80px;
}

/* Range Slider FrondEnd */
.hf-editor-field-type-range_slider .hashform-range-slider-container {
    width: 100%;
}

/* Star FrontEnd */
.hf-editor-field-content .hashform-star-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.hf-editor-field-content .hashform-star-group .hf-star-rating {
    font-size: 25px;
}

.hf-editor-field-content .hashform-star-group input {
    display: none;
}

/* Checkbox/Radio FrontEnd */
.hf-editor-field-type-radio .hf-choice label,
.hf-editor-field-type-checkbox .hf-choice label {
    cursor: pointer;
    display: flex;
    gap: 10px;
    align-items: center;
}

.hf-editor-field-content .hf-choice input[type="checkbox"],
.hf-editor-field-content .hf-choice input[type="radio"] {
    margin: 0;
}

.hf-editor-field-type-image_select .hf-choice-container,
.hf-editor-field-type-radio .hf-choice-container,
.hf-editor-field-type-checkbox .hf-choice-container {
    display: grid;
    gap: 10px 30px;
}

.hf-options-layout-inline.hf-editor-field-type-radio .hf-choice-container,
.hf-options-layout-inline.hf-editor-field-type-checkbox .hf-choice-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hf-options-layout-1.hf-editor-field-type-radio .hf-choice-container,
.hf-options-layout-1.hf-editor-field-type-checkbox .hf-choice-container {
    grid-template-columns: repeat(1, 1fr);
}

.hf-options-layout-2.hf-editor-field-type-radio .hf-choice-container,
.hf-options-layout-2.hf-editor-field-type-checkbox .hf-choice-container {
    grid-template-columns: repeat(2, 1fr);
}

.hf-options-layout-3.hf-editor-field-type-radio .hf-choice-container,
.hf-options-layout-3.hf-editor-field-type-checkbox .hf-choice-container {
    grid-template-columns: repeat(3, 1fr);
}

.hf-options-layout-4.hf-editor-field-type-radio .hf-choice-container,
.hf-options-layout-4.hf-editor-field-type-checkbox .hf-choice-container {
    grid-template-columns: repeat(4, 1fr);
}

.hf-options-layout-5.hf-editor-field-type-radio .hf-choice-container,
.hf-options-layout-5.hf-editor-field-type-checkbox .hf-choice-container {
    grid-template-columns: repeat(5, 1fr);
}

.hf-options-layout-6.hf-editor-field-type-radio .hf-choice-container,
.hf-options-layout-6.hf-editor-field-type-checkbox .hf-choice-container {
    grid-template-columns: repeat(6, 1fr);
}

/* Image Selector BackEnd */
.hf-is-image-preview-box {
    height: 60px;
    width: 120px;
    border: 1px dashed #CCC;
    position: relative;
    cursor: pointer;
}

.hf-is-image-preview-box:before {
    content: "+";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #CCC;
}

.hf-is-image-preview-box.hf-image-added:before {
    display: none;
}

.hf-is-image-preview {
    margin-top: 5px;
    display: flex;
    justify-content: flex-end;
}

.hf-is-image-preview-box .hf-is-remove-image {
    position: absolute;
    font-size: 17px;
    right: 5px;
    top: 5px;
    height: 20px;
    width: 20px;
    display: none;
    background: #FF0000;
    color: #FFF;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.hf-is-image-preview-box.hf-image-added .hf-is-remove-image {
    display: flex;
}

.hf-is-image-holder img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Image Selector FrontEnd */
.hf-editor-field-type-image_select .hf-choice > label {
    margin: 0 auto;
    display: block;
}

.hf-editor-field-type-image_select .hf-field-is-checked {
    display: none;
}

.hf-editor-field-type-image_select .hf-choice input:checked + .hf-field-is-container .hf-field-is-checked {
    display: flex;
}

.hf-editor-field-type-image_select .hf-choice input {
    display: none;
}

.hf-editor-field-type-image_select .hf-field-is-container {
    position: relative;
}

.hf-editor-field-type-image_select .hf-field-is-image .hf-field-is-checked {
    position: absolute;
    right: 10px;
    top: -10px;
    font-size: 25px;
    background: #FFF;
    border-radius: 50%;
    padding: 2px;
    color: green;
    height: 30px;
    width: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9;
    align-items: center;
    justify-content: center;
}

.hf-editor-field-type-image_select .hf-field-is-image {
    min-height: 40px;
    position: relative;
    text-align: center;
}

.hf-editor-field-type-image_select .hf-field-is-image:before {
    content: "NO IMAGE";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0.4;
}

.hf-editor-field-type-image_select .hf-field-is-image img {
    display: block;
    position: relative;
    margin: 0 auto;
}

.hf-editor-field-type-image_select .hf-field-is-label {
    text-align: center;
    margin-top: 10px;
}

.hf-options-layout-inline.hf-editor-field-type-image_select .hf-choice-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.hf-options-layout-inline.hf-editor-field-type-image_select .hf-choice-container .hf-choice {
    width: var(--hf-image-width, 250px);
}

.hf-options-layout-1.hf-editor-field-type-image_select .hf-choice-container {
    grid-template-columns: repeat(1, minmax(auto, var(--hf-image-width, 250px)));
}

.hf-options-layout-2.hf-editor-field-type-image_select .hf-choice-container {
    grid-template-columns: repeat(2, minmax(auto, var(--hf-image-width, 250px)));
}

.hf-options-layout-3.hf-editor-field-type-image_select .hf-choice-container {
    grid-template-columns: repeat(3, minmax(auto, var(--hf-image-width, 250px)));
}

.hf-options-layout-4.hf-editor-field-type-image_select .hf-choice-container {
    grid-template-columns: repeat(4, minmax(auto, var(--hf-image-width, 250px)));
}

.hf-options-layout-5.hf-editor-field-type-image_select .hf-choice-container {
    grid-template-columns: repeat(5, minmax(auto, var(--hf-image-width, 250px)));
}

.hf-options-layout-6.hf-editor-field-type-image_select .hf-choice-container {
    grid-template-columns: repeat(6, minmax(auto, var(--hf-image-width, 250px)));
}

/* Quantity FrontEnd */
.hf-editor-field-type-spinner .hf-quantity-input {
    display: flex;
}

.hf-editor-field-type-spinner .hf-quantity-input input {
    -moz-appearance: textfield;
    padding-left: 70px !important;
    padding-right: 70px !important;
    display: flex;
    text-align: center;
}

.hf-editor-field-type-spinner .hf-quantity-input input::-webkit-outer-spin-button,
.hf-editor-field-type-spinner .hf-quantity-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hf-editor-field-type-spinner .hf-quantity-input span {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.hf-editor-field-type-spinner .hf-quantity-input .mdi-minus {
    margin-right: -60px;
    border-right: 1px solid #8c8f94;
}

.hf-editor-field-type-spinner .hf-quantity-input .mdi-plus {
    margin-left: -60px;
    border-left: 1px solid #8c8f94;
}

/* Unit BackEnd */
.hf-form-input-unit {
    display: flex;
}

.hf-form-input-unit input {
    width: 100px;
    flex: 0 0 80px;
    margin: 0;
    border-radius: 3px 0 0 3px;
}

.hf-form-input-unit select {
    width: 50px;
    flex: 0 0 60px;
    margin: 0 0 0 -1px;
    border-radius: 0 3px 3px 0;
    text-align: center;
}

/* Divider */
.hf-editor-field-type-separator .hf-editor-field-container {
    width: 100%;
}

.hf-editor-field-type-separator .hf-separator-border {
    flex-grow: 1;
    max-width: var(--hf-width);
    border-color: #000;
}

/* HTML */
.hf-editor-field-type-html .hf-editor-field-container {
    width: 100%;
}

.hf-editor-field-type-html .hf-custom-html-field {
    flex-grow: 1;
    max-width: var(--hf-width);
}

.hf-form-text-editor * {
    box-sizing: content-box !important;
}

/* Paragraph */
.hf-editor-field-type-paragraph .hf-editor-field-container {
    width: 100%;
}

.hf-editor-field-type-paragraph .hf-paragraph-field {
    flex-grow: 1;
    max-width: var(--hf-width);
}

.hf-form-textarea textarea {
    height: 100px;
}

/* Heading */
.hf-editor-field-type-heading .hf-editor-field-container {
    width: 100%;
}

.hf-editor-field-type-heading .hf-heading-field {
    flex-grow: 1;
    max-width: var(--hf-width);
    line-height: 1.3;
}

/* Address BackEnd */
.hf-field-show-hide {
    margin: 0;
    padding: 0;
    border: 0;
    position: relative;
}

.hf-field-show-hide input[type=checkbox] {
    display: none;
}

.hf-field-show-hide input[type=checkbox] + label {
    margin: 0;
}

.hf-field-show-hide input[type=checkbox] + label:before {
    width: 32px;
    height: 18px;
    content: "";
    background: #00AC64;
    display: block;
    border-radius: 18px;
}

.hf-field-show-hide input[type=checkbox] + label:after {
    content: "";
    position: absolute;
    height: 14px;
    width: 18px;
    transition: all 0.2s ease;
    background: #FFF;
    top: 2px;
    border-radius: 20px;
    left: 12px;
}

.hf-field-show-hide input[type=checkbox]:checked + label:before {
    background: #DDD;
}

.hf-field-show-hide input[type=checkbox]:checked + label:after {
    left: 2px;
}

/* Custom HTML FrondEnd Field */
.hf-custom-html-field {
    text-align: center;
    height: 50px;
    display: flex;
    align-items: center;
    width: 100%;
    background: #FFF;
    border-radius: 4px;
    box-shadow: 0 0px 2px rgba(0, 0, 0, .05);
    border: 2px dashed #EEE;
    padding: 40px;
    text-align: center;
    justify-content: center;
}


/* Field Options Tab */
.hf-field-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.hf-field-panel-header h3 {
    font-size: 14px;
    margin: 0;
}

h4.hf-field-heading {
    font-size: 14px;
    margin: 0;
}

.hf-form-container h4.hf-validation-header {
    margin: 0;
    font-size: 14px;
}

.hf-form-row label {
    display: block;
    margin: 0 0 6px;
}

.hf-form-row label.hf-label-with-attr {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hf-form-row label.hf-field-desc {
    margin: 6px 0 0;
}

.hf-form-row .hf-sub-field-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 6px;
}

.hf-form-row input[type=text],
.hf-form-row input[type=number],
.hf-form-row input[type=email],
.hf-form-row input[type=url],
.hf-form-row input[type=tel],
.hf-form-row input[type=range],
.hf-form-row textarea,
.hf-form-row select {
    width: 100%;
    vertical-align: middle;
    max-width: 100%;
}

.hf-form-row input[type=number] {
    padding-right: 0;
}

.hf-form-row ul.hf-option-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.hf-form-row .hf-option-list li {
    margin: 0;
    padding: 0;
}

.hf-form-row .hf-option-list .hf-single-option {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.hf-form-row .hf-option-list .hf-single-option.hf-hidden {
    display: none;
}

.hf-form-row .hf-single-option .mdi.mdi-drag {
    padding: 10px;
    font-size: 24px;
}

.hf-form-row .hf-single-option .hf-remove-field {
    font-size: 18px;
    box-shadow: none;
    outline: 0;
}

.hf-option-list .hf-single-option input[type=checkbox],
.hf-option-list .hf-single-option input[type=radio] {
    margin: 0;
}

.hf-option-add-list {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.hf-option-add-list > a {
    border: 1px solid #8c8f94;
    padding: 8px 10px;
    color: #3c434a;
    border-radius: 3px;
    box-shadow: none;
    outline: 0;
}

/* === Settings Tabs === */
.hf-settings-tab {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0 5px;
    padding: 0;
}

.hf-settings-tab li {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    justify-content: flex-end;
}

.hf-settings-tab li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 50px;
    border-radius: 40px 0 0 40px;
    color: #333;
    text-decoration: none;
    outline: 0;
    box-shadow: none;
}

.hf-settings-tab li a:hover {
    background: #FFF;
}

.hf-settings-tab li.hf-active a {
    background: #ddedf8;
}

.hf-settings-tab li a i {
    font-size: 1.2em;
}

/* =========== Form Page Listing =========== */
.hf-no-form {
    text-align: center;
    clear: both;
    position: relative;
    top: 30px;
    border: 1px solid #CCC;
    background: #FFF;
    padding: 40px;
}

.hf-no-form h3 {
    font-size: 24px;
    margin: 0 0 30px;
}

.hf-no-form p {
    margin: 0;
}

/* =========== Add New Form Modal =========== */
#hf-shortcode-form-modal,
#hf-add-form-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    margin-left: 160px;
    z-index: 99999;
}

#hf-shortcode-form-modal {
    margin-left: 0;
}

#hf-shortcode-form-modal.hf-open,
#hf-add-form-modal.hf-open {
    display: block;
}

.hf-shortcode-modal-wrap,
.hf-add-form-modal-wrap {
    position: fixed;
    width: 500px;
    border: 1px solid #EEE;
    background: #FFF;
    border-radius: 3px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 40px;
}

.hf-shortcode-modal-wrap h3,
.hf-add-form-modal-wrap h3 {
    margin: -40px -40px 20px;
    padding: 20px 40px;
    border-bottom: 1px solid #EEE;
}

.hf-shortcode-modal-wrap .hf-form-row,
.hf-add-form-modal-wrap .hf-form-row {
    margin-bottom: 30px;
}

.hf-add-form-modal-wrap .hf-form-row input[type="text"] {
    width: 100%;
}

.hf-shortcode-modal-wrap .hf-form-row input[type="text"] {
    width: 100%;
    background: #f8f8f8;
    color: #444444;
    font-family: monospace;
    font-size: 16px;
    padding: 10px 55px 10px 10px;
    text-align: center;
}

.hf-shortcode-footer,
.hf-add-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hf-shortcode-footer a,
.hf-add-form-footer a,
.hf-add-form-footer button {
    padding: 12px 20px;
    border: 1px solid #333;
    background: none;
    text-decoration: none;
    border-radius: 3px;
    color: #333;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
}

.hf-add-form-footer button {
    background: #333;
    color: #FFF;
    display: flex;
    gap: 10px;
    align-items: center;
}

.hf-add-form-footer button.hashform-updating:after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid;
    border-color: #FFF;
    border-right-color: transparent;
    animation: hf-spin 0.4s infinite linear;
}

#hf-add-template .hf-form-row {
    position: relative;
}

#hf-add-template .hf-form-row .mdi {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 1px solid #BBB;
    height: 36px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    border-radius: 4px;
    color: #444;
}

#hf-add-template .hf-form-row .mdi:hover {
    border-color: #AAA;
    color: #111;
    background: #EEE;
}

.hf-shortcode-footer {
    justify-content: flex-end;
}

.hf-copied {
    text-align: center;
    color: #198754;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease;
}

form.hf-success .hf-copied {
    opacity: 1;
    visibility: visible;
}

/* =========== Add New Form Page =========== */
.hf-updated-info {
    position: fixed;
    top: 100px;
    right: 30px;
    background: green;
    color: #FFF;
    width: 300px;
    padding: 20px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 99;
}

.hf-updated-info span {
    font-size: 20px;
}

.hashform-ajax-udpate-button.hashform-updating:after,
.hf-loading-button:after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid;
    border-color: inherit;
    border-right-color: transparent;
    animation: hf-spin 0.4s infinite linear;
}

@keyframes hf-spin {
    to {
        transform: rotate(1turn)
    }
}


/* =========== Settings Page =========== */
.hf-multiple-email {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.hf-email-row {
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 15px;
    gap: 15px;
}

.hf-delete-email-row {
    background: #FF0000;
    height: 25px;
    width: 25px;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex: 0 0 25px;
    cursor: pointer;
    font-size: 14px;
}

.hf-attr-field {
    position: relative;
}

.hf-attr-field:hover .hf-add-field-attr-to-form {
    display: grid;
}

.hf-attr-field-tags {
    display: flex;
    gap: 5px;
    align-items: center;
    text-transform: uppercase;
    font-size: 12px;
}

.hf-add-field-attr-to-form {
    position: absolute;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 0;
    gap: 8px;
    background: #FFF;
    border: 1px solid #EEE;
    box-shadow: 0 0 12px 0px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 9;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.hf-add-field-attr-to-form li {
    display: block;
    margin: 0;
    padding: 8px 16px;
    border-bottom: 1px solid #EEE;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    width: 140px;
}

.hf-add-field-attr-to-form li:hover {
    background: #f8fafc;
}

.hf-add-field-attr-to-form li:last-child {
    border: 0;
}

.hf-add-field-attr-to-form li span {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 10px;
    pointer-events: none;
}

/* =========== Style Page  =========== */
.hf-form-style-template .ht-fields-panel {
    padding: 20px 20px 40px;
}

/* =========== Entries Page =========== */
#hf-form-entry-details {
    background: #FFF;
    border: 1px solid #c3c4c7;
}

#hf-form-entry-details table {
    border-collapse: collapse;
    margin: 30px;
    width: 1000px;
    max-width: 100%;
}

#hf-form-entry-details table,
#hf-form-entry-details th,
#hf-form-entry-details td {
    border: 1px solid #EEE;
}

#hf-form-entry-details th,
#hf-form-entry-details td {
    padding: 15px;
    vertical-align: top;
}

#hf-form-entry-details th {
    width: 300px;
    text-align: right;
}

#hf-form-entry-details td p{
    margin: 0 0 20px;
}

#hf-form-entry-details td p:last-child {
    margin: 0;
}

#hf-form-entry-details tr:hover {
    background: #f8fafc;
}

#hf-form-entry-details img {
    max-width: 150px;
}

.hf-form-entry-preview {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #EEE;
}

.hf-form-entry-preview:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.hf-form-entry-preview a {
    text-decoration: none;
    outline: 0;
    box-shadow: none;
}

.hf-form-entry-preview .hf-attachment-icon {
    width: 40px;
    border: 1px solid #666;
    border-radius: 6px;
    padding: 4px;
}

.hf-empty-row {
    display: none;
}

.hf-form-entry-navigation {
    display: inline-flex;
    gap: 15px;
}

.hf-form-entry-navigation > a {
    display: flex;
    gap: 5px;
    background: #EEE;
    font-size: 12px;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 2px;
    text-decoration: none;
    color: #333;
    outline: 0 !important;
    box-shadow: none;
    font-weight: bold;
}

.hf-form-entry-navigation > a:hover:not(.hf-disabled) {
    background: #ddedf8;
}

.hf-form-entry-navigation > a.hf-disabled {
    opacity: 0.7;
    cursor: auto;
}

/* Dropzone */
.hf-dropzone-wrapper {
    border: 2px dashed #91b0b3;
    color: #92b0b3;
    position: relative;
    height: 150px;
    max-width: 500px;
    margin-bottom: 10px;
}

.hf-style-sidebar .hf-dropzone-wrapper {
    height: 90px;
}

.hf-dropzone-desc {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-direction: column;
}

.hf-dropzone-desc .mdi {
    font-size: 22px;
}

.hf-dropzone,
.hf-dropzone:focus {
    position: absolute;
    outline: none !important;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

.hf-dropzone-wrapper:hover,
.hf-dropzone-wrapper.dragover {
    background: #ecf0f5;
}

.hf-preview-zone {
    border: 1px dashed #CCC;
    max-width: 500px;
    margin-bottom: 5px;
    position: relative;
}

.hf-preview-zone .hf-box-solid {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    margin-bottom: 0;
}

.hf-preview-zone .hf-remove-preview {
    position: absolute;
    right: 10px;
    top: 10px;
    color: red;
    border: none;
    background: none !important;
    vertical-align: top;
    text-decoration: none;
    font-size: 16px;
    line-height: 1;
    min-height: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.hf-preview-zone.hidden + .hf-dropzone-wrapper + #hashform_import {
    display: none;
}

/* =========== Setting Main Menu Page  =========== */
#hf-settings-wrap {
    background: #FFF;
    border: 1px solid #c3c4c7;
}

.hf-page-title {
    border-bottom: none;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000;
}

.hf-page-title h3 {
    margin: 0;
    font-size: 18px;
    color: #FFF;
    font-weight: normal;
    text-transform: uppercase;
}

.hf-footer {
    background: #FFF;
    float: none;
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #c3c4c7;
}

/* =========== All Grid CSS =========== */
.hf-grouped-field {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.hf-grouped-field > * {
    grid-column: span 12 / span 12;
}

.hf-grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.hf-grid-container > * {
    grid-column: span 6;
}

.hf-editor-grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 0 5px;
}

.hf-editor-grid-container > * {
    grid-column: span 12 / span 12;
}

.hf-grid-12 {
    grid-column: span 12 / span 12;
}

.hf-grid-11 {
    grid-column: span 11 / span 11;
}

.hf-grid-10 {
    grid-column: span 10 / span 10;
}

.hf-grid-9 {
    grid-column: span 9 / span 9;
}

.hf-grid-8 {
    grid-column: span 8 / span 8;
}

.hf-grid-7 {
    grid-column: span 7 / span 7;
}

.hf-grid-6 {
    grid-column: span 6 / span 6;
}

.hf-grid-5 {
    grid-column: span 5 / span 5;
}

.hf-grid-4 {
    grid-column: span 4 / span 4;
}

.hf-grid-3 {
    grid-column: span 3/span 3;
}

.hf-grid-2 {
    grid-column: span 2/span 2;
}

.hf-grid-1 {
    grid-column: span 1/span 1;
}

/* SMTP Page */
.hf-smtp-page {
    width: 600px;
    margin: 30px auto;
    background: #FFF;
    padding: 40px;
    border: 1px solid #ECECEC;
}

.hf-smtp-page h3 {
    margin: 0 0 15px;
}

.hf-smtp-page p {
    font-size: 15px;
    margin: 0 0 25px;
}

/* =========== Admin Preview  =========== */
.hf-form-preview {
    max-width: 1000px;
    margin: 30px auto;
}

.hf-flex {
    display: flex;
    gap: 10px;
}

#hf-test-email-button {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hf-error {
    color: #ff3333;
    margin-top: 5px;
}

.hf-success {
    color: #198754;
    margin-top: 5px;
}


/* Hashform Settings Conditional logic */
.hf-condition-repeater-blocks {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.hf-condition-repeater-block {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #EEE;
    padding: 15px;
}

.hf-condition-seperator {
    font-weight: bold
}

.hf-condition-remove {
    cursor: pointer;
    background: #FF0000;
    color: #FFF;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    border-radius: 4px;
    font-size: 18px;
}

.hf-add-more-condition {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    background: #10a0ff;
    color: #FFF;
    border: 0;
    text-decoration: none;
    cursor: pointer;
    border-radius: 2px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
}

.hf-add-more-condition:hover {
    background: #000;
}


#hf-entry-list {
    clear: both;
    margin-top: 20px;
}

/** Admin Notice **/
.hashform-notice.notice {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px 20px 20px 40px !important;
    position: relative;
}

.hashform-notice.notice .hashform-notice-logo {
    width: 55px;
    flex: 55px 0 0;
}

.hashform-notice.notice .hashform-notice-logo svg {
    fill: #72aee6;
    display: block;
}

.hashform-notice.notice p {
    padding: 0;
    margin: 0 0 15px;
    font-size: 16px;
}

.hashform-notice.notice .button .dashicons {
    height: auto;
    width: auto;
    margin: 0 0 0 6px;
    vertical-align: middle;
    font-size: 16px;
}

.hashform-notice a.notice-dismiss {
    text-decoration: none;
}


.hf-template-preview,
.hf-form-preview {
    width: 100%;
    height: calc(100% - 10px);
    position: relative;
}

#hf-template-preview-iframe,
#hf-form-preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.hf-footer .button {
    padding: 13px 20px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
    outline: 0 !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 9;
}

.hf-footer .button.hf-button-loader:after {
    content: "";
    border: 2px solid #FFF;
    border-radius: 50%;
    border-right-color: transparent;
    height: 8px;
    width: 8px;
    animation-name: hf-spin;
    animation-duration: 0.3s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}



/* Alert */
.hf-alert {
    width: 300px;
    top: -100px;
    right: 100px;
    position: fixed;
    padding: 20px;
    color: #FFF;
    border-radius: 4px;
    font-size: 16px;
    z-index: 99999;
    transition: all 0.2s ease;
    visibility: hidden;
    background: #EEE;
}

.hf-alert .hf-alert-message {
    padding-right: 30px;
}

.hf-alert .icofont-close-line {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 16px;
    cursor: pointer;
}

.hf-alert-active {
    top: 100px;
    visibility: visible;
}

.hf-alert-success {
    background-color: #42BA96;
}

.hf-alert-warning {
    background-color: #DF4759;
}