.wefix-hide {
	display:none;
}

BODY.e-preview--show-hidden-elements .wefix-hide{
	display:block!important;
}

.wefix-code-error {
	color:red;
}

.wefix-button[disabled] {
	background-color:#c7c7c7;
}

/* Search Suggestions Box */
.wefix_search_results_box {
	position: absolute;
	width: 100%;
	background: white;
	border: 1px solid #ddd;
	border-radius: 6px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
	display: none;
	z-index: 999;
	max-height: 250px;
	overflow-y: auto;
}

/* Customer Service Requests Styling */
#wefix-customer-requests-container {
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

#wefix-customer-requests-container .wefix-sr-item {
    display: flex;
    align-items: center;
    padding: 12px 8px;
    margin-bottom: 8px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    border-right: 4px solid #e0e0e0;
    cursor:pointer;
}

#wefix-customer-requests-container .wefix-sr-item:last-child {
    margin-bottom: 0;
}

#wefix-customer-requests-container .wefix-sr-item::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 12px;
}

#wefix-customer-requests-container .wefix-sr-item.status-active::before {
    background-color: #4CAF50; /* Green for active requests */
}

#wefix-customer-requests-container .wefix-sr-item.status-pending::before {
    background-color: #FFC107; /* Yellow for pending if needed in the future */
}

#wefix-customer-requests-container .wefix-sr-item.status-closed::before {
    background-color: #F44336; /* Red for closed requests */
}

#wefix-customer-requests-container .wefix-sr-date {
    font-size: 14px;
    color: #666;
    margin-right: 16px;
    min-width: 80px;
}

#wefix-customer-requests-container .wefix-sr-title {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    flex-grow: 1;
    margin-right: 10px;
}

#wefix-customer-requests-container .wefix-sr-city {
    font-size: 14px;
    color: #666;
    margin-left: auto;
    text-align: right;
}

.wefix-sp-requests-container .wefix-sp-interest-user {
    font-size: larger;
    padding:8px;
}

/* Arrow icon removed as requested */

/* Responsive styles */
@media (max-width: 768px) {
    #wefix-customer-requests-container .wefix-sr-item {
        padding: 10px 8px;
    }
    
    #wefix-customer-requests-container .wefix-sr-date {
        font-size: 13px;
        min-width: 70px;
    }
    
    #wefix-customer-requests-container .wefix-sr-title {
        font-size: 14px;
    }
    
    #wefix-customer-requests-container .wefix-sr-city {
        font-size: 13px;
    }
}

/* Search result items */
.wefix_search_result_item {
	padding: 10px;
	cursor: pointer;
	border-bottom: 1px solid #eee;
	transition: background 0.2s;
}

.wefix_search_result_item:last-child {
	border-bottom: none;
}

.wefix_search_result_item:hover {
	background: #f5f5f5;
}

/* Styling for links */
.wefix_search_result_item a {
	text-decoration: none;
	color: #333;
	font-weight: 500;
}

/* No results or loading message */
.wefix_search_no_results,
.wefix_search_loading {
	padding: 10px;
	color: #777;
	text-align: center;
}

.woocommerce-checkout #customer_details {
	display: none;
}

/* Custom Cart Styles */
.wefix-cart-table {
	max-width: 800px;
	margin: 0 auto;
}

.wefix-cart-table table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2em;
	direction: rtl;
}

.wefix-cart-table th,
.wefix-cart-table td {
	padding: 12px;
	text-align: right;
	border-bottom: 1px solid #e5e5e5;
}

.wefix-cart-table .cart_totals {
	max-width: 400px;
	margin-left: auto;
}

.wefix-cart-table .cart_totals h2 {
	font-size: 1.4em;
	margin-bottom: 1em;
}

.wefix-cart-table .cart_totals table {
	margin-bottom: 0;
}

.wefix-cart-table .order-total {
	font-weight: bold;
	font-size: 1.1em;
	border-bottom: 2px solid #e5e5e5;
}

.wefix-cart-table .recurring-totals th {
	padding-top: 20px;
	font-size: 1.1em;
	text-align: center;
	background: #f8f8f8;
}

.wefix-cart-table .recurring-total {
	background: #f8f8f8;
}

.wefix-cart-table .recurring-total th {
	font-weight: normal;
}

.wefix-cart-table .recurring-total td {
	font-weight: bold;
}

.cart-empty.woocommerce-info {
	text-align: center;
	padding: 20px;
	background: #f7f7f7;
	border-radius: 4px;
}

/**Hide show products in teh profile subscription screen */
.woocommerce_account_subscriptions .no_subscriptions .woocommerce-Button {
	display:none;
}

/** Profile Galeery */
#wefix-profile-gallery-preview {
	display: grid; 
	grid-template-columns: repeat(4, 1fr); 
	gap: 10px; 
	margin-top: 20px;
	align-items: stretch; 
}

#wefix-profile-gallery-preview .profile-gallery-image-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%; 
}

#wefix-profile-gallery-preview .gallery-image {
    flex-grow: 1; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    text-align: center; 
}

#wefix-profile-gallery-preview .gallery-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#wefix-profile-gallery-preview .gallery-item-remove-wrapper {
    flex-shrink: 0;
    margin-top: auto; 
    padding-top: 10px;
    text-align: center;
}

.wefix-view-subscription-wrapper a.woocommerce-button {
	font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    right: auto;
    color: #515151;
    background-color: #e9e6ed;
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
}

.wefix-view-subscription-wrapper a.button:hover {
	background-color: #dcd7e2;
    text-decoration: none;
    background-image: none;
    color: #515151;
}

/* Service Requests List Layout */
#wefix-sp-requests-container .wefix-sr-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
}
#wefix-sp-requests-container .wefix-sr-item > div {
    margin-right: 16px;
}
#wefix-sp-requests-container .wefix-sr-actions {
    margin-left: auto;
}
@media (max-width: 768px) {
    #wefix-sp-requests-container .wefix-sr-item {
        flex-wrap: wrap;
    }
    #wefix-sp-requests-container .wefix-sr-item > .wefix-sr-date,
    #wefix-sp-requests-container .wefix-sr-item > .wefix-sr-title,
    #wefix-sp-requests-container .wefix-sr-item > .wefix-sr-city {
        width: 33.33%;
    }
    #wefix-sp-requests-container .wefix-sr-actions {
        width: 100%;
        margin-top: 8px;
        margin-left: 0;
    }
}

/* Service Requests Actions Buttons */
#wefix-sp-requests-container .wefix-sr-actions .btn-interest {
    background-color: #77DA7E;
    color: #004C99;
    border: 1px solid #77DA7E;
}
#wefix-sp-requests-container .wefix-sr-actions button {
    border-radius: 10px;
}

/* Disabled look for profile email and mobile fields */
#wefix_uprofile_editor input#form-field-uemail:disabled,
#wefix_uprofile_editor input#form-field-umobile:disabled {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    color: #999;
    cursor: not-allowed;
    opacity: 1;
}

.signup-button-disable {
    background-color: #c7c7c7!important;
    cursor: not-allowed;
    border: 1px solid #ccc;
    color: #999;
}

.wefix-sp-signup-standby-notice {
    color:red;
    font-weight: bold;
    padding:5px;
    flex-basis: 100%;
}

select.disabled-loading {
    /* make space for the spinner */
    padding-left: 2rem;
  
    /* spinner on the left, center-vertically */
    background:
      url('../img/spinner1.svg') no-repeat 1.5rem center,
      transparent;
  
    /* visually “disabled” styling */
    opacity: 0.6;
    cursor: not-allowed;
  
    /* (optional) ensure consistent appearance across browsers */
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
  }

button.but-disabled-loading {
    /* make room for spinner */
    padding-left: 2rem;
  
    /* gray background + spinner on the left */
    background:
      url('../img/spinner1.svg') no-repeat 1.5rem center,
      #ccc;
    color: #666;
  
    /* disabled look & feel */
    border: 1px solid #999;
    opacity: 0.6;
    cursor: not-allowed;
  
    /* normalize across browsers */
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
  }

/* Provider Reviews Frontend Styles */
.wefix-sp-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
}
.wefix-sp-review-item {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wefix-sp-review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.wefix-sp-review-item .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
.wefix-sp-review-item .header .date {
    color: #888;
    font-size: 0.85em;
}
.wefix-sp-review-item .header .reviewer {
    font-weight: bold;
    color: #333;
}
.wefix-sp-review-item .header .stars {
    font-size: 1.1em;
    color: #ffb400;
}
.wefix-sp-review-item .subheader {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}
.wefix-sp-review-item .subheader .cat-rating {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.85em;
    color: #555;
}
.wefix-sp-review-item .details {
    font-size: 0.95em;
    line-height: 1.6;
    color: #444;
    margin-top: 10px;
}

/** Service Provider Review Invite Form */
form#sp_review_invite_fr .elementor-field-group-customer_email, form#sp_review_invite_fr .elementor-field-group-customer_sms, form#sp_review_invite_fr .elementor-field-type-submit {
    display: none  ;
}

/** REVIEW FORM STYLING*/
/* 1) Flatten the span wrappers so inputs & labels are direct siblings */
#wfx_review_fr .elementor-field-subgroup .elementor-field-option {
    display: contents;
  }
  
  /* 2) Flex layout (DOM order 5→1, visual 1→5), center‐aligned, super-tight gap */
  #wfx_review_fr .elementor-field-subgroup {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 0.05em;            /* ≈1px at 2rem */
  }
  
  /* 3) Visually hide the native radios but keep for A11y */
  #wfx_review_fr .elementor-field-subgroup input[type="radio"] {
    position: absolute;
    width: 1px; 
    height: 1px;
    margin: -1px; 
    padding: 0;
    border: 0; 
    clip: rect(0 0 0 0);
    overflow: hidden;
  }
  
  /* 4) Style labels as star containers (hides any literal “☆” text) */
  #wfx_review_fr .elementor-field-subgroup label {
    position: relative;
    font-size: 2rem;       /* star size */
    color: transparent;    /* hide the HTML ☆ */
    cursor: pointer;
    margin: 0; 
    padding: 0;
    line-height: 1;
  }
  
  /* 5) Draw the empty star via ::before */
  #wfx_review_fr .elementor-field-subgroup label::before {
    content: "\2606";      /* ☆ */
    color: #ccc;
    display: inline-block;
    line-height: 1;
  }
  
  /* 6) Preview (on hover) & persist (on click) 
       fill the hovered/selected star + all stars “before” it */
  #wfx_review_fr .elementor-field-subgroup label.hover::before,
  #wfx_review_fr .elementor-field-subgroup label.hover ~ label::before,
  #wfx_review_fr .elementor-field-subgroup label.selected::before,
  #wfx_review_fr .elementor-field-subgroup label.selected ~ label::before {
    content: "\2605";      /* ★ */
    color: gold;
  }
  
  /* 7) Tighter vertical spacing between each rating group */
  #wfx_review_fr .elementor-field-type-radio.elementor-field-group {
    margin-bottom: 0.25em;
  }
  
 

/** END REVIEW FORM STYLING */