.mb-5 {
    margin-bottom: 5px !important;
}
.mb-10 {
    margin-bottom: 10px !important;
}
ul.rwmb-tab-nav {
    max-width: 200px;
}
.houzez_theme_registration p {
    font-size: 15px;
}
.admin-houzez-box-image img {
    width: 80px;
}

.houzez_theme_registration .regular-text {
    font-size: 16px;
    padding: 6px 12px;
    height: 42px;
}
.houzez_theme_registration .button {
    font-size: 17px;
    padding: 0px 30px;
    height: 42px;
}

input[type='color'],
input[type='date'],
input[type='datetime-local'],
input[type='datetime'],
input[type='email'],
input[type='month'],
input[type='number'],
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='text'],
input[type='time'],
input[type='url'],
input[type='week'],
select,
textarea {
    border: 1px solid #ccd0d4;
}
#toplevel_page_houzez_dashboard .wp-menu-image img,
#toplevel_page_houzez-real-estate .wp-menu-image img {
    width: 20px;
    padding: 5px 0 0;
    opacity: 1;
}

#addtag .houzez_full_width .rwmb-label {
    width: 100%;
}
/*span.label {
    color: #fff;
    padding: 2px 4px;
    font-size: 10px;
    border-radius: .25em;
}*/
.label-danger {
    background-color: #c31b1b;
}
.label-grey {
    background-color: #4f5962;
}
.label-success {
    background-color: #85c341;
}
.label-secondary {
    background-color: #54c4d9;
}

.label-green {
    background-color: green;
    color: #fff;
}
.fave_admin_label {
    padding: 3px 25px;
    float: right;
    border-radius: 4px;
    text-transform: uppercase;
}
.float-none {
    float: none;
}

.rwmb-row {
    margin-bottom: 15px;
}
.rwmb-tabs-left .rwmb-tab-panel {
    padding: 20px 25px;
}

.rwmb-column .rwmb-label {
    margin-bottom: 5px;
}
.rwmb-column .rwmb-label label {
    font-weight: bold;
}

.rwmb-column .rwmb-input input[type='text'],
.rwmb-column .rwmb-input input[type='password'],
.rwmb-column .rwmb-input input[type='email'],
.rwmb-column .rwmb-input input[type='number'],
.rwmb-column .rwmb-input input[type='search'],
.rwmb-column .rwmb-input input[type='tel'],
.rwmb-column .rwmb-input input[type='time'],
.rwmb-column .rwmb-input input[type='url'],
.rwmb-column .rwmb-input select,
.rwmb-column .rwmb-input textarea {
    width: 100%;
    max-width: 100%;
}

.rwmb-column .rwmb-input #fave_property_address {
    width: 95%;
}
.rwmb-column .rwmb-input .rwmb-map-goto-address-button {
    margin-top: 10px;
}

.rwmb-tabs-left .rwmb-tab-nav li {
    border-bottom: 1px solid #eee;
}

.rwmb-tabs-left .rwmb-tab-nav a {
    padding: 10px 20px 13px 10px;
}
.rwmb-field.rwmb-radio-wrapper .rwmb-input label {
    display: block;
    margin: 5px 0;
}
.rwmb-clone-icon {
    position: absolute;
    margin-left: -10px !important;
    top: 28px;
}
.rwmb-button.remove-clone {
    top: 9px;
    right: -6px;
}
.rwmb-group-wrapper .rwmb-clone {
    /*padding: 0 0 10px !important;*/
    margin: 0 0 10px !important;
}
.rwmb-sort-clone {
    padding-left: 25px !important;
}

div#additional-features .rwmb-clone .rwmb-label {
    display: none;
}
div#additional-features .rwmb-clone:first-child .rwmb-label {
    display: block;
}

div#additional-features .rwmb-group-wrapper .rwmb-clone:after {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

/***************************************************************************************
*   Page/Post Meta CSS
****************************************************************************************/
.fave-img-select-wrap li span {
    font-size: 11px;
    display: block;
    text-align: center;
    max-width: 60px;
    line-height: 13px;
}
.favethemes_meta_control {
    margin: 10px 0px;
}
.fave-inline-title-wrap {
    display: inline-block;
    vertical-align: top;
}
.fave-inline-block-wrap {
    display: inline-block;
}
.fave_meta_title {
    vertical-align: top;
    width: 200px;
    display: inline-block;
}
.fave-meta-des {
    font-size: 11px;
    font-style: italic;
}
.favethemes_meta_control .fave-dropdown {
    width: 220px;
}
.favethemes_meta_control .fave-input-text-backend-small {
    width: 220px !important;
}
.favethemes_meta_control .fave-input-text-backend-large {
    width: 100% !important;
}
.fave_admin_label {
    padding: 3px 25px;
    float: right;
    border-radius: 4px;
    text-transform: uppercase;
}
.label-green {
    background-color: green;
    color: #fff;
}
.label-red {
    background-color: #c31b1b;
    color: #fff;
}
.float-none {
    float: none;
}
.font24 {
    font-size: 24px;
}
.homey_hidden {
    display: none;
}

.homey_activate_listing {
    float: right;
    background: rgba(0, 174, 239, 1);
    color: #fff;
    padding: 13px;
    text-transform: capitalize;
    border-radius: 13px;
    cursor: pointer;
}
.homey_activate_listing:hover {
    background: rgba(0, 174, 239, 0.9);
}

/***************************************************************************************
*   Categories Meta CSS
****************************************************************************************/
input.fave-hidden {
    display: none;
}
img.fave-img-select {
    border: 2px solid #eee;
    cursor: pointer;
    border-radius: 4px;
    background: #fff;
}
img.fave-img-select.selected {
    border: 2px solid #0074a2;
}
ul.fave-img-select-wrap {
    float: left;
    width: 100%;
    display: block;
    margin: 5px 0;
}
ul.fave-img-select-wrap li {
    float: left;
    margin-right: 1px;
}

/***************************************************************************************
*   Page/Post Meta CSS
****************************************************************************************/
.fave-img-select-wrap li span {
    font-size: 11px;
    display: block;
    text-align: center;
    max-width: 60px;
    line-height: 13px;
}
.favethemes_meta_control {
    margin: 10px 0;
}
.fave-inline-title-wrap {
    display: inline-block;
    vertical-align: top;
}
.fave-inline-block-wrap {
    display: inline-block;
    width: 20%;
}
.fave-inline-block-wrap + .fave-inline-block-wrap {
    width: 75%;
}
.fave_meta_title {
    vertical-align: top;
    width: 140px;
    display: inline-block;
}
.fave-meta-des {
    font-size: 11px;
    font-style: italic;
}
.favethemes_meta_control .fave-dropdown {
    width: 220px;
}
.favethemes_meta_control .fave-input-text-backend-small {
    width: 220px !important;
}
.redux-container-sorter ul {
    width: 240px !important;
}
/***************************************************************************************
*   Code activation
****************************************************************************************/
#api_key {
    max-width: 25rem;
    /*display: block;
    width: 300px;
    height: 40px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 34px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);*/
}
#api_key_prompt_text {
    position: relative;
    font-weight: bold;
    margin-bottom: 10px;
}
#title-wrap ~ input[type='submit'] {
    margin: 10px 0 20px 0;
}
/* fields builder
/* ------------------------------------------------------ */
.field-column-1 {
    width: 25%;
}
.field-column-2 {
    width: 56%;
}
.field-column-3,
.field-column-4 {
    width: 7%;
}
.form-wrap {
}
.form-wrap label {
}
.form-wrap select {
    display: block;
    width: 100%;
}
.form-wrap .button {
}

.cloneya-wrap a {
    text-decoration: none;
    float: right;
    margin-left: 10px;
}
.clone {
    margin-top: 5px;
}
.delete {
    margin-top: 3px;
}
.cloneya {
    clear: both;
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: 25px;
}
.cloneya-wrap input {
    width: 85%;
    float: left;
}
.cloneya-wrap input,
.cloneya-wrap a {
    display: inline-block;
}
img.img-circle.media-object.avatar {
    border-radius: 100%;
}
.btn-loader {
    top: 2px;
    width: 16px;
    height: 16px;
    margin-right: 15px;
    display: none;
    position: relative;
}
.loader-show {
    display: inline-block;
    margin-right: 10px;
}

.btn-loader:after {
    content: ' ';
    display: block;
    width: 16px;
    height: 16px;
    margin: 1px;
    border-radius: 50%;
    border: 2px solid #fff;
    border-color: #fff #fff #fff #fff;
    -webkit-animation: btn-loader 1.2s linear infinite;
    animation: btn-loader 1.2s linear infinite;
}
.houzez_hidden {
    display: none !important;
}
#section-table-sp_sections_section-start tr,
#section-table-cl_location_section-start tr,
#section-table-srh_labels_section-start tr,
#section-table-cl_common_section-start tr,
#section-table-cl_glcp_section-start tr,
#section-table-cl_sections_section-start tr,
#section-table-dsh_labels_section-start tr,
#section-table-sp_energy_labels_section-start tr,
#section-table-sp_agent_forms_section-start tr,
#section-table-sp_mortgage_cal_labels_section-start tr,
#section-table-sp_labels_section-start tr {
    border: none !important;
}
#section-table-sp_sections_section-start .redux-field-container,
#section-table-cl_location_section-start .redux-field-container,
#section-table-srh_labels_section-start .redux-field-container,
#section-table-cl_common_section-start .redux-field-container,
#section-table-cl_glcp_section-start .redux-field-container,
#section-table-cl_sections_section-start .redux-field-container,
#section-table-dsh_labels_section-start .redux-field-container,
#section-table-sp_energy_labels_section-start .redux-field-container,
#section-table-sp_agent_forms_section-start .redux-field-container,
#section-table-sp_mortgage_cal_labels_section-start .redux-field-container,
#section-table-sp_labels_section-start .redux-field-container {
    padding: 0px 0 !important;
}

#section-table-sp_sections_section-start .redux_field_th,
#section-table-cl_location_section-start .redux_field_th,
#section-table-sp_mortgage_cal_labels_section-start .redux_field_th,
#section-table-srh_labels_section-start .redux_field_th,
#section-table-cl_common_section-start .redux_field_th,
#section-table-cl_glcp_section-start .redux_field_th,
#section-table-cl_sections_section-start .redux_field_th,
#section-table-dsh_labels_section-start .redux_field_th,
#section-table-sp_energy_labels_section-start .redux_field_th,
#section-table-sp_agent_forms_section-start .redux_field_th,
#section-table-sp_labels_section-start .redux_field_th {
    padding: 15px 10px 15px 0px !important;
}
/* welcome page
/* ------------------------------------------------------ */
.welcome-wrap h1 {
    font-size: 32px;
    font-weight: 400;
}
.welcome-wrap p {
    font-size: 18px;
    color: #555;
}
.resources-wrap {
    clear: both;
}
.resources-wrap-left,
.resources-wrap-right {
    width: 50%;
    float: left;
}
/* admin houzez header
/* ------------------------------------------------------ */
.houzez-heading-inline {
    display: inline-block;
    margin-right: 5px !important;
}

.houzez-admin-wrapper {
    margin: 10px 20px 0 2px;
}
.admin-houzez-header {
    margin-top: 20px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-top: 1px solid #ddd;
}
.admin-houzez-content,
.admin-houzez-nav-tab-wrapper {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
.admin-houzez-content h2 {
    margin: 30px 0;
    font-size: 20px;
}
.admin-houzez-header {
    padding: 20px 30px;
}
.admin-houzez-content {
    width: 100%;
    padding-top: 1px;
    padding-right: 36px;
    padding-left: 35px;
    padding-bottom: 10px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}
.admin-houzez-content a {
    text-decoration: none;
}
.admin-houzez-content .dashicons {
    vertical-align: baseline;
    font-size: inherit;
    width: auto;
    height: auto;
}
.admin-houzez-header .admin-houzez-logo {
    display: inline-block;
    height: 27px;
    width: 127px;
}
.admin-houzez-tag {
    display: inline-block;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 3px 7px;
    border-radius: 4px;
    position: relative;
    top: -3px;
    left: 10px;
}
.admin-houzez-nav-tab-wrapper {
    padding: 10px 15px 0 22px;
    border-bottom: 1px solid #004274;
}
.admin-houzez-nav-tab-wrapper .nav-tab {
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid #004274;
    border-bottom: none;
    margin-left: -1px;
    color: #fff;
}
.admin-houzez-nav-tab-wrapper .nav-tab:not(.nav-tab-active):hover {
    background-color: rgba(255, 255, 255, 0.4);
}
.admin-houzez-nav-tab-wrapper .nav-tab-active {
    border-bottom: 1px solid #fff;
    color: #004274;
}
.admin-houzez-header,
.admin-houzez-nav-tab-wrapper {
    background-color: #004274;
}
.admin-houzez-content,
.admin-houzez-nav-tab-wrapper .nav-tab-active {
    background: #fff;
}
.admin-houzez-row {
    margin-left: -15px;
    margin-right: -15px;
}
.admin-houzez-row:after,
.admin-houzez-row:before {
    content: ' ';
    display: table;
}
.admin-houzez-row:after {
    clear: both;
}
.admin-houzez-box-wrap {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}
.admin-houzez-box-wrap-half {
    width: 50%;
    float: left;
}
.admin-houzez-box {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 30px;
}
.admin-houzez-box-header {
    /*border-bottom: 1px solid #ddd;    
    background-color: rgba(0, 0, 0, 0.05); */
    padding: 20px 20px 0;
}
.admin-houzez-box-header .dashicons-before {
    float: left;
    margin: 0 10px 0 0;
    text-align: center;
}
.admin-houzez-box-header h3 {
    margin: 0;
}
.admin-houzez-box-content {
    padding: 10px 20px 0;
    position: relative;
}
.admin-houzez-required-label,
.admin-houzez-recommended-label,
.admin-houzez-wporg-label {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 4px;
    margin-top: 10px;
}
.admin-houzez-required-label {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}
.admin-houzez-recommended-label {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}
.admin-houzez-box-content .actions {
    position: absolute;
    right: 20px;
    top: -18px;
}
.admin-houzez-box-plugins {
    width: calc(50% - 25px);
    float: left;
    margin: 0 10px 20px;
}
.admin-houzez-box-wrap-plugins {
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
}
.admin-houzez-content .wp-list-table {
    margin-bottom: 25px;
}
.admin-houzez-box-image {
    float: left;
    margin: 20px 20px 17px 20px;
}
.admin-houzez-box-footer {
    border-top: 1px solid #ddd;
    padding: 10px 20px;
    clear: both;
}
.admin-houzez-form {
    max-width: 500px;
}
.admin-houzez-form label {
    font-weight: bold;
    display: block;
    margin: 10px 0;
}
.admin-houzez-form .submit {
    padding: 10px 0;
}
.admin-houzez-form .form-field {
    margin-bottom: 15px;
}
.admin-houzez-form .form-field input,
.admin-houzez-form .form-field select {
    min-height: 45px;
}
.admin-houzez-form .form-field select {
    width: 95%;
}
#form-messages .error,
.error,
.houzez-blocked-user {
    color: red;
}
#form-messages .success,
.success,
.houzez-approved-user {
    color: green;
}
.houzez-pending-user {
    color: #ffc107;
}
input#item_purchase_code {
    width: 75%;
}
.ps-verified {
    color: green;
    letter-spacing: 2px;
    font-size: 16px;
    border: 1px solid;
    padding: 10px;
}
div#extendify-templates-inserter {
    display: none;
}
@media (max-width: 768px) {
    .rwmb-image-actions {
        opacity: 1 !important;
    }
}

.redux-container .redux_field_th {
    padding: 20px 10px 20px 0 !important;
}
.redux-container .redux-main .redux-field-container {
    padding: 20px 0 !important;
}
.wp-list-table.fixed .column-icl_translations {
    width: auto;
}
#houzez-project-meta-box .rwmb-tab-panels .rwmb-row .rwmb-clone:after {
    content: none;
} /* Plugin Management Improvements */
.houzez-plugins-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.houzez-plugins-header h2 {
    margin: 0;
} /* Plugin Filter Section */
.houzez-plugins-filter-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.filter-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1d2327;
    font-size: 14px;
    min-width: 120px;
}
.filter-label .dashicons {
    color: #0073aa;
    font-size: 16px;
}
.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}
.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    color: #646970;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    min-height: 38px;
    line-height: 1.2;
}
.filter-btn .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.filter-btn:hover {
    border-color: #0073aa;
    color: #0073aa;
    background: #f0f6fc;
    text-decoration: none;
}
.filter-btn.active {
    background: #0088cc;
    border-color: #0088cc;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 136, 204, 0.2);
}
.filter-btn.active:hover {
    background: #006ca8;
    border-color: #006ca8;
    color: #fff;
}
.filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}
.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}
.filter-btn:not(.active) .filter-count {
    background: #f0f0f1;
    color: #646970;
}
.houzez-no-plugins-message {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 20px;
}
.no-plugins-content .dashicons {
    font-size: 48px;
    color: #c3c4c7;
    margin-bottom: 20px;
}
.no-plugins-content h3 {
    margin: 0 0 10px 0;
    color: #646970;
    font-size: 18px;
    font-weight: 600;
}
.no-plugins-content p {
    margin: 0;
    color: #646970;
    font-size: 14px;
}
.houzez-plugins-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.houzez-plugins-actions .button {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    padding: 8px 16px;
    height: auto;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.houzez-plugins-actions .button-primary {
    background: #0073aa;
    border-color: #0073aa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.houzez-plugins-actions .button-primary:hover {
    background: #005a87;
    border-color: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.houzez-plugin-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
/* Progress Statistics Grid */
.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
}

.stat-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    min-width: 140px;
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #2271b1;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-number.stat-active {
    color: #00a32a;
}
.stat-number.stat-updates {
    color: #d63638;
}
.stat-number.stat-required {
    color: #f56e28;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: #646970;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.admin-houzez-box-plugins {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
    width: 100%;
    margin: 0 0 15px;
    display: flex;
    align-items: stretch;
    min-height: 120px;
}
.admin-houzez-box-plugins.filtered-hidden {
    display: none !important;
}
.admin-houzez-box-plugins:hover {
    border-color: #999;
}
.admin-houzez-box-image {
    position: relative;
    padding: 20px;
    background: #f9f9f9;
    flex-shrink: 0;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #eee;
}
.admin-houzez-box-image img {
    width: 48px;
    height: 48px;
    border-radius: 4px;
}
.plugin-status-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #fff;
}
.plugin-status-badge.active {
    background: #46b450;
}
.plugin-status-badge.inactive {
    background: #82878c;
}
.plugin-status-badge.not-installed {
    background: #dc3232;
}
.plugin-status-badge.update-available {
    background: #ffb900;
}
.admin-houzez-box-header {
    padding: 0;
    border-bottom: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
}
.admin-houzez-box-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
    display: flex;
    align-items: center;
    gap: 8px;
}
.update-badge {
    color: #f56e28;
    font-size: 16px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}
.admin-houzez-box-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.admin-houzez-box-content .actions {
    position: static;
    margin-bottom: 15px;
    order: 3;
}
.plugin-main-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.plugin-header-section {
    order: 1;
    margin-bottom: 15px;
}
.plugin-info-section {
    order: 2;
    flex: 1;
}
.plugin-actions-section .button {
    margin: 0;
    font-size: 12px;
    padding: 8px 12px;
    height: auto;
    border-radius: 3px;
    transition: all 0.2s ease;
    text-align: center;
    width: 100%;
}
.houzez-update-btn {
    background: #0073aa !important;
    border-color: #0073aa !important;
    color: #fff !important;
}
.houzez-update-btn:hover {
    background: #005a87 !important;
    border-color: #005a87 !important;
}
.houzez-deactivate-btn {
    background: #666 !important;
    border-color: #666 !important;
    color: #fff !important;
}
.houzez-deactivate-btn:hover {
    background: #555 !important;
    border-color: #555 !important;
}
.houzez-uninstall-btn {
    background: #dc3232 !important;
    border-color: #dc3232 !important;
    color: #fff !important;
}
.houzez-uninstall-btn:hover {
    background: #c62d2d !important;
    border-color: #c62d2d !important;
}
.plugin-description {
    margin: 15px 0;
    color: #646970;
    line-height: 1.5;
    font-size: 13px;
}
.plugin-labels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 15px 0;
}
.admin-houzez-required-label,
.admin-houzez-recommended-label,
.admin-houzez-wporg-label {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}
.admin-houzez-required-label {
    background: #dc3232;
    color: #fff;
}
.admin-houzez-recommended-label {
    background: #0073aa;
    color: #fff;
}
.admin-houzez-wporg-label {
    background: #666;
    color: #fff;
}
.compatibility-warning {
    background: linear-gradient(135deg, #fcf3cd, #fff3cd);
    border: 1px solid #f0d500;
    border-radius: 6px;
    padding: 10px 12px;
    margin: 15px 0;
    font-size: 12px;
    color: #614200;
    display: flex;
    align-items: center;
    gap: 8px;
}
.compatibility-warning .dashicons {
    color: #f0d500;
}
/* Actions section (replaces footer for actions) */
.plugin-actions-section {
    padding: 20px;
    background: #fafafa;
    border-left: 1px solid #eee;
    flex-shrink: 0;
    width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.houzez-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}
.loading-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.loading-content .houzez-spinner {
    margin: 0px auto 0;
}

/* Loading Header */
.loading-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px 30px 15px;
    margin: -30px -30px 25px -30px;
    background: linear-gradient(135deg, #2271b1 0%, #0088cc 100%);
    border-radius: 12px 12px 0 0;
    position: relative;
    overflow: hidden;
}
.loading-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}
.loading-header > * {
    position: relative;
    z-index: 1;
}
.header-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    animation: iconPulse 2s ease-in-out infinite;
}
.header-icon .dashicons {
    font-size: 24px;
    color: #ffffff;
    width: 24px;
    height: 24px;
}
.loading-title {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    flex: 1;
}
.houzez-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Header animation */
.loading-header {
    animation: slideInFromTop 0.4s ease-out;
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes iconPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
}

/* Progress Section */
.loading-progress {
    margin-bottom: 25px;
}
.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.progress-count {
    font-size: 14px;
    font-weight: 600;
    color: #2271b1;
}
.progress-percentage {
    font-size: 14px;
    font-weight: 600;
    color: #646970;
}
.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #f0f0f1;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2271b1, #0088cc);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}
.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Current Action Details */
.loading-details {
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #2271b1;
}
.current-action {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.action-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}
.action-text {
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
}
.current-plugin {
    margin-left: 30px;
}
.plugin-name {
    font-size: 13px;
    color: #646970;
    font-style: italic;
}

/* Progress Log */
.loading-log {
    border-top: 1px solid #e1e5e9;
    padding-top: 20px;
}
.log-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
}
.log-header .dashicons {
    font-size: 16px;
    color: #646970;
}
.log-content {
    max-height: 200px;
    overflow-y: auto;
    background: #f8f9fa;
    border-radius: 4px;
    padding: 10px;
}
.log-entry {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.4;
}
.log-entry:last-child {
    margin-bottom: 0;
}
.log-entry .log-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}
.log-entry.success .log-icon {
    color: #00a32a;
}
.log-entry.error .log-icon {
    color: #dc3232;
}
.log-entry.info .log-icon {
    color: #2271b1;
}
.log-entry.warning .log-icon {
    color: #ffb900;
}
.log-entry .log-message {
    color: #1d2327;
}
.log-entry .log-time {
    color: #646970;
    font-size: 11px;
    margin-left: auto;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .loading-content {
        padding: 20px;
        max-width: 95%;
    }
    .loading-header {
        padding: 20px 25px 15px;
        margin: -20px -20px 20px -20px;
        gap: 15px;
    }
    .loading-title {
        font-size: 18px;
        text-align: center;
    }
    .header-icon {
        width: 40px;
        height: 40px;
    }
    .header-icon .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }
    .houzez-spinner {
        width: 20px;
        height: 20px;
    }
    .progress-info {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}
.theme-verification-notice {
    background: linear-gradient(135deg, #fcf3cd, #fff3cd);
    border: 1px solid #f0d500;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
}
.theme-verification-notice p {
    margin: 0;
    color: #614200;
    font-size: 12px;
    font-weight: 500;
} /* Status classes for plugin boxes */
.admin-houzez-box-plugins.status-active {
    border-left: 3px solid #46b450;
}
.admin-houzez-box-plugins.status-inactive {
    border-left: 3px solid #82878c;
}
.admin-houzez-box-plugins.status-not-installed {
    border-left: 3px solid #dc3232;
}
.admin-houzez-box-plugins.status-update-available {
    border-left: 3px solid #ffb900;
} /* Button improvements */
.button.updating-message {
    opacity: 0.7;
    pointer-events: none;
}
.button.updated-message {
    background: #00a32a !important;
    border-color: #00a32a !important;
    color: #fff !important;
} /* Plugin layout improvements */
.admin-houzez-box-content .actions {
    position: static;
    margin-bottom: 15px;
    order: 3;
}
.plugin-main-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.plugin-header-section {
    order: 1;
    margin-bottom: 15px;
}
.plugin-header-section h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    display: flex;
    align-items: center;
    gap: 10px;
}
.plugin-meta-info {
    margin: 8px 0 12px 0;
    font-size: 12px;
    color: #646970;
    line-height: 1.4;
}
.plugin-meta-info .author-info,
.plugin-meta-info .version-info {
    margin-bottom: 4px;
}
.plugin-meta-info .author-info a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 500;
}
.plugin-meta-info .author-info a:hover {
    color: #135e96;
    text-decoration: underline;
}
.plugin-meta-info strong {
    color: #1d2327;
    font-weight: 600;
}
.plugin-info-section {
    order: 2;
    flex: 1;
} /* Additional layout improvements */
.plugin-labels {
    margin: 10px 0 0 0;
}
.plugin-description {
    margin: 0;
    color: #646970;
    line-height: 1.5;
    font-size: 14px;
}
/* Responsive design */
@media (max-width: 1200px) {
    .admin-houzez-box-plugins {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .houzez-plugins-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .filter-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .filter-label {
        min-width: auto;
    }
    .filter-buttons {
        width: 100%;
        justify-content: flex-start;
    }
    .filter-btn {
        flex: 0 0 auto;
        min-width: auto;
    }
    .houzez-plugin-stats {
        justify-content: center;
    }
    .stat-item {
        min-width: 120px;
    }
    .admin-houzez-box-plugins {
        width: 100%;
        margin: 0 0 15px;
        flex-direction: column;
        min-height: auto;
    }
    .admin-houzez-box-wrap-plugins {
        margin-left: 0;
        margin-right: 0;
    }
    .admin-houzez-box-image {
        width: 100%;
        justify-content: flex-start;
        padding: 15px 20px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .plugin-actions-section {
        width: 100%;
        border-left: none;
        border-top: 1px solid #eee;
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
    }
    .plugin-actions-section .button {
        width: auto;
        flex: 1;
        min-width: 120px;
    }
}
/* Required Plugins Status */
.houzez-required-status {
    margin-bottom: 25px;
}

.required-status-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.required-status-container:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.required-status-container.status-complete {
    border-left: 4px solid #00a32a;
    background: linear-gradient(135deg, #f0f9ff, #ffffff);
}

.required-status-container.status-partial {
    border-left: 4px solid #ffb900;
    background: linear-gradient(135deg, #fffbf0, #ffffff);
}

.required-status-container.status-incomplete {
    border-left: 4px solid #dc3232;
    background: linear-gradient(135deg, #fff5f5, #ffffff);
}

.status-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.status-complete .status-icon {
    background: #00a32a;
    color: #fff;
}

.status-partial .status-icon {
    background: #ffb900;
    color: #fff;
}

.status-incomplete .status-icon {
    background: #dc3232;
    color: #fff;
}

.status-content {
    flex: 1;
    min-width: 0;
}

.status-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
    margin-bottom: 4px;
}

.status-description {
    font-size: 13px;
    color: #646970;
    margin-bottom: 12px;
    line-height: 1.4;
}

.status-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #f0f0f1;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00a32a, #46b450);
    border-radius: 4px;
    transition: width 0.6s ease;
    position: relative;
}

.status-partial .progress-fill {
    background: linear-gradient(90deg, #ffb900, #ffc107);
}

.status-incomplete .progress-fill {
    background: linear-gradient(90deg, #dc3232, #e65054);
}

.progress-text {
    font-size: 12px;
    font-weight: 600;
    color: #646970;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 2px;
}

.progress-active {
    color: #1d2327;
    font-size: 14px;
}

.progress-separator {
    color: #c3c4c7;
    margin: 0 2px;
}

.progress-total {
    color: #646970;
}

.progress-label {
    margin-left: 4px;
    color: #646970;
}

.status-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.houzez-fix-required {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(135deg, #0088cc 0%, #005a87 100%);
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 136, 204, 0.3);
    text-transform: none;
    line-height: 1.4;
    vertical-align: middle;
}

.houzez-fix-required:hover {
    background: linear-gradient(135deg, #005a87 0%, #004274 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.4);
    color: white;
}

.houzez-fix-required:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.2);
}

.houzez-fix-required .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin: 0;
}

/* Filter section improvements */
.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    color: #646970;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    min-height: 38px;
    line-height: 1.2;
}

.filter-btn .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-btn:hover {
    border-color: #0073aa;
    color: #0073aa;
    background: #f0f6fc;
    text-decoration: none;
}

.filter-btn.active {
    background: #0088cc;
    border-color: #0088cc;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 136, 204, 0.2);
}

.filter-btn.active:hover {
    background: #006ca8;
    border-color: #006ca8;
    color: #fff;
}

@media (max-width: 768px) {
    .required-status-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .status-progress {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }

    .progress-bar {
        order: 2;
    }

    .progress-text {
        order: 1;
        justify-content: center;
    }

    .houzez-fix-required {
        width: 100%;
        justify-content: center;
    }
}

/* Activate buttons in invoice data table */
.houzez_activate_listing.button-small {
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1.2;
    min-height: auto;
    text-transform: uppercase;
    font-weight: 600;
}

.houzez_activate_listing.button-small .btn-loader {
    width: 12px;
    height: 12px;
    margin-right: 4px;
}

.houzez_activate_listing.button-small:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Status labels in invoice title column */
.column-title .fave_admin_label {
    font-size: 10px !important;
    padding: 2px 8px !important;
    margin-top: 5px !important;
    display: inline-block !important;
    float: none !important;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 3px;
}

/* Ensure the title column shows the status properly */
.wp-list-table .column-title .fave_admin_label {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Make sure the status label is visible */
.wp-list-table .column-title .fave_admin_label.label-red {
    background-color: #c31b1b !important;
    color: #fff !important;
}

.wp-list-table .column-title .fave_admin_label.label-green {
    background-color: #00a32a !important;
    color: #fff !important;
}

/* Houzez Template Library Styles */
/* ------------------------------------------------------ */
.houzez-template-library {
    margin: 0 0 0 -20px;
    background: #f8f8f8;
    min-height: 100vh;
}

.houzez-header {
    background: linear-gradient(135deg, #004274 0%, #004274 100%);
    color: white;
    padding: 25px 30px;
    margin: 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.houzez-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.houzez-logo h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: white;
}

.houzez-header-actions {
    display: flex;
    gap: 12px;
}

.houzez-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.4;
    vertical-align: middle;
    box-sizing: border-box;
}

.houzez-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.2);
}

.houzez-btn .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin: 0;
}

.houzez-btn-primary {
    background: #0088cc;
    color: white;
}

.houzez-btn-primary:hover,
.houzez-btn-primary:focus {
    background: #006ca8;
    color: white;
    text-decoration: none;
}

.houzez-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.houzez-btn-secondary:hover,
.houzez-btn-secondary:focus {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

.houzez-btn-outline {
    background: transparent;
    color: #0088cc;
    border: 2px solid #0088cc;
}

.houzez-btn-outline:hover,
.houzez-btn-outline:focus {
    background: #0088cc;
    color: white;
    text-decoration: none;
}

.houzez-btn-danger {
    border-color: #dc3545;
    color: #dc3545;
}

.houzez-btn-danger:hover,
.houzez-btn-danger:focus {
    background: #dc3545;
    color: white;
    text-decoration: none;
}

.houzez-dashboard {
    max-width: 100%;
    margin: 0 auto;
    padding: 30px;
}

.houzez-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.houzez-stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 15px;
}

.houzez-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: linear-gradient(135deg, #004274 0%, #0088cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.houzez-stat-content h3 {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 700;
    color: #222222;
}

.houzez-stat-content p {
    margin: 0;
    color: #666666;
    font-size: 13px;
}

.houzez-main-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 30px;
}

.houzez-card-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.houzez-card-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #222222;
    display: flex;
    align-items: center;
    gap: 8px;
}

.houzez-card-body {
    padding: 25px;
}

.houzez-description {
    color: #666666;
    margin-bottom: 25px;
    font-size: 14px;
}

.houzez-status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.houzez-status-success {
    background: #d4edda;
    color: #155724;
}

.houzez-status-warning {
    background: #fff3cd;
    color: #856404;
}

/*
.houzez-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}
*/

.houzez-actions:not(.houzez-actions-three-column) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.houzez-action {
    display: flex;
    gap: 15px;
    padding: 20px;
    border: 2px solid #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.houzez-action:hover {
    border-color: #0088cc;
    background: #f0f8ff;
}

.houzez-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #004274 0%, #0088cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.houzez-icon-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.houzez-action-content h4 {
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: 600;
    color: #222222;
}

.houzez-action-content p {
    margin: 0 0 12px 0;
    color: #666666;
    font-size: 13px;
}

.houzez-performance-info {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #0088cc;
}

.houzez-perf-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}

.houzez-perf-item:last-child {
    margin-bottom: 0;
}

.houzez-success {
    color: #28a745;
    font-weight: 500;
}

.houzez-warning {
    color: #dc3545;
    font-weight: 500;
}

.houzez-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.houzez-modal-content {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.houzez-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.houzez-modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #222222;
}

.houzez-modal-body {
    padding: 25px;
}

/* .houzez-progress-bar {
    width: 100%;
    height: 6px;
    background: #f1f1f1;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.houzez-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #004274 0%, #0088cc 100%);
    transition: width 0.3s ease;
} */

/* .houzez-progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 12px;
} */

.houzez-progress-details {
    background: #f0f8ff;
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #666666;
}

.houzez-notifications {
    position: fixed;
    top: 32px;
    right: 20px;
    z-index: 100001;
}

.houzez-notification {
    background: white;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 3px solid #0088cc;
    animation: slideIn 0.3s ease;
    font-size: 14px;
}

.houzez-notification.success {
    border-left-color: #28a745;
}

.houzez-notification.error {
    border-left-color: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .houzez-header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .houzez-stats-grid {
        grid-template-columns: 1fr;
    }

    /*
    .houzez-actions {
        grid-template-columns: 1fr;
    }
    */
}

/* Fields Builder Styles */
/* ------------------------------------------------------ */
.houzez-fields-table-wrapper {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.houzez-fields-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.houzez-fields-table thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.houzez-fields-table thead th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.houzez-fields-table thead th i {
    margin-right: 8px;
    color: #0088cc;
    font-size: 14px;
}

.houzez-fields-table tbody tr {
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.2s ease;
}

.houzez-fields-table tbody tr:hover {
    background: #f8f9fa;
}

.houzez-fields-table tbody td {
    padding: 20px;
    vertical-align: middle;
}

.field-name {
    width: 25%;
}

.field-info strong {
    display: block;
    color: #1d2327;
    font-weight: 600;
    margin-bottom: 4px;
}

.field-placeholder {
    color: #6c757d;
    font-style: italic;
}

.field-id {
    width: 25%;
}

.field-id-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.field-id-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #f8f9fa;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #495057;
}

.copy-btn {
    background: #0088cc;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: #006ca8;
    transform: translateY(-1px);
}

.copy-btn .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.field-type {
    width: 15%;
}

.field-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.field-type-text {
    background: #e3f2fd;
    color: #1565c0;
}

.field-type-number {
    background: #f3e5f5;
    color: #7b1fa2;
}

.field-type-url {
    background: #e8f5e8;
    color: #2e7d32;
}

.field-type-textarea {
    background: #fff3e0;
    color: #ef6c00;
}

.field-type-select,
.field-type-multiselect {
    background: #fce4ec;
    color: #c2185b;
}

.field-type-checkbox_list,
.field-type-radio {
    background: #f1f8e9;
    color: #558b2f;
}

.field-search {
    width: 15%;
    text-align: center;
}

.search-enabled,
.search-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #28a745;
    font-weight: 500;
}

.search-disabled {
    color: #6c757d;
}

.search-enabled .dashicons,
.search-disabled .dashicons {
    font-size: 16px;
}

.field-actions {
    width: 20%;
    text-align: right;
}

.field-actions-col {
    text-align: right;
}

.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.edit-btn {
    background: #0088cc;
    color: white;
}

.edit-btn:hover {
    background: #006ca8;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 136, 204, 0.3);
    color: white;
}

.delete-btn {
    background: #dc3545;
    color: white;
}

.delete-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
    color: white;
}

.action-btn .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Empty State */
.houzez-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.empty-state-icon .dashicons {
    font-size: 32px;
    color: #adb5bd;
}

.houzez-empty-state h3 {
    margin: 0 0 12px 0;
    color: #495057;
    font-size: 20px;
    font-weight: 600;
}

.houzez-empty-state p {
    margin: 0 0 25px 0;
    color: #6c757d;
    font-size: 16px;
    line-height: 1.5;
}

/* Responsive Design for Fields Table */
@media (max-width: 768px) {
    .houzez-fields-table-wrapper {
        overflow-x: auto;
    }

    .houzez-fields-table {
        min-width: 600px;
    }

    .houzez-fields-table thead th,
    .houzez-fields-table tbody td {
        padding: 12px 15px;
    }

    .field-id-input {
        min-width: 140px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 4px;
    }
}

/* Fields Builder Form Styles */
/* ------------------------------------------------------ */
.houzez-breadcrumb {
    margin-bottom: 20px;
}

.houzez-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0088cc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.houzez-back-link:hover {
    background: #f0f8ff;
    color: #006ca8;
    text-decoration: none;
}

.houzez-back-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.houzez-fields-form {
    max-width: none;
}

.houzez-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.houzez-form-group {
    display: flex;
    flex-direction: column;
}

.houzez-form-group-full {
    grid-column: 1 / -1;
}

.houzez-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
    margin-bottom: 8px;
}

.houzez-form-label .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #0088cc;
}

.houzez-form-label .required {
    color: #dc3545;
    font-weight: 700;
}

.houzez-form-input,
.houzez-form-select,
.houzez-form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    background: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.houzez-form-input:focus,
.houzez-form-select:focus,
.houzez-form-textarea:focus {
    outline: none;
    border-color: #0088cc;
    box-shadow: 0 0 0 2px rgba(0, 136, 204, 0.1);
}

.houzez-form-input::placeholder,
.houzez-form-textarea::placeholder {
    color: #999;
    font-style: normal;
}

.houzez-form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.houzez-form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.houzez-form-help {
    margin-top: 6px;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    font-style: italic;
}

.houzez-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid #e1e5e9;
    margin-top: 30px;
}

.houzez-form-actions-left,
.houzez-form-actions-right {
    display: flex;
    gap: 12px;
}

@media (max-width: 768px) {
    .houzez-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .houzez-form-actions {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .houzez-form-actions-left,
    .houzez-form-actions-right {
        width: 100%;
        justify-content: center;
    }

    .houzez-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Loading states for form */
.houzez-fields-form.loading {
    opacity: 0.7;
    pointer-events: none;
}

.houzez-fields-form.loading .houzez-btn {
    position: relative;
}

.houzez-fields-form.loading .houzez-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Fields Builder Notifications */
/* ------------------------------------------------------ */
.houzez-notification {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 3px solid #0088cc;
    animation: slideIn 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.houzez-notification.success {
    border-left-color: #28a745;
    color: #155724;
}

.houzez-notification.success .dashicons {
    color: #28a745;
}

.houzez-notification.error {
    border-left-color: #dc3545;
    color: #721c24;
}

.houzez-notification.error .dashicons {
    color: #dc3545;
}

.houzez-notification.info {
    border-left-color: #17a2b8;
    color: #0c5460;
}

.houzez-notification.info .dashicons {
    color: #17a2b8;
}

.houzez-notification .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.houzez-fields-table thead th.field-actions-col {
    text-align: right;
}

.field-actions-col {
    text-align: right;
}

/* Currencies Table Styles */
/* ------------------------------------------------------ */
.currency-name {
    width: 20%;
}

.currency-code {
    width: 15%;
}

.currency-code-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.currency-symbol {
    width: 10%;
    text-align: center;
}

.currency-symbol-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    background: #e3f2fd;
    color: #1565c0;
    min-width: 30px;
    text-align: center;
}

.currency-position {
    width: 12%;
    text-align: center;
}

.currency-position-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.currency-position-before {
    background: #e8f5e8;
    color: #2e7d32;
}

.currency-position-after {
    background: #fff3e0;
    color: #ef6c00;
}

.currency-decimal {
    width: 10%;
    text-align: center;
}

.currency-decimal-count {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: #f3e5f5;
    color: #7b1fa2;
    min-width: 20px;
    text-align: center;
}

.currency-separators {
    width: 18%;
}

.separators-info {
    color: #6c757d;
    line-height: 1.4;
}

.currency-actions {
    width: 15%;
    text-align: right;
}

.currency-actions-col {
    text-align: right;
}

.houzez-fields-table thead th.currency-actions-col {
    text-align: right;
}

.currency-info strong {
    display: block;
    color: #1d2327;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Currency Switcher Settings Styles */
/* ------------------------------------------------------ */
.api-status-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-indicator.status-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-indicator.status-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-indicator.status-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-indicator .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* API Key Toggle Button */
.toggle-password-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 3px;
    color: #666;
    transition: all 0.2s ease;
}

.toggle-password-btn:hover {
    background: #f0f0f1;
    color: #0073aa;
}

.toggle-password-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* API Key Field Container */
.houzez-form-group:has(#api_key) {
    position: relative;
}

.houzez-form-group:has(#api_key) .houzez-form-input {
    padding-right: 45px;
}

/* Alternative selector for browsers that don't support :has() */
.api-key-field-container {
    position: relative;
    max-width: 400px;
}

.api-key-field-container .houzez-form-input {
    padding-right: 45px;
}

/* Currency Switcher Specific Stats */
.houzez-stat-card .houzez-stat-content h3 {
    font-size: 18px;
    line-height: 1.2;
}

/* Information Cards Enhancement */
.houzez-actions .houzez-action {
    padding: 20px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #fff;
}

.houzez-actions .houzez-action:hover {
    border-color: #0088cc;
    box-shadow: 0 2px 8px rgba(0, 136, 204, 0.1);
    transform: translateY(-2px);
}

.houzez-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #004274 0%, #0088cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    margin-bottom: 15px;
}

.houzez-action-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
}

.houzez-action-content p {
    margin: 0;
    color: #646970;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive adjustments for currency switcher */
@media (max-width: 768px) {
    .api-status-info {
        justify-content: center;
        margin-bottom: 15px;
    }

    .houzez-form-actions {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .houzez-form-actions-left,
    .houzez-form-actions-right {
        width: 100%;
        justify-content: center;
    }
}

/* API Key Toggle Button */
.api-key-field-container {
    position: relative !important;
    display: block;
}

.api-key-field-container .houzez-form-input {
    padding-right: 45px !important;
}

.api-key-field-container .toggle-password-btn {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    padding: 4px;
    border-radius: 3px;
    color: #666;
    transition: all 0.2s ease;
    z-index: 10;
    height: auto;
    width: auto;
}

.api-key-field-container .toggle-password-btn:hover {
    background: #f0f0f1 !important;
    color: #0073aa !important;
}

.api-key-field-container .toggle-password-btn .dashicons {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
}

/* Permalinks URL Field Styles */
/* ------------------------------------------------------ */
.houzez-url-field {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: all 0.2s ease;
}

.houzez-url-field:focus-within {
    border-color: #0088cc;
    box-shadow: 0 0 0 2px rgba(0, 136, 204, 0.1);
}

.url-prefix,
.url-suffix {
    background: #f8f9fa;
    color: #6c757d;
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    border-right: 1px solid #e9ecef;
    white-space: nowrap;
    line-height: 1.5;
}

.url-suffix {
    border-right: none;
    border-left: 1px solid #e9ecef;
}

.houzez-url-field .houzez-form-input {
    border: none;
    border-radius: 0;
    flex: 1;
    min-width: 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background: #fff;
    margin: 0;
}

.houzez-url-field .houzez-form-input:focus {
    box-shadow: none;
    border: none;
    outline: none;
}

/* Responsive adjustments for URL fields */
@media (max-width: 768px) {
    .houzez-url-field {
        flex-direction: column;
        align-items: stretch;
    }

    .url-prefix,
    .url-suffix {
        border-right: none;
        border-left: none;
        border-bottom: 1px solid #e9ecef;
        text-align: center;
        font-size: 12px;
        padding: 8px 12px;
    }

    .url-suffix {
        border-bottom: none;
        border-top: 1px solid #e9ecef;
    }

    .houzez-url-field .houzez-form-input {
        text-align: center;
    }
}

/* White Label Page Specific Styles */
/* ------------------------------------------------------ */

/* Media Upload Wrapper */
.houzez-media-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.favethemes-media-live-preview,
.favethemes-logo-live-preview {
    width: 100%;
    max-width: 200px;
    padding: 15px;
    border: 2px dashed #ddd;
    border-radius: 6px;
    text-align: center;
    background: #f9f9f9;
    transition: all 0.2s ease;
}

.favethemes-media-live-preview:not([style*='display: none']),
.favethemes-logo-live-preview:not([style*='display: none']) {
    border-color: #0088cc;
    background: #f0f8ff;
}

.favethemes-media-live-preview img,
.favethemes-logo-live-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.favethemes-upload-field,
.favethemes-logo-upload-field {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.houzez-upload-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.houzez-upload-buttons .houzez-btn {
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

/* Enhanced Checkbox Styling */
.houzez-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s ease;
}

.houzez-checkbox-label:hover {
    border-color: #0088cc;
    background: #f0f8ff;
}

.houzez-checkbox-label input[type='checkbox'] {
    margin: 0;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.houzez-checkbox-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.houzez-checkbox-text strong {
    color: #1d2327;
    font-weight: 600;
    font-size: 14px;
}

.houzez-checkbox-desc {
    color: #646970;
    font-size: 13px;
    line-height: 1.4;
}

/* Three Column Actions Layout */
.houzez-actions-three-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.houzez-actions-three-column .houzez-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #fff;
}

.houzez-actions-three-column .houzez-action:hover {
    border-color: #0088cc;
    box-shadow: 0 2px 8px rgba(0, 136, 204, 0.1);
    transform: translateY(-2px);
}

.houzez-actions-three-column .houzez-action-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #004274 0%, #0088cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.houzez-actions-three-column .houzez-action-content {
    flex: 1;
}

.houzez-actions-three-column .houzez-action-content h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
}

.houzez-actions-three-column .houzez-action-content p {
    margin: 0;
    color: #646970;
    font-size: 14px;
    line-height: 1.5;
}

/* White Label Stats Enhancements */
.houzez-stat-card .houzez-stat-content h3 {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 4px;
}

/* Form Field Enhancements for White Label */
.houzez-form-input[type='url'] {
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.houzez-form-input[placeholder*="https://"]
{
    padding-left: 20px;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>');
    background-repeat: no-repeat;
    background-position: 6px center;
    background-size: 14px;
}

/* Responsive Design for White Label */
@media (max-width: 768px) {
    .houzez-actions-three-column {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .houzez-actions-three-column .houzez-action {
        padding: 20px 15px;
    }

    .houzez-actions-three-column .houzez-action-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }

    .houzez-media-upload-wrapper {
        gap: 12px;
    }

    .favethemes-media-live-preview,
    .favethemes-logo-live-preview {
        max-width: 150px;
        padding: 12px;
    }

    .houzez-upload-buttons {
        flex-direction: column;
    }

    .houzez-upload-buttons .houzez-btn {
        width: 100%;
        min-width: auto;
    }

    .houzez-checkbox-label {
        padding: 12px;
    }

    .houzez-checkbox-text strong {
        font-size: 13px;
    }

    .houzez-checkbox-desc {
        font-size: 12px;
    }
}

/* Loading States for White Label Form */
.houzez-fields-form.loading .houzez-media-upload-wrapper {
    opacity: 0.6;
    pointer-events: none;
}

.houzez-fields-form.loading .houzez-upload-buttons .houzez-btn {
    opacity: 0.7;
}

/* Enhanced Upload Button States */
.favethemes-screenshot-upload-button:hover,
.favethemes-logo-upload-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 136, 204, 0.3);
}

.favethemes-media-remove:hover,
.favethemes-logo-remove:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

/* Success State for Configured Fields */
.houzez-form-input:not(:placeholder-shown):valid {
    border-color: #28a745;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2328a745" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20,6 9,17 4,12"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.houzez-form-textarea:not(:placeholder-shown):valid {
    border-color: #28a745;
}

/* URL field specific success state */
.houzez-form-input[type='url']:not(:placeholder-shown):valid {
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>'),
        url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2328a745" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20,6 9,17 4,12"></polyline></svg>');
    background-position: 6px center, right 12px center;
    background-size: 14px, 16px;
    padding-right: 40px;
}

/* Import Locations Page Specific Styles */
/* ------------------------------------------------------ */

/* CSV Upload Wrapper */
.houzez-csv-upload-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.houzez-csv-upload-wrapper .houzez-form-input {
    flex: 1;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    transition: all 0.2s ease;
}

.houzez-csv-upload-wrapper .houzez-form-input:focus {
    border-color: #0088cc;
    background: #f0f8ff;
}

.houzez-csv-upload-wrapper .houzez-form-input:not(:placeholder-shown) {
    border-color: #28a745;
    border-style: solid;
    background: #f0fff4;
    color: #155724;
    font-weight: 500;
}

.houzez-csv-upload-wrapper .houzez-btn {
    flex-shrink: 0;
    min-width: 140px;
}

/* Sample CSV Table */
.houzez-sample-csv {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.houzez-sample-csv h4 {
    margin: 0 0 15px 0;
    color: #1d2327;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.houzez-sample-csv h4:before {
    content: '\f346';
    font-family: 'dashicons';
    color: #0088cc;
    font-size: 18px;
}

.houzez-csv-preview {
    overflow-x: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.houzez-csv-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 13px;
    min-width: 500px;
}

.houzez-csv-table thead {
    background: linear-gradient(135deg, #004274 0%, #0088cc 100%);
    color: white;
}

.houzez-csv-table thead th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.houzez-csv-table thead th:last-child {
    border-right: none;
}

.houzez-csv-table tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f3f4;
    border-right: 1px solid #f1f3f4;
    color: #495057;
}

.houzez-csv-table tbody td:last-child {
    border-right: none;
}

.houzez-csv-table tbody tr:hover {
    background: #f8f9fa;
}

.houzez-csv-table tbody tr:last-child td {
    border-bottom: none;
}

/* Enhanced Message Styling */
.houzez-success-message,
.houzez-error-message {
    margin: 0;
}

.houzez-success-message .houzez-notification,
.houzez-error-message .houzez-notification {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.houzez-success-message .houzez-notification.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.houzez-error-message .houzez-notification.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.houzez-success-message .dashicons,
.houzez-error-message .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Import Progress States */
.houzez-btn.updating-message {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.houzez-btn.updating-message::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.houzez-btn.updating-message .dashicons {
    opacity: 0;
}

/* Location Stats Enhancements */
.houzez-stat-card .houzez-stat-icon {
    background: linear-gradient(135deg, #004274 0%, #0088cc 100%);
}

/* Field Mapping Section Enhancements */
#locations-mapping-section .houzez-form-select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

#locations-mapping-section .houzez-form-select:focus {
    border-color: #0088cc;
    box-shadow: 0 0 0 2px rgba(0, 136, 204, 0.1);
}

/* Smooth Section Transitions */
#locations-mapping-section,
#locations-results-section {
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Status Badge Transitions */
.houzez-status-badge {
    transition: all 0.3s ease;
}

.houzez-status-badge.houzez-status-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.houzez-status-badge.houzez-status-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Enhanced Form Field States */
.houzez-form-input[readonly] {
    background: #f8f9fa;
    cursor: pointer;
}

.houzez-form-input[readonly]:focus {
    background: #f0f8ff;
}

/* Import Progress Tracking Styles */
/* ------------------------------------------------------ */

/* Base Import Progress Container */
.houzez-import-progress {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress Header */
.progress-header {
    text-align: center;
    margin-bottom: 25px;
}

.progress-header h3 {
    margin: 0 0 10px 0;
    color: #2271b1;
    font-size: 20px;
    font-weight: 600;
}

.progress-header h3 i {
    margin-right: 8px;
}

/* Add spinning animation only when needed */
.progress-header h3 i.spinning {
    animation: spin 2s linear infinite;
}

.progress-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Enhanced Progress Bar System */
/* ------------------------------------------------------ */

/* Base Progress Bar (reusable) */
.houzez-progress-bar {
    width: 100%;
    height: 24px;
    background: #f0f0f1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.houzez-progress-fill {
    height: 100%;
    border-radius: 12px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

/* Height Variants */
.houzez-progress-bar.small {
    height: 8px;
    border-radius: 4px;
}

.houzez-progress-bar.small .houzez-progress-fill {
    border-radius: 4px;
}

.houzez-progress-bar.medium {
    height: 16px;
    border-radius: 8px;
}

.houzez-progress-bar.medium .houzez-progress-fill {
    border-radius: 8px;
}

.houzez-progress-bar.large {
    height: 32px;
    border-radius: 16px;
}

.houzez-progress-bar.large .houzez-progress-fill {
    border-radius: 16px;
}

/* Color Variants */
.houzez-progress-fill.default {
    background: linear-gradient(90deg, #2271b1, #72aee6);
}

.houzez-progress-fill.success {
    background: linear-gradient(90deg, #00a32a, #46b450);
}

.houzez-progress-fill.warning {
    background: linear-gradient(90deg, #ffb900, #ffc107);
}

.houzez-progress-fill.danger {
    background: linear-gradient(90deg, #dc3232, #e65054);
}

.houzez-progress-fill.info {
    background: linear-gradient(90deg, #0088cc, #72aee6);
}

/* Animated Progress Bar (only when needed) */
.houzez-progress-fill.animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        transparent 75%,
        transparent
    );
    background-size: 50px 50px;
    animation: move 2s linear infinite;
}

/* Adjust animation stripe size for different heights */
.houzez-progress-bar.small .houzez-progress-fill.animated::after {
    background-size: 20px 20px;
}

.houzez-progress-bar.medium .houzez-progress-fill.animated::after {
    background-size: 35px 35px;
}

.houzez-progress-bar.large .houzez-progress-fill.animated::after {
    background-size: 60px 60px;
}

@keyframes move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Progress Text */
.houzez-progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.houzez-progress-text .houzez-progress-percentage {
    font-size: 16px;
    font-weight: bold;
    color: #2271b1;
}

/* Batch Errors Section */
.batch-errors {
    margin-top: 25px;
    padding: 20px;
    background: #fef7f0;
    border-left: 4px solid #dba617;
    border-radius: 4px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

.batch-errors h4 {
    margin: 0 0 15px 0;
    color: #b32d2e;
    font-size: 16px;
    font-weight: 600;
}

.batch-errors ul {
    margin: 0;
    padding-left: 20px;
    max-height: 150px;
    overflow-y: auto;
}

.batch-errors li {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #8a6914;
}

/* Import Completion */
.import-completion {
    text-align: center;
    padding: 10px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.import-completion .completion-icon {
    margin-bottom: 55px;
}

.import-completion .completion-icon i {
    font-size: 64px;
    color: #00a32a;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.import-completion h3 {
    color: #00a32a;
    font-size: 24px;
    font-weight: 600;
}

.import-completion p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.import-completion small {
    color: #999;
    font-style: italic;
}

/* Loading States for Import Process */
.houzez-fields-form.importing {
    opacity: 0.6;
    pointer-events: none;
}

.houzez-fields-form.importing .houzez-form-select,
.houzez-fields-form.importing .houzez-form-input {
    background: #f5f5f5;
}

/* Enhanced Button States for Import Actions */
.houzez-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.houzez-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Import Success Animation */
.import-success-animation {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}
span.url-prefix {
    max-width: 260px;
}

/* CSV File Validation States */
.houzez-csv-upload-wrapper .houzez-form-input.valid-csv {
    border-color: #28a745;
    background: #f0fff4;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2328a745" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20,6 9,17 4,12"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.houzez-csv-upload-wrapper .houzez-form-input.invalid-csv {
    border-color: #dc3545;
    background: #fff5f5;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23dc3545" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}
