h2.swal2-title {
  line-height: 1.2em;
  color: #000000 !important;
}

.wpuf-admin {

    fieldset {
        border: 1px solid #E3E3E3;
        margin: 20px 0 0px 0;
        padding-bottom: 20px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        background: #fff;
        -moz-box-shadow: inset 0 0 5px #ccc;
        -webkit-box-shadow: inset 0 0 5px #ccc;
        box-shadow: inset 0 0 5px #ccc;
    }

    legend {
        -moz-border-radius: 5px 5px 5px 5px;
        -webkit-border-radius: 5px;
        background: #FFFFFF;
        border: 1px solid #E3E3E3;
        color: #2481C6;
        font-size: 15px;
        font-weight: bold;
        margin-left: 20px;
        padding: 5px 10px;
        text-transform: capitalize;
        -moz-box-shadow: inset 0 0 5px #ccc;
        -webkit-box-shadow: inset 0 0 5px #ccc;
        box-shadow: inset 0 0 5px #ccc;
    }

    .widefat {
        td {
            padding: 7px 12px;
            vertical-align: top;
        }
    }

    .meta {
        td {
            &.label {
                width: 140px;
                font-size: 12px;
            }
        }
        .description {
            font-size: 11px;
        }
    }

    td {
        &.label {
            font-size: 12px;
        }
    }

    .options {
        td {
            &:nth-child(odd) {
                background-color: F9F9F9;
            }
        }
    }

    .nav-tab {
        font-size: 15px;
        margin: 0 0px -1px 0;
    }
}

.wpuf_admin {

    ul {
        margin: 10px;
    }

    li {
        padding: 0 0 10px;
        margin: 0 0 10px;
        border-bottom: 1px solid #E7E7E7;
        line-height: 20px;

        &:last-child {
            border-bottom: none;
        }
    }

    span {
        &.label {
            float: left;
            height: 20px;
            line-height: 20px;
            width: 200px;
        }
    }
}

span {
    &.wpuf_help {
        height: 16px;
        width: 16px;
        background: url('../images/help.png') no-repeat;
        cursor: pointer;
        float: right;
        display: none;
    }
    &.wpuf-loading {
        height: 16px;
        width: 16px;
        background: url('../images/wpspin_light.gif') no-repeat;
        padding: 0;
        margin: 5px 10px;
        right: -40px;
        top: 0;
        float: left;
    }
}

#option-saved {
    -moz-border-radius: 5px 5px 5px 5px;
    background: none repeat scroll 0 0 orange;
    border: 1px solid #CCCCCC;
    color: #FFFFFF;
    display: none;
    font-size: 30px;
    padding: 50px;
    position: absolute;
    left: 50%;
    z-index: 99;
    -moz-box-shadow: 0 0 8px rgba(82,168,236,.5);
    -webkit-box-shadow: 0 0 8px rgba(82,168,236,.5);
}

.wpuf_loading {
    height: 16px;
    width: 16px;
    background: url('../images/wpspin_light.gif') no-repeat;
    padding: 0 0 0 20px;
    margin-bottom: 10px;
}

.wpuf-status-completed {
    background: url(../images/completed.png);
    background-size: cover;
    width: 18px;
    height: 18px;
    display: block;
}

.wpuf-status-processing {
    background: url(../images/processing.png);
    background-size: cover;
    width: 18px;
    height: 18px;
    display: block;
}

.wpuf-footer-help {
    box-sizing: border-box;
    width: auto;
    margin-left: -20px;
    padding: 100px 0.8rem 2rem 0.8rem;
    text-align: center;
    background: white;
    .wpuf-footer-help-content {
        border: 1px solid #ddd;
        border-radius: 30px;
        padding: 15px 25px;
        font-size: 15px;
    }
}

.wpuf-footer-help-content {
    .dashicons {
        color: #47c1bf;
        font-size: 30px;
        height: 30px;
        width: 30px;
        margin-top: -5px;
    }
}

.wpuf-settings-wrap {
    display: flex;
    background: #fff;
    box-shadow: 0 0 0 1px #c8d7e1, 0 1px 2px #e9eff3;

    h2.nav-tab-wrapper {
        flex: 1;
        border-bottom: none;
        padding: 0;
        background-color: #f1f1f1;
        border-right: 1px solid #c8d7e1;

        a.nav-tab {
            float: none;
            display: flex;
            -webkit-align-items: center;
            align-items: center;
            border: none;
            padding: 14px;
            border-bottom: 1px solid #c8d7e1;
            font-weight: 500;
            font-size: 13px;
            border-right: 1px solid #c8d7e1;
            color: #444;
            text-decoration: none;
            margin: 0 -1px 0 0;
            background-color: #f1f1f1;

            &.nav-tab-active {
                background: #fff;
                border-right: 1px solid #fff;
            }

            .dashicons {
               margin-right: 10px;
            }

            &#wpuf_general-tab .dashicons {
              color: #9b59b6;
            }

            &#wpuf_dashboard-tab .dashicons {
              color: #6c75ff;
            }

            &#wpuf_profile-tab .dashicons {
              color: #00aeff;
            }

            &#wpuf_frontend_posting-tab .dashicons {
              color: #AD1457;
            }

            &#wpuf_my_account-tab .dashicons {
              color: #64DD17;
            }

            &#wpuf_payment-tab .dashicons {
              color: #e67e22;
            }

            &#wpuf_mails-tab .dashicons {
              color: #115da7;
            }

            &#wpuf_sms-tab .dashicons {
              color: #00aeff;
            }

            &#wpuf_payment_invoices-tab .dashicons {
              color: #1abc9d;
            }

            &#user_directory-tab .dashicons {
              color: #e74c3c;
            }

            .pro-icon-title {
                margin-left: auto;
            }
        }
    }

    .metabox-holder {
        flex: 3;
        margin-bottom: 30px;
        padding-left: 30px;
        position: relative;

        h2 {
            border-bottom: 1px solid #c8d7e1;
            padding-bottom: 15px;
            margin-top: 14px;
        }

        .form-table th {
            padding-left: 0;
        }

        p.submit {
            margin-left: -10px;
            border-top: 1px solid #f1f1f1;
            padding-top: 20px;
            text-align: right;
            padding-right: 34px;

            .button-primary {
                font-size: 15px;
                height: 45px;
                line-height: 100%;
                padding: 0px 20px;
                font-weight: normal;
            }
        }
    }
}

/**
 * Profile Edit Page
 */
#profile-page {

    .wpuf-user-subscription {
        background-color: #fff;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
        border: 1px solid #e5e5e5;
        margin-top: 15px;

        h3 {
            border-bottom: 1px solid #eee;
            padding: 12px 15px;
            font-size: 16px;
            margin: 0;
        }

        .wpuf-user-sub-info {
            // padding: 10px 15px;
        }

        .wpuf-pack-dropdown {

            th {
                padding-left: 15px;
            }
        }

        .wpuf-sub-actions {
            padding: 10px;
            border-top: 1px solid #ddd;
            background: #f5f5f5;
            overflow: hidden;
            display: block;

            .wpuf-delete-pack-btn {
                float: right;
            }
        }

        .wpuf-sub-summary {
            background: #f8f8f8;
            border-bottom: 1px solid #eee;
            margin-bottom: 10px;
            display: flex;
            flex-wrap: wrap;

            * {
                box-sizing: border-box;
            }

            .sub-name,
            .sub-price {
                width: 50%;
                padding: 10px 15px;

                span {
                    display: block;

                    &.label {
                        font-weight: bold;
                    }
                }
            }

            .sub-name {
                border-right: 1px solid #eee;
            }

            .info {
                flex-basis: 100%;
                padding: 0 15px;
                background: #fef5be;
                border-top: 1px solid #ffe98d;
            }
        }

        .wpuf-sub-section {
            padding: 0 15px;
            border-bottom: 1px solid #eee;

            h4 {
                font-size: 15px;
            }

            &:last-child {
                border-bottom: none;
                padding-bottom: 15px;
            }
        }
    }

}

.wpuf-premium {

    .wp-badge {
        background: #40ce65 url(../images/wpuf-pro.png) no-repeat;
        background-size: 100px 90px;
        background-position: 35px 5px;
    }

    .wpuf-upgrade-sticky-footer {
        position: fixed;
        bottom: 0;
        background: #fff;
        width: ~"calc(100% - 195px)";
        z-index: 9;
        margin-left: -25px;
        text-align: center;
        border: 1px solid #dfdfdf;
        padding: 20px 0 10px 0;
        border-bottom: none;
        display: flex;
        border-top: 3px solid #FF9800;

        .text-left {
            width: 70%;

            h3 {
                margin: 0;
            }
        }

        .text-right {
            width: 30%;
            padding-top: 15px;

            .button-primary {
                background: #00aadc;
                border-color: #0087be;
                text-shadow: none;
                padding: 5px 20px;
                height: auto;
                margin: 0.3125rem 0;
                font-size: 16px;

                &:hover {
                    border-color: #005082;
                }
            }
        }
    }

    .four-col .col {
        -webkit-align-self: flex-start;
        -ms-flex-item-align: start;
        align-self: flex-start;
        min-width: 23%;
        max-width: 23%;
    }

    .feature-section {

        .feature-wrap {
            background-color: #fafafa;
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
            border: 1px solid #e5e5e5;

            .feature-details {
                padding: 0 20px 10px 20px;

                h3 a {
                    text-decoration: none;
                }

                ul {
                    -moz-column-count: 4;
                    -moz-column-gap: 10px;
                    -webkit-column-count: 4;
                    -webkit-column-gap: 10px;
                    column-count: 4;
                    column-gap: 10px;
                    padding: 0;
                    margin: 0;
                    font-size: 14px;

                    li {
                      padding-left: 1em;
                      text-indent: -.7em;
                    }

                    li::before {
                      content: "• ";
                      color: red; /* or whatever color you prefer */
                    }
                }
            }

            .feature-image {
                border-bottom: 1px solid #e5e5e5;
                margin-bottom: 15px;

                img {
                    max-width: 100%;
                    width: 100%;
                    height: auto;
                    margin-bottom: 0;
                }
            }
        }
    }

    .module-wrap {
        height: 122px;
        display: flex;
        flex-wrap: wrap;
        background-color: #fafafa;
        margin-bottom: 20px;
        box-shadow: 0 0 5px 0 #ccc;

        .module-image {
            width: 25%;
            margin-right: 4%;

            img {
                width: 100%;
            }
        }

        .module-details {
            margin: 0;
            width: 70%;

            h3 {
                margin: 10px 0 0 0;

                a {
                    text-decoration: none;
                }
            }
        }
    }
}

#wpuf_mails{
    table{
        tbody{
            tr{

                &.hide{
                    display: none;
                }

                &.heading{
                    cursor: pointer;
                    background-color: #f1f1f1;
                    border: 1px solid #c8d7e1;

                    label{
                        font-size: 13px;
                        color: #444;
                        font-weight: 500;

                        span{
                            color: #0073aa;
                            padding-right: 6px;

                            &.dashicons-admin-generic{
                                color: #9b59b6;
                            }

                            &.dashicons-universal-access-alt{
                                color: #AD1457;
                            }

                            &.dashicons-unlock{
                                color: #9b59b6;
                            }

                            &.dashicons-email-alt{
                                color: #6c75ff;
                            }

                            &.dashicons-money{
                                color: #64DD17;
                            }

                            &.dashicons-admin-users{
                                color: #00aeff;
                            }

                            &.dashicons-groups{
                                color: #e67e22;
                            }

                            &.dashicons-dismiss{
                                color: #115da7;
                            }

                            &.dashicons-smiley{
                                color: #e74c3c;
                            }
                        }
                    }

                    th{
                        padding: 16px 10px 16px 30px;
                    }
                }

                th{
                    padding-left: 30px;
                }

            }
        }

    }
}

tr.wpuf-form-layouts{
    ul{
        margin: 0;
        overflow: hidden;

        li{
            margin: 0;
            padding: 0 15px 15px 0;
            position: relative;
            width: 50%;
            float: left;

            input[type="radio"]{
                display: none;
            }

            img{
                max-width: 100%;
                cursor: pointer;
            }

            label{
                font-size: 20px;
                font-weight: 500;
                margin-bottom: 20px;
            }

            &:hover {
                opacity: 0.3;
                transition: .3s;
            }

            &.active:before{
                position: absolute;
                top: 0;
                right: 15px;
                width: 40px;
                height: 40px;
                font-family: dashicons;
                font-size: 40px;
                color: #18d118;
                content: "\f147";
                text-align: center;
                background: inherit;
                line-height: 40px;
            }
        }
    }
}

ul.wpuf-form .wpuf-submit input[type=submit]{
    font-size: 16px;
    padding: 5px 15px;
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #0085ba;
    border-color: #0073aa #006799 #006799;
    -webkit-box-shadow: 0 1px 0 #006799;
    box-shadow: 0 1px 0 #006799;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
}

div#form-preview ul.wpuf-form li.wpuf_hidden_field {
    display: block;
    opacity: 0.3;
}

ul.wpuf-form{
    .wpuf-field-columns{
        padding: 0;
        border: 0;
        overflow: hidden;

        &.has-columns-1{
            .wpuf-column{
                .wpuf-column-inner-fields{
                    width: 100%;
                    float: left;

                    &:nth-child(1){
                        padding-right: 0!important;
                    }
                }

                .column-1{
                    .ui-resizable-handle{
                        display: none !important;
                    }
                }

                .column-2.wpuf-column-inner-fields,
                .column-3.wpuf-column-inner-fields{
                    display: none;
                }
            }
        }

        &.has-columns-2{
            .wpuf-column{
                .wpuf-column-inner-fields{
                    width: 50%;
                    float: left;

                    &:nth-child(2){
                        padding-right: 0!important;
                    }
                }

                .column-2{
                    .ui-resizable-handle{
                        display: none !important;
                    }
                }

                .column-3.wpuf-column-inner-fields{
                    display: none;
                }
            }
        }

        &.has-columns-3{
            .wpuf-column{
                .wpuf-column-inner-fields{
                    width: 33.33%;
                    float: left;

                    &:nth-child(3){
                        padding-right: 0!important;
                    }
                }
            }
        }

        .wpuf-column-field-inner-columns{
            margin-left: 0;
            margin-right: 0;

            .wpuf-column{
                padding: 0;
                border: 0;
                float: none;
                width: 100%;
                display: flex;

                .wpuf-column-inner-fields{
                    padding: 0 5px 0 0;
                    position: relative;

                    ul.wpuf-column-fields-sortable-list{
                        margin: 0;
                        padding: 0 0 50px 0;

                        li.column-field-items{
                            &.current-editing{
                                background-color: rgba(255, 185, 0, 0.15);
                            }

                            &:last-child{
                                margin-bottom: 0;
                            }

                            &:hover .wpuf-column-field-control-buttons{
                                display: block;
                            }

                            .wpuf-column-field-control-buttons{
                                position: absolute;
                                top: 0;
                                left: 0;
                                z-index: 10;
                                display: none;
                                width: 100%;
                                height: 100%;
                                margin: 0;
                                text-align: center;
                                background: rgba(255, 185, 0, 0.08);
                                border: 1px dashed #ffb900;

                                p{
                                    position: absolute;
                                    top: 50%;
                                    left: 50%;
                                    margin: -10px 0 0 -43px;
                                    line-height: 1;
                                    color: #eee;
                                    background-color: #23282d;
                                }

                                i{
                                    cursor: pointer;
                                    padding: 5px;
                                    font-size: 10px;

                                    &:hover{
                                        background-color: #0073aa;
                                    }

                                    &.move{
                                        cursor: move;
                                    }
                                }
                            }
                        }
                    }
                    .drop-message{
                        text-align: center;
                        border: 1px dashed #ffb900;
                        border-top: 0;
                        background: rgba(255, 185, 0, 0.08);
                        margin: 0;
                        padding: 15px 0;
                    }
                }
            }
        }
    }
}

#form-preview-stage .field-items .wpuf-field-columns + div.control-buttons,
#form-preview-stage .field-items .wpuf-repeat-field + div.control-buttons{
    top: 10px;
    z-index: 10;
    height: auto;
    margin: 0;
    background: transparent;
    border: 0;
}

.wpuf-setup-menu-link{
    display: none;
}

tr.pro-preview td {
    display: inline-block;
    position: relative;
}

.pro-preview-html {
    position: relative;
}

tr.pro-preview td:hover .pro-field-overlay,
.pro-preview-html:hover .pro-field-overlay {
    -webkit-opacity: 1;
    opacity: 1;
    display: block;
}

tr.pro-preview .pro-field-overlay,
.pro-preview-html .pro-field-overlay,
.metabox-holder .pro-field-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(236, 253, 245, 0.5);
    border-radius: 5px;
    top: 0;
    left: 0;
    display: none;
    border: 1px dashed #10b981;
}

tr.pro-preview-html th {
    width: 50%;
}

.pro-preview-html:hover ~ .pro-field-overlay {
    display: block;
}

.pro-field-overlay:hover {
    display: block;
}

/* Color picker pro preview styles */
.wpuf-color-picker-wrapper {
    position: relative;
    display: inline-block;
    min-width: 255px;
    min-height: 40px;
}

.wpuf-color-picker-wrapper .wp-picker-container {
    pointer-events: none;
}

.wpuf-color-picker-wrapper:hover .pro-field-overlay,
tr.pro-preview:hover .wpuf-color-picker-wrapper .pro-field-overlay {
    display: block;
    opacity: 1;
}

tr.pro-preview td .wp-picker-container {
    pointer-events: none;
    position: relative;
}

tr.pro-preview td:hover .wp-picker-container {
    pointer-events: none;
}

tr.pro-preview td .wp-picker-container .wp-color-result,
tr.pro-preview td .wp-picker-container input {
    cursor: not-allowed;
}

/* Ensure overlay appears above color picker */
.wpuf-color-picker-wrapper .pro-field-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(236, 253, 245, 0.5);
    border-radius: 5px;
    display: none;
    border: 1px dashed #10b981;
    z-index: 10;
    pointer-events: auto;
}

tr.pro-preview td .pro-field-overlay {
    z-index: 10;
    pointer-events: auto;
}

.wpuf-subscription-pack-settings nav .tab-current a.wpuf-button.button-upgrade-to-pro,
a.wpuf-button.button-upgrade-to-pro {
    padding: 8px 16px;
    background: #059669;
    color: #fff;
    min-height: auto;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    transition: background-color 0.2s ease;
}

.pro-field-overlay a.wpuf-button.button-upgrade-to-pro {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.wpuf-subscription-pack-settings nav .tab-current a.wpuf-button.button-upgrade-to-pro:hover,
a.wpuf-button.button-upgrade-to-pro:hover {
    background: #10b981;
}

span.pro-icon {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

span.pro-icon svg,
span.pro-icon img {
    max-width: 100%;
    height: auto;
    margin-left: 5px;
    vertical-align: middle;
}

.form-table th span.pro-icon,
.form-table label span.pro-icon {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 0;
    position: relative;
    top: -1px;
}

/* span.pro-icon.icon-white svg path {
    fill: #fff;
} */

/* label span.pro-icon svg path {
    fill: #10b981;
} */

img.profile-header, img.user-listing {
    display: block;
    width: 50%;
    background: #fff;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    margin: -25px 0 15px 30px;
    position: relative;
    line-height: 0;
    border: 1px solid #ededed;
    padding: 4px;
    -webkit-filter: grayscale(100%) opacity(.3); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%) opacity(.3);
}

img.profile-header:hover, input[type=radio]:checked + img.profile-header, img.profile-header.active,
img.user-listing:hover, input[type=radio]:checked + img.user-listing, img.user-listing.active {
    -webkit-filter: grayscale(0%) opacity(1) drop-shadow(8px 8px 5px #ccc); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%) opacity(1) drop-shadow(8px 8px 5px #ccc);
}

.wpuf-subscription-pack-settings nav ul .wpuf-pro-field-tooltip,
.wpuf-pro-field-tooltip {
    background: #000;
    width: max-content;
    padding: 25px 35px 30px 20px;
    border-radius: 5px;
    color: #fff;
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, -100%);
    transform: translate(-50%, -100%);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 99999;
    display: none;
    -webkit-opacity: 0;
    opacity: 0;
    -webkit-transition: opacity 0.8s;
    transition: opacity 0.8s;
}

h3.tooltip-header {
    color: #fff;
    font-size: 1.3rem;
}

.wpuf-subscription-pack-settings nav ul .wpuf-pro-field-tooltip ul li span.tooltip-check svg path,
.wpuf-pro-field-tooltip ul li span.tooltip-check svg path {
    fill: #139F84;
}

.wpuf-subscription-pack-settings nav ul .wpuf-pro-field-tooltip ul,
.wpuf-pro-field-tooltip ul {
    margin-bottom: 30px;
}

.wpuf-subscription-pack-settings nav ul .wpuf-pro-field-tooltip ul li,
.wpuf-pro-field-tooltip ul li {
    line-height: 1.5rem;
    font-weight: 400;
    margin-bottom: 6px;
}

span.tooltip-check {
    margin-right: 10px;
}

.wpuf-subscription-pack-settings nav ul .wpuf-pro-field-tooltip .pro-link,
.wpuf-pro-field-tooltip .pro-link {
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    margin-left: 25px;
}

.wpuf-subscription-pack-settings nav ul .wpuf-pro-field-tooltip i,
.wpuf-pro-field-tooltip i {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -12px;
    width: 24px;
    height: 12px;
    overflow: hidden;
}

.wpuf-subscription-pack-settings nav ul .wpuf-pro-field-tooltip i::after,
.wpuf-pro-field-tooltip i::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
    background-color: #000;
}

tr.pro-preview.wpuf-subscription-recurring {
    position: relative;
}

tr.pro-preview.wpuf-subscription-recurring td {
    position: initial;
}

tr.pro-preview span.pro-icon,
tr span.pro-icon-title {
    position: relative;
}

a span.pro-icon-title {
    position: relative;
}

span.pro-icon-title {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

span.pro-icon-title svg,
span.pro-icon-title img {
    max-width: 100%;
    height: auto;
    margin-left: 5px;
    vertical-align: middle;
}

a span.pro-icon-title .wpuf-pro-field-tooltip {
    left: 185px;
}

span.pro-icon-title:hover .wpuf-pro-field-tooltip {
    display: block;
    -webkit-opacity: 1;
    opacity: 1;
}

span.pro-icon:hover .wpuf-pro-field-tooltip {
    display: block;
    -webkit-opacity: 1;
    opacity: 1;
}

.wpuf-module-pro-badge {
    display: block;
    width: 39px;
    height: 22px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.wpuf-xmp-tag{
    display: inline;
}
#wpuf-search-section {
    display: flex;
    position: relative;
    align-items: center;
    color: red;
    cursor: pointer;
    justify-content: space-between;
    border-bottom: 1px solid #c8d7e1;
    height: 46px;
}
#wpuf-settings-search {
    width: 100%;
    height: 100%;
    background: #f1f1f1;
    border: 0;
    border-radius: 0;
    margin: 0;
    line-height: 20px;
    font-weight: 400;
    padding: 0 15px;
}
#wpuf-search-section .dashicons-no-alt{
    display: none;
    position: absolute;
    right: 5px;
}

.headway-header {
    display: flex;
    justify-content: space-between;

    ul {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin: 10px 0;

        li {
            &.headway-icon {
                background: #eea6d0;
                margin-right: 1rem;
                border-radius: 20px;
                width: 10px;
                height: 10px;
                position: relative;
                margin-top: 2px;

                &:hover {
                    background: #ee62b4;
                }

                span#HW_badge_cont {
                    position: absolute;
                    top: -6px;
                    left: -6px;
                }
            }

            a {
                font-size: 1rem;
                text-decoration: none;

                &:hover {
                    text-decoration: underline;
                }
            }
        }
    }
}

.wrap h2.with-headway-icon,
.wrap h2.with-headway-icon,
.wrap h2.with-headway-icon {
    display: flex;
    justify-content: space-between;

    .flex-end {
        display: flex;
        align-items: center;

        .HW_badge.HW_softHidden {
            background: #eea6d0 !important;
        }

        .flex-end .headway-icon:hover .HW_badge.HW_softHidden {
            background: #ee62b4 !important;
        }

        a.canny-link {
            font-size: 1rem;
            text-decoration: none;

            &:hover {
                text-decoration: underline;
            }
        }
    }

    #HW_frame_cont {
        top: 78px !important;
    }
}

.wpuf-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;

    input {
        display: none;

        &:checked + .slider {
            background-color: #0073aa;
        }

        &:focus + .slider {
            box-shadow: 0 0 1px #2196F3;
        }

        &:checked + .slider:before {
            transform: translateX(26px);
        }
    }

    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        transition: .2s;

        &.round {
            border-radius: 34px;
        }

        &.round:before {
            border-radius: 50%;
        }

        &::before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 4px;
            background-color: white;
            transition: .2s;
        }
    }
}

@media only screen and (max-width: 1399px) {
    a.wpuf-button.button-upgrade-to-pro {
        padding: 10px;
    }
}

.plugin-card .desc>p, .plugin-card .name {
    margin-left: 148px !important;
}

#wpcontent,
#wpfooter {
	height: unset !important;
}

// ==========================================================================
// Template Modal Styles
// Target: includes/Admin/template-parts/modal-v4.2.php
// ==========================================================================

/* Modal Base Styles - High specificity to override admin styles */
#wpwrap .wpuf-form-template-modal[role="dialog"] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background-color: #f8fafc;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;

    /* Modal Show State */
    &.wpuf-modal-show {
        opacity: 1;
        visibility: visible;
    }

    /* Modal Content Container Animation */
    .wpuf-relative {
        transform: scale(0.95);
        transition: transform 0.3s ease-in-out;
    }

    &.wpuf-modal-show .wpuf-relative {
        transform: scale(1);
    }
}

/* Body Modal Open State */
body.wpuf-modal-open {
    overflow: hidden;
}

/* Template Modal Components */
.wpuf-form-template-modal {
    /* Custom aspect ratio for square cards */
    .wpuf-aspect-square {
        aspect-ratio: 1;
    }

    /* Tailwind gradient utility classes for template cards */
    .wpuf-from-blue-500 {
        --tw-gradient-from: #3b82f6;
        --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
    }

    .wpuf-to-purple-600 {
        --tw-gradient-to: #9333ea;
    }

    .wpuf-bg-gradient-to-br {
        background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
    }

    /* Template Items Animation on Load */
    .wpuf-template-item {
        animation: wpuf-fadeInUp 0.6s ease-out forwards;
        opacity: 0;
        transform: translateY(20px);

        /* Staggered animation delays for template items */
        &:nth-child(1) { animation-delay: 0.1s; }
        &:nth-child(2) { animation-delay: 0.2s; }
        &:nth-child(3) { animation-delay: 0.3s; }
        &:nth-child(4) { animation-delay: 0.4s; }
        &:nth-child(5) { animation-delay: 0.5s; }
        &:nth-child(6) { animation-delay: 0.6s; }
        &:nth-child(7) { animation-delay: 0.7s; }
        &:nth-child(8) { animation-delay: 0.8s; }
    }

    /* Close Button Animation - Better specificity */
    .wpuf-close-btn {
        transform: scale(1);
        transition: transform 0.2s ease-in-out;

        &:hover {
            transform: scale(1.1);
        }
    }
}

/* Fade in up animation keyframes */
@keyframes wpuf-fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive improvements */
@media (max-width: 768px) {
    #wpwrap .wpuf-form-template-modal[role="dialog"] .wpuf-relative {
        padding: 1rem;
    }

    .wpuf-form-template-modal .wpuf-template-item {
        width: calc(50% - 8px);
    }
}

@media (max-width: 480px) {
    .wpuf-form-template-modal .wpuf-template-item {
        width: 100%;
    }
}

// ==========================================================================
// End Template Modal Styles
// ==========================================================================

// ==========================================================================
// AI Provider Radio Buttons Styles
// ==========================================================================

.wpuf-radio-inline-group.wpuf-ai-provider-radio {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: none;

    .wpuf-radio-inline-item {
        border: 1px solid #8C8F94;
        border-radius: 4px;
        padding: 12px 20px;
        margin: 0;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: all 0.2s ease;
        background: #fff;

        &:hover {
            border-color: #999;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        input[type="radio"] {
            margin: 0;
            cursor: pointer;
        }

        .wpuf-radio-label {
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            margin: 0;
        }

        input[type="radio"]:checked + .wpuf-radio-label {
            color: #2271b1;
        }
    }

    // Selected state for the entire label
    .wpuf-radio-inline-item:has(input[type="radio"]:checked) {
        border-color: #2271b1;
        background: #f0f6fc;
        box-shadow: 0 0 0 1px #2271b1;
    }
}

// ==========================================================================
// End AI Provider Radio Buttons Styles
// ==========================================================================

@import "help.less";
@import "whats-new.less";
@import "metabox-tabs.less";
