div.radio-with-Icon {
    display: block;
}
div.radio-with-Icon p.radioOption {
    display: inline-block;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    margin: -20px 15px;
    border: none;
    position: relative;
}
div.radio-with-Icon p.radioOption:first-child {
    margin-left: 0;
}
div.radio-with-Icon p.radioOption label {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
    padding: 10px 10px 0px 10px;
    border-radius: 10px;
    border: 1px solid #7e3fec;
    color: #7e3fec;
    cursor: pointer;
    opacity: .8;
    transition: all 0.3s ease;
    font-size: 20px;
    text-align: center;
    margin: 0 !important;
}
div.radio-with-Icon p.radioOption label i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
div.radio-with-Icon p.radioOption label:hover, div.radio-with-Icon p.radioOption label:focus, div.radio-with-Icon p.radioOption label:active {
    opacity: .9;
    background-color: #7e3fec;
    color: #fff;
    margin: 0 !important;
}
div.radio-with-Icon p.radioOption label::after, div.radio-with-Icon p.radioOption label:after, div.radio-with-Icon p.radioOption label::before, div.radio-with-Icon p.radioOption label:before {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}
div.radio-with-Icon p.radioOption label i.fa {
    display: block;
    font-size: 50px;
}
div.radio-with-Icon p.radioOption input[type="radio"] {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}
div.radio-with-Icon p.radioOption input[type="radio"]:active ~ label {
    opacity: 1;
}
div.radio-with-Icon p.radioOption input[type="radio"]:checked ~ label {
    opacity: 1;
    border: none;
    background-color: #7e3fec;
    color: #fff;
}
div.radio-with-Icon p.radioOption input[type="radio"]:hover, div.radio-with-Icon p.radioOption input[type="radio"]:focus, div.radio-with-Icon p.radioOption input[type="radio"]:active {
    margin: 0 !important;
}
div.radio-with-Icon p.radioOption input[type="radio"] + label:before, div.radio-with-Icon p.radioOption input[type="radio"] + label:after {
    margin: 0 !important;
}

#vwg-options {
    position: relative;
}

#vwg-options input,
.ui-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue',
    sans-serif !important;
}
#vwg-options input {
    font-size: 14px;
}

#review-top button.handlediv {
    display: none;
}

.vwg-swal-container-pro-info .logo-image {
    width: 70px;
    height: auto;
}

.vwg-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: start;
}

.vwg-logo-wrapper .logo-image {
    width: 70px;
    height: auto;
}

.vwg-logo-wrapper .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #7e3fec;
    margin-left: 10px;
}

.postbox-container.column-2 .postbox-header {
    pointer-events: none;
}

.postbox-container.column-2 .handle-actions {
    display: none;
}

#wpbody-content .metabox-holder {
    float: left;
    width: 100%;
}

#vwg-options #poststuff .metabox-holder .postbox-container.column-2 {
    position: sticky;
    top: 40px;
}

.ui-dialog-titlebar {
    text-align: center;
}

.img-container .boxes:hover > input.button {
    display: block !important;
    cursor: pointer;
}

#vwg-options label {
    font-weight: normal;
}

#vwg-options input#page_title,
#vwg-options input#heading,
#vwg-options textarea,
#vwg-options input#subscribe_form_title,
#vwg-options input#footer_text {
    width: 100%;
}

#vwg-options input.social-input {
    width: 50%;
}

#vwg-options input[type='checkbox'] {
    margin: 0 5px 0 0;
}

#vwg-options #poststuff .metabox-holder .postbox-container.column-1 {
    float: left;
    width: 65%;
}

#vwg-options #poststuff .metabox-holder .postbox-container.column-2 {
    float: right;
    width: 33%;
    min-width: 300px;
}

#side-sortables .postbox {
    max-width: 500px;
    min-width: 300px;
}

.wp-dialog.ui-widget-content {
    background: #fff !important;
}

label sup {
    color: #7e3fec;
    font-weight: 600;
    font-size: 10px;
    font-style: italic;
}

.form-table tr {
    border-bottom: thin solid #f0f0f1;
}
.form-table tr:last-child {
    border-bottom: none;
}

.sidebar-promo p {
    color: #3e3e3e;
    font-family: Arial;
    font-size: 14px;
    line-height: 24px;
    margin: 0 0 1.5em;
    padding: 0;
}

.get-pro-version-info p {
    color: #3e3e3e;
    font-family: Arial;
    font-size: 14px;
    line-height: 24px;
    margin: 0 0 1em;
    padding: 0;
}

.get-pro-version-info p.feature {
    color: #3e3e3e;
    font-family: Arial;
    font-size: 14px;
    line-height: 21px;
    margin: 0 0 5px;
    padding: 0;
}

.get-pro-version-info span.dashicons-yes {
    color: #7e3fec;
}

.get-pro-version-info p.btn-wrap {
    text-align: center;
    margin-top: 1em;
}

.get-pro-version-info-btn {
    display: inline-block;
    background-color: #7e3fec;
    color: white !important;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
}

.get-pro-version-info-btn:hover {
    background-color: #6930c3;
    text-decoration: none;
}

#vwg_metabox_general_uninstall_settings {
    background: rgba(255, 0, 0, 10% );
}

#postbox-container-unused-thumbs {
    width: 100% !important;
}

#vwg-options sup {
    font-size: 11px;
    color: #7e3fec;
    font-style: italic;
    font-weight: 600;
}

.vwg-swal-popup-pro-info {
   z-index: 99999;
}

.vwg-upload-wrapper {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.vwg-toggle {
    cursor: pointer;
    display: inline-block;
}

.vwg-toggle-switch {
    display: inline-block;
    background: #ccc;
    border-radius: 16px;
    width: 48px;
    height: 22px;
    position: relative;
    vertical-align: middle;
    transition: background 0.25s;
}
.vwg-toggle-switch:before, .vwg-toggle-switch:after {
    content: "";
}
.vwg-toggle-switch:before {
    display: block;
    background: linear-gradient(to bottom, #fff 0%, #eee 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
    width: 14px;
    height: 14px;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: left 0.25s;
}
.vwg-toggle:hover .vwg-toggle-switch:before {
    background: linear-gradient(to bottom, #fff 0%, #fff 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.vwg-toggle-checkbox:checked + .vwg-toggle-switch {
    background: #7e3fec;
}
.vwg-toggle-checkbox:checked + .vwg-toggle-switch:before {
    left: 30px;
}

.vwg-toggle-checkbox {
    position: absolute;
    visibility: hidden;
}

.vwg-toggle-label {
    margin-left: 5px;
    position: relative;
    top: 2px;
}

.woocommerce-help-tip.dashicons-warning::after {
    content: "\f534" !important;
    cursor: pointer !important;
}
.woocommerce-help-tip.dashicons-info::after {
    content: "\f348" !important;
    cursor: pointer !important;
}

/* Get PRO button styling */
.wrap .page-title-action,
#vwg-options .button-primary,
#vwg-options .wp-core-ui .button-primary {
    background: #7e3fec;
    border-color: #7e3fec;
    color: white;
    text-shadow: none;
    box-shadow: none;
}

.wrap .page-title-action:hover,
#vwg-options .button-primary:hover,
#vwg-options .wp-core-ui .button-primary:hover {
    background: #6930c3;
    border-color: #6930c3;
    color: white;
}

/* Secondary button styling */
#vwg-options .button.button-secondary,
#vwg-options .wp-core-ui .button-secondary {
    background: white;
    border-color: #7e3fec;
    color: #7e3fec;
    box-shadow: none;
    text-shadow: none;
    transition: all 0.3s ease;
}

#vwg-options .button.button-secondary:hover,
#vwg-options .wp-core-ui .button-secondary:hover {
    background: rgba(126, 63, 236, 0.05);
    border-color: #6930c3;
    color: #6930c3;
}

/* Ensure buttons have consistent styling */
#vwg-options .button,
#vwg-options .wp-core-ui .button {
    border-radius: 4px;
    font-weight: 500;
    height: auto;
    padding: 5px 15px;
    line-height: 1.5;
}

/* Focus styles for buttons */
#vwg-options .button:focus,
#vwg-options .wp-core-ui .button:focus {
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(126, 63, 236, 0.5);
    outline: none;
}

/* Global focus styles */
#vwg-options input[type="text"]:focus,
#vwg-options input[type="email"]:focus,
#vwg-options input[type="number"]:focus,
#vwg-options input[type="password"]:focus,
#vwg-options input[type="search"]:focus,
#vwg-options input[type="tel"]:focus,
#vwg-options input[type="url"]:focus,
#vwg-options textarea:focus,
#vwg-options select:focus {
    border-color: #7e3fec;
    box-shadow: 0 0 0 1px #7e3fec;
    outline: none;
}

#vwg-options input[type="checkbox"]:focus,
#vwg-options input[type="radio"]:focus {
    border-color: #7e3fec;
    box-shadow: 0 0 0 1px #7e3fec;
    outline: none;
}

#vwg-options a:focus {
    color: #6930c3;
    box-shadow: 0 0 0 1px #fff, 0 0 0 2px #7e3fec;
    outline: none;
}

#vwg-options .nav-tab:focus {
    box-shadow: 0 0 0 1px #fff, 0 0 0 2px #7e3fec;
    outline: none;
}

#vwg-options div.radio-with-Icon p.radioOption input[type="radio"]:focus ~ label {
    border-color: #7e3fec;
    box-shadow: 0 0 0 1px #7e3fec;
    outline: none;
}

/* Links styling */
#vwg-options a,
.vwg-pricing-container a,
.vwg-swal-container-pro-info a:not(.buy-now-btn) {
    color: #7e3fec;
    text-decoration: none;
    transition: all 0.2s ease;
}

#vwg-options a:hover,
#vwg-options a:focus,
.vwg-pricing-container a:hover,
.vwg-pricing-container a:focus,
.vwg-swal-container-pro-info a:not(.buy-now-btn):hover,
.vwg-swal-container-pro-info a:not(.buy-now-btn):focus {
    color: #6930c3;
    text-decoration: underline;
}

#vwg-options a.button {
    text-decoration: none;
}

#vwg-options a.button:hover {
    text-decoration: none;
}

#vwg-options .nav-tab {
    border-color: #ccc;
    background: #f7f7f7;
    color: #555;
}

#vwg-options .nav-tab:hover,
#vwg-options .nav-tab:focus {
    background-color: #fff;
    color: #444;
}

#vwg-options .nav-tab-active,
#vwg-options .nav-tab-active:focus,
#vwg-options .nav-tab-active:focus:active,
#vwg-options .nav-tab-active:hover {
    border-bottom: 1px solid #f1f1f1;
    background: #fff;
    color: #7e3fec;
}

/* Color Picker Styling */
.wp-picker-container {
    position: relative;
}

.wp-picker-container .wp-color-result.button {
    border-color: #ddd;
    box-shadow: none;
}

.wp-picker-container .wp-color-result:focus,
.wp-picker-container .wp-color-result:hover {
    border-color: #7e3fec;
}

.wp-picker-container .wp-color-result-text {
    background: #f7f7f7;
    border-left: 1px solid #ddd;
    color: #555;
}

.wp-picker-container .wp-color-result:focus .wp-color-result-text,
.wp-picker-container .wp-color-result:hover .wp-color-result-text {
    color: #7e3fec;
}

.wp-picker-container .wp-picker-open + .wp-picker-input-wrap {
    display: inline-block;
}

.wp-picker-container .wp-picker-input-wrap input[type="text"] {
    border-color: #ddd;
    vertical-align: top;
}

.wp-picker-container .wp-picker-input-wrap input[type="text"]:focus {
    border-color: #7e3fec;
    box-shadow: 0 0 0 1px #7e3fec;
}

.wp-picker-container .button.wp-picker-default {
    background: white;
    border-color: #7e3fec;
    color: #7e3fec;
    transition: all 0.3s ease;
}

.wp-picker-container .button.wp-picker-default:hover {
    background: rgba(126, 63, 236, 0.05);
    border-color: #6930c3;
    color: #6930c3;
}

.wp-picker-container .button.wp-picker-clear {
    margin-left: 6px;
}

.wp-picker-container .iris-picker {
    border-color: #ddd;
    border-radius: 4px;
}

.wp-picker-container .iris-border {
    background-color: #fff;
}

.wp-picker-container .iris-picker .iris-square-inner {
    box-shadow: none;
}

.wp-picker-container .iris-picker .iris-slider {
    border-color: #ddd;
}

.wp-picker-container .iris-picker .iris-square,
.wp-picker-container .iris-picker .iris-slider,
.wp-picker-container .iris-picker .iris-square-inner,
.wp-picker-container .iris-picker .iris-palette {
    box-shadow: none;
    border-radius: 2px;
}

.wp-picker-container .iris-picker .iris-palette:hover {
    border-color: #7e3fec;
    box-shadow: 0 0 0 2px #7e3fec;
}

/* Sticky video position picker */
.vwg-sticky-position-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 4px 0 8px;
}
.vwg-sticky-pos-option {
    display: inline-block;
    cursor: pointer;
    margin: 0;
}
.vwg-sticky-pos-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.vwg-sticky-pos-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 12px 8px;
    border: 2px solid #dcdcde;
    border-radius: 8px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
    min-width: 92px;
}
.vwg-sticky-pos-option:hover .vwg-sticky-pos-card {
    border-color: #b4b9be;
}
.vwg-sticky-pos-option input[type="radio"]:checked + .vwg-sticky-pos-card {
    border-color: #7e3fec;
    box-shadow: 0 0 0 1px #7e3fec;
}
.vwg-sticky-pos-option input[type="radio"]:focus-visible + .vwg-sticky-pos-card {
    outline: 2px solid #7e3fec;
    outline-offset: 2px;
}
.vwg-sticky-pos-option input[type="radio"]:disabled + .vwg-sticky-pos-card {
    opacity: .55;
    cursor: not-allowed;
}
.vwg-sticky-pos-option input[type="radio"]:disabled:checked + .vwg-sticky-pos-card {
    opacity: .85;
}
.vwg-sticky-pos-screen {
    position: relative;
    display: block;
    width: 64px;
    height: 40px;
    background: linear-gradient(180deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 1px solid #c7cad1;
    border-radius: 4px;
    overflow: hidden;
}
.vwg-sticky-pos-marker {
    position: absolute;
    width: 22px;
    height: 14px;
    background: #7e3fec;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.vwg-sticky-pos-screen.is-bottom-right .vwg-sticky-pos-marker { right: 4px;  bottom: 4px; }
.vwg-sticky-pos-screen.is-bottom-left  .vwg-sticky-pos-marker { left: 4px;   bottom: 4px; }
.vwg-sticky-pos-screen.is-top-right    .vwg-sticky-pos-marker { right: 4px;  top: 4px; }
.vwg-sticky-pos-screen.is-top-left     .vwg-sticky-pos-marker { left: 4px;   top: 4px; }
.vwg-sticky-pos-screen.is-off {
    background: repeating-linear-gradient(45deg, #f3f4f6, #f3f4f6 4px, #e5e7eb 4px, #e5e7eb 8px);
}
.vwg-sticky-pos-off {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c8f94;
    font-size: 22px;
    line-height: 1;
}
.vwg-sticky-pos-label {
    font-size: 12px;
    color: #1d2327;
    font-weight: 500;
}
.vwg-sticky-pos-help {
    margin: 4px 0 0;
    color: #50575e;
    font-size: 13px;
}
/* END Sticky video position picker */

#side-sortables #vwg_metabox_get_pro_version .button, #side-sortables #vwg_metabox_review .button, #side-sortables #vwg_metabox_support .button, #side-sortables #vwg_metabox_donate .button {
    min-height: unset;
}

/*Responsive*/
@media only screen and (max-width: 768px) {
    div.radio-with-Icon {
        padding-top: 10px;
    }

    .vwg-swal-popup-pro-info {
        width: 90% !important;
    }

}

@media only screen and (max-width: 480px) {
    div.radio-with-Icon p.radioOption label {
        padding: 4px 8px 4px 8px;
        font-size: 14px;
    }
    div.radio-with-Icon p.radioOption {
        width: 20px;
        height: 20px;
        margin: 0px 10px;
    }

    .vwg-logo-wrapper {
        justify-content: center;
    }

    .vwg-logo-wrapper .logo-text {
        font-size: 16px;
        font-weight: 600;
        color: #7e3fec;
        margin-left: 3px;
    }
}

@media screen and (max-width: 1024px) {
    #vwg-options #poststuff .metabox-holder .postbox-container.column-1 {
        float: left;
        width: 100%;
    }

    #vwg-options #poststuff .metabox-holder .postbox-container.column-2 {
        float: left;
        width: 100%;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
    #vwg-options #poststuff .metabox-holder .postbox-container.column-1 {
        float: left;
        width: 100%;
    }

    #vwg-options #poststuff .metabox-holder .postbox-container.column-2 {
        float: left;
        width: 100%;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    #vwg-options #poststuff .metabox-holder .postbox-container.column-1 {
        float: left;
        width: 100%;
    }

    #vwg-options #poststuff .metabox-holder .postbox-container.column-2 {
        float: left;
        width: 100%;
    }
}
