/*
Theme Name: Contractor Finder
Description: A WordPress theme for contractor finder platforms — post jobs, receive bids, connect with contractors.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: contractor-finder
Tags: accessibility-ready, custom-colors, custom-menu, custom-logo, featured-images, translation-ready
*/

ul, ol {
    margin-bottom: 30px;
}

h2, h3, h4 {
    margin-bottom: 20px;
	margin-top: 40px
}

.dashboard-heading {
	margin-top: 10px
}

/* RANK MATH FAQ*/

#rank-math-faq {
    box-sizing: border-box;
    border: solid 1px transparent;
    border-radius: 10px;
    padding: 1em;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

.rank-math-list-item {
    margin-bottom: 0;
    margin-top: 1em;
    border-bottom: 1px solid #F3F5F8;
    text-align: left;
    width: 100%;
}

.rank-math-question {
    cursor: pointer;
    position: relative;
    display: block;
    padding-right: 2em;
    margin-right: 1em;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0px;
    color: #467FF7;
}

.rank-math-question:after {
    position: absolute;
    right: 0;
    top: 0;
    content: "\2715";
    transform: rotate(-45deg);
    transition: all 150ms ease-in-out;
}

.rank-math-question.collapse:after {
    transform: rotate(0deg);
}

.rank-math-question:hover {
    opacity: 0.8;
}

/* Specific rule for blue background */
#rank-math-faq.blue-bg .rank-math-question, #rank-math-faq.blue-bg a {
    color: white;
}

#rank-math-faq.blue-bg .rank-math-question:hover {
    opacity: 0.7;
}

#rank-math-faq.blue-bg {
    border: none;
    box-shadow: none;
}


/* END RANK MATH FAQ */

/* BREADCRUMBS */

.custom-breadcrumb-class, .custom-breadcrumb-class a {
    font-size: 14px !important;
    font-weight: 300 !important;
} 

/* END BREADCRUMBS */

/* COMMISSION CALCULATOR */

.commission-calculator {
    padding: 20px;
    border: 1px solid #c5c6c9;
    border-radius: 10px;
}

#renovationCost {
    border: 1px solid #c5c6c9;
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.commission-label {
    color: #1C244B;
	margin-top: 20px;
	margin-bottom: 20px;
}

.commission-result {
    margin-top: 10px;
    font-size: 16px;
    color: #1C244B;
}

.commission-button {
    border: 1px solid #fff !important;
}


/* END COMMISSION CALCULATOR */

/* REMONTTIEN HINNAT */

.remontti-pages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.remontti-category {
    width: 100%;
}

.remontti-category h2 {
    text-align: left;
    margin-top: 20px;
    margin-bottom: 30px;
}

.remontti-category-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.remontti-page {
	width: 30%;
    padding: 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    text-align: left;
}

.remontti-page-image img {
    width: 100%;
    max-height: 170px;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px;
    border-radius: 10px !important;
}

.remontti-page-content h3 {
    margin: 0 0 10px;
    font-size: 22px !important;
}

.remontti-page-content p {
    margin: 5px 0 !important;
}

.remontti-page-link {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
    display: block;
}

.remontti-page-link:hover {
    text-decoration: underline;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .remontti-page {
        width: 100%;
    }
	
	.remontti-category-items {
    flex-direction: column;
	}
    
    .remontti-page-image img {
        max-height: 170px;
    }
}


/* END REMONTTIEN HINNAT */

/* Job Card Styling */
.job-item {
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 10px;
    text-align: left;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.job-item-info {
    display: flex;
    flex-direction: column;
    width: 33%;
    align-items: flex-start;
}

.job-bids-info {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.job-bid-count {
    font-size: 14px;
}

.job-manage-link {
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

h2.job-section-title {
    font-size: 24px !important;
}

.job-price-range {
    font-size: 16px;
    margin: 10px 0;
    margin-bottom: 10px !important;
}


.job-status, .job-bids, .job-date {
    display: inline-block;
    padding: 0 12px;
    font-size: 14px;
    border-radius: 20px;
    margin-right: 10px;
}

.job-status-open {
    border: 1px solid #92BE96;
    color: #92BE96;
}

.job-status-in-progress {
    border: 1px solid #467FF7;
    color: #467FF7;
}

.job-status-completed {
    border: 1px solid #1C244B;
    color: #1C244B;
}

.job-status-cancelled {
    border: 1px solid #8D2525;
    color: #8D2525;
}

.job-status-inactive {
    border: 1px solid;
    color: #c5c6c9;
}

.job-status-completed-off-platform {
    border: 1px solid #1C244B;
    color: #1C244B;
}

.job-message-details-after-submission {
    font-size: 14px;
    border: 1px solid transparent;
    background-color: #CC7;
    border-radius: 20px;
    padding: 0 10px;
    margin-bottom: 20px;
    max-width: fit-content;
    width: max-content;
}


.contact-customer-notification {
    border: 1px solid transparent;
    background: #CC7;
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 20px;
    max-width: fit-content;
    width: max-content;
}

.view-bids-link {
    cursor: pointer;
    display: inline-block;
    margin-top: 10px;
}

.view-bids-link:after {
    content: '↓';
    margin-left: 5px;
}

.view-bids-link.open:after {
    content: '↑';
}

.bids-dropdown {
    margin-top: 20px;
}

.company-name {
    font-size: 20px;
}

.company-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    height: 80px;
}

.company-logo {
    margin-right: 20px;
}

.company-logo img {
    max-height: 80px !important;
    max-width: 100px !important;
}

.contact-info {
    font-size: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 5px 10px;
    border-radius: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    gap: 3px;
}

.contact-info i {
    margin-right: 5px;
}

.bid-info {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background-color: #E9ECEF;
    margin-bottom: 10px;
}

.view-bid-link {
    color: #467FF7;
    text-decoration: none;
}

.view-bid-link:hover {
    text-decoration: underline;
}

.view-bid-link:after {
    content: ' →';
}

.ellipsis {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px !important;
	margin-top: 24px;
}

.dashboard-manage-job-wrapper {
    display: flex
;
    gap: 20px;
    align-items: flex-start;
}

/* Dashboard mobile styles */
@media (max-width: 767px) {
    .job-item {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        flex-direction: column;
    }

    .job-item-info, .job-bids-info, .job-manage-link {
        width: 100%;
    }

    .job-manage-link {
        display: flex;
        gap: 20px;
        flex-direction: row;
    }
}



/* Error Message Styling */
.error-message {
    display: flex !important;
    flex-direction: column;
    font-size: 14px;
    background-color: #CC7;
    color: #ffffff;
    padding: 0 10px;
    border-radius: 20px;
}

.notification-message {
position: fixed;
    top: 50px;
    width: 40%;
    left: 60%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 5px 10;
    border-radius: 20px;
    display: none;
    text-align: center;
}

.success-message {
    font-size: 14px;
    border: 1px solid transparent;
    background-color: #92BE96;
    border-radius: 20px;
    padding: 0 10px;
    margin-bottom: 20px;
    color: #ffffff;
}

@media (max-width: 767px) {
    .notification-message {
        width: 80%;
        left: 50%;
    }
}


/* Job Info Styling */
.job-info {
    padding: 24px;
    border: 1px solid #c5c6c9;
    border-radius: 15px;
    text-align: left;
    margin-bottom: 20px;
	padding-bottom: 40px;
}

.contact-details p,
.additional-details p {
    margin: 5px 0;
}

.bid-form p, a.report-an-issue-link {
    font-size: 16px !important;
}

.toggle-details {
    cursor: pointer;
    color: #467FF7;
    text-decoration: none;
}

.toggle-details:hover {
    text-decoration: underline;
}

.additional-details {
    margin-top: 20px;
    font-size: 16px;
}


hr.detail-divider {
    border: none;
    border-top: 1px solid #c5c6c9;
    margin-top: 30px !important;
}

hr.section-divider {
    border: none;
    border-top: 1px solid #c5c6c9;
    margin: 30px -24px !important;
}

.bid-disclaimer {
    font-size: 14px;
    margin: 20px 0;
    color: #676767;
	}

.bid-status {
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
}

.bid-status-open, .bid-status-modify-requested, .bid-status-modified {
    border: 1px solid #92BE96;
    color: #92BE96;
}

.bid-status-accepted {
    border: 1px solid #467FF7;
    color: #467FF7;
}

.bid-status-completed {
    border: 1px solid #1C244B;
    color: #1C244B;
}

.bid-status-cancelled {
    border: 1px solid #8D2525;
    color: #8D2525;
}

.bid-status-archived, .bid-status-rejected {
    border: 1px solid;
}

.bid-date {
    font-size: 14px;
}

p.bid-price {
    margin-top: 20px;
}

.original-bid-details {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 15px;
}

#toggle-original-details {
    font-size: 14px;
    text-decoration: underline;
    margin-bottom: 30px;
}

.status-change-buttons {
    margin: 20px 0;
}
	
.cancel-bid-button, .reject-bid-button, button.delete-account-button, button#template-delete-button {
    font-size: 14px !important;
    color: red !important;
    background: none !important;
}

.delete-account-section {
    margin-top: 24px;
}

.dialog-info-message {
    font-size: 14px !important;
    color: #676767;
    font-style: italic;
}

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

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

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

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

.bid-change-success-message, .job-is-open-message {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 10px;
    border: 1px solid #d6e9c6;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Overlay for dialog */
.bid-dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Styling for dialog box */
.bid-dialog {
    border: none;
    border-radius: 15px;
    padding: 24px;
    max-width: 500px;
    margin: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* Styling for buttons */
.bid-dialog button {
    padding: 10px !important;
    cursor: pointer;
}

/* Cancel button styling */
.bid-dialog button[value="cancel"] {
    color: #467FF7;
    border: 1px solid #467FF7;
    background: none;
}

/* Action button styling */
.bid-dialog button[value="default"] {
    background-color: #467FF7;
    color: white;
}

/* Styling for form fields */
.bid-dialog input,
.bid-dialog textarea {
    border: 1px solid #c5c6c9;
    border-radius: 10px;
    padding: 10px;
    width: calc(100% - 22px); /* Adjust for padding */
    margin-bottom: 10px;
}

.badge {
    background-color: #ff0000;
    color: white;
    border-radius: 50%;
    padding: 5px 10px;
    font-size: 12px;
    vertical-align: top;
    margin-left: 5px;
}


.bid-info-container {
    padding: 20px;
    border: 1px solid #c5c6c9;
    margin-bottom: 30px;
    border-radius: 15px;
}

.bid-item {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.bid-date-container {
    display: flex;
    flex-direction: column;
    width: 25%;
}

.bid-date-label {
    font-size: 14px;
}

.bid-date-value {
    font-size: 14px;
    margin-top: -10px;
}

.bid-job-title {
    width: 50%;
}

.bid-link {
    width: 25%;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.job-details-heading {
    margin-top: 10px;
}

.needs-attention-title {
    font-size: 20px;
}

.attention-section {
    display: flex;
    width: 100%;
}

@media (max-width: 767px) {
    .attention-section {
        display: flex;
        flex-direction: column;
    }
    .bid-item {
        align-items: flex-start;
        flex-direction: column;
    }
    .bid-date-container {
        flex-direction: row;
        width: 100%;
        gap: 20px;
        align-items: flex-end;
    }
    .bid-job-title {
        width: 100%;
    }
    .bid-link {
        width: 100%;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
        margin-top: 20px;
        justify-content: space-between;
    }
}

.left-section, .right-section {
    flex: 1;
    padding: 10px;
}

.vertical-separator {
    width: 1px;
    background-color: #ccc;
    margin: 0 10px;
}

.bid-date-value, .job-title {
    display: inline-block;
}

.view-bid-link {
    margin-left: auto;
}

#wpdcom .wpd-form-head {
    display: none !important;
}

/* Login and Reset Password Page Styles */
/* Modern Login + Auth UI */

.auth-wrap, .reset-password-wrapper, .login-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 56px 16px;
}
  
.auth-card, .login-container, .reset-password-container {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 28px;
}
  
  .auth-head {
    text-align: center;
    margin-bottom: 18px;
  }
  
  .auth-title {
    margin: 0 0 30px;
    font-size: 24px !important;
  }
  
  .auth-alert {
    font-size: 14px;
    border-radius: 12px;
    padding: 10px 12px;
    margin: 14px 0 16px;
  }
  
  .alert-warn {
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.25);
  }
  
  .alert-success {
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.24);
  }
  
  .auth-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0 16px;
  }
  
  .toggle-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px !important;
    color: rgba(15, 23, 42, 0.8) !important;
    background: rgba(15, 23, 42, 0.04) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
  }
  
  .toggle-btn.is-active {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
  }
  
  .auth-panels .panel {
    display: none;
  }
  
  .auth-panels .panel.is-active {
    display: block;
  }
  
  .auth-form {
    text-align: left;
  }
  
  .field {
    margin-bottom: 12px;
  }
  
  .field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    opacity: 0.85;
  }
  
  .field input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #ffffff;
    font-size: 15px;
    outline: none;
  }
  
  .field input:focus {
    border-color: rgba(15, 23, 42, 0.45);
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
  }
  
  .btn {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
  }
  
  .btn-primary {
    background: #0f172a;
    color: #ffffff;
  }
  
  .btn-primary:hover {
    opacity: 0.92;
  }
  
  .links {
    margin-top: 12px;
  }
  
  .links a {
    font-size: 14px;
    text-decoration: none;
    opacity: 0.85;
  }
  
  .links a:hover {
    opacity: 1;
    text-decoration: underline;
  }
  
  .help {
    margin: 10px 0 0;
    font-size: 13px;
    opacity: 0.75;
  }
  
  .divider {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 18px 0 14px;
  }
  
  .divider:before,
  .divider:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(15, 23, 42, 0.14);
  }
  
  .divider span {
    position: relative;
    z-index: 1;
    padding: 0 12px;
    background: #ffffff;
    color: rgba(15, 23, 42, 0.6);
    font-size: 13px;
    font-weight: 700;
  }
  
  .social {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
  
  /* Nextend buttons */
  .social .nsl-container,
  .social .nsl-container-block {
    margin: 0 !important;
  }
  
  .foot-links {
    display: grid;
    gap: 10px;
    margin-top: 6px;
    justify-items: center;
  }
  
  .foot-links a {
    text-decoration: none;
    font-size: 14px;
    opacity: 0.85;
  }
  
  .foot-links a:hover {
    opacity: 1;
    text-decoration: underline;
  }
  
  /* Keep reset page compatible */
  .reset-password-container {
    text-align: left;
  }
  
  .reset-password-container h3 {
    margin-top: 0;
  }
  
  /* Mobile */
  @media (max-width: 767px) {
    .auth-wrap, .reset-password-wrapper, .login-wrapper {
      padding: 24px 12px;
    }
    .auth-card, .login-container, .reset-password-container {
      box-shadow: none;
      border-radius: 14px;
      padding: 22px;
    }
  }

/* FORM STYLES */

.registration-pending-verification {
    border: 1px solid transparent;
    background-color: #92BE96;
    border-radius: 20px;
    padding: 0px 20px 20px 20px;
    margin-bottom: 20px;
    text-align: center;
}

.file-uploader {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.file-uploader.dragover {
    border-color: #333;
}

.file-uploader .dz-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.file-uploader .dz-message svg {
    margin-bottom: 10px;
}

.file-uploader .dz-message .upload-message {
    font-size: 16px;
    color: #666;
}

#file-preview {
    display: none;
}

.file-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.file-name {
    font-size: 16px;
}

.remove-file {
    cursor: pointer;
    color: red;
    font-size: 18px;
}

.file-thumbnail img.thumbnail {
    max-width: 100px;
    max-height: 100px;
    margin-top: 10px;
}

.progress-bar {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
}

.progress {
    width: 0;
    height: 5px;
    background-color: #4caf50;
    transition: width 0.4s;
}

#file-list {
    margin-top: 10px;
}

#file-list div {
    padding: 5px;
    border: 1px solid #ccc;
    margin-top: 5px;
    border-radius: 3px;
    background-color: #f9f9f9;
}

#submit-button[disabled] {
    cursor: not-allowed;
}

.attachments-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}

.attachments-toggle:hover {
    text-decoration: underline;
}

.existing-attachments-preview {
    margin-bottom: 10px;
}

.existing-attachments-preview .file-item {
    padding: 5px;
    border: 1px solid #ccc;
    margin-top: 5px;
    border-radius: 3px;
    background-color: #f9f9f9;
}

.custom-form .form-group {
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    display: inline-flex;
    margin-bottom: 12px;
    gap: 4px;
}

fieldset {
    border: 1px solid #c5c6c9;
    border-radius: 10px;
    margin-bottom: 20px;
}

.custom-form input[type="number"], input[type=email],
.custom-form textarea, .custom-form input[type=text], .custom-form input[type=password], .custom-form select, .custom-form input[type=tel], input[type=password], .custom-form input[type=url], .custom-form input[type="date"] {
    border: 1px solid #c5c6c9;
    border-radius: 8px;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
}

.custom-form input[type="radio"], .custom-form input[type="checkbox"] {
    margin: 0px 8px;
}

.custom-form textarea {
    height: 200px;
}

.custom-form-checkbox {
    display: flex;
    align-items: center;
}

.form-option-group {
    margin-top: 24px;
}


.radio-label input[type="radio"] {
    flex-shrink: 0;       /* prevents the radio button from shrinking */
    margin-right: 0.5em;  /* space between the radio and the text */
}

@media (max-width: 768px) {

    .job-post-form {
        font-size: 16px;
    }

    .job-post-form a {
        font-size: 16px !important;
    }

    .category-specific-questions {
        display: none;
    }
}

.city-name {
    text-transform: uppercase;
    margin-left: 20px;
}

.area-wrapper {
    display: flex;
    align-items: center;
}

.area-wrapper input[type="number"] {
    width: 25%;
    margin-right: 5px;
}

.area-wrapper .unit {
    font-size: 0.9em;
    line-height: 1.2;
}

.currency-wrapper {
    display: flex;
    align-items: center;
    width: 40%;
}
.currency-wrapper input {
    flex: 1;
}
.currency-symbol {
    margin-left: 5px;
}

button#submit-button, .commission-btn {
    border: none;
}

.job-publish-time, .job-publish-time .job-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;  
    font-size: 14px;
    color: #555555;  
}

.job-completed-by {
    margin-bottom: 20px;
}

.job-meta-chip {
    border-radius: 28px;
    padding: 0px 10px;
    font-size: 14px;
}

.location-icon, .house-icon, .area-icon {
    fill: #000;
    width: 14px;
    vertical-align: middle;
    margin: 0px 7px 2px 5px;
}

.job-location, .job-area, .job-house-type {
    display: inline-flex;
    border: solid 1px #c5c6c9;
    align-items: center;
}

.job-category {
    display: inline-flex;
    align-items: flex-end;
    border: solid 1px #c5c6c9;
    text-transform: none;
}

.job-title {
    margin: 0px 0px 24px 0;
}

.job-title a {
    font-size: inherit !important;
    color: inherit !important;
}

/* Custom Dropdown Styles */
.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-toggle {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    text-align: left;
    transition: box-shadow 0.2s;
}

.dropdown-toggle::after {
    content: '↓';
    float: right;
}

.dropdown-toggle.pulse {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #c5c6c9;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
    width: 100%;
    max-height: 420px;
    overflow-y: auto;
    margin-top: -10px;
    border-radius: 5px;
}

.dropdown-menu .dropdown-search {
    width: 100%;
    padding: 10px;
    border: none;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
    font-size: 14px; /* Reduced font size */
    font-weight: normal; /* Normal font weight */
}

.dropdown-item {
    padding: 8px; /* Reduced padding */
    font-size: 14px; /* Reduced font size */
    font-weight: normal; /* Normal font weight */
    display: flex;
    align-items: center;
}

.dropdown-item input {
    margin-right: 10px;
}

.region-group {
    padding: 10px 0;
    border-top: 1px solid #ddd;
}

.region-title {
    font-size: 14px;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin-bottom: 5px;
}

/* Custom Scrollbar Styles */
.dropdown-menu::-webkit-scrollbar {
    width: 8px;
    transition: opacity 1s;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.form-navigation {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 30px;
}

#location-toggle, #category-toggle {
    margin: 10px 0px 30px 0px;
    padding: 12px;
    border: 1px solid #c5c6c9;
    border-radius: 10px;
    font-size: 18px;
    width: 100%;
    background-image: linear-gradient(45deg, white, white);
    color: #333;
    font-weight: 400;
    text-align: left;
}

#additional_info_editor, #contractor-message-quill {
    height: max-content;
    min-height: 350px;
}

.ql-editor img[src*="/emoji/"],
.bid-details-content img[src*="/emoji/"] {
    width: 1em;
    height: 1em;
    max-width: none;
    vertical-align: -0.1em;
    display: inline;
}

.ql-editor p {
    margin-bottom: 8px !important;
}

.ql-editor ul, .ql-editor ol {
    margin-bottom: 12px !important;
    padding-left: 1.5em !important;
}

.form-additional-info {
    font-size: 14px;
    color: #676767;
    border: solid 1px #c5c6c9;
    padding: 10px;
    border-radius: 10px;
    line-height: 1.8em;
    margin-bottom: 20px;
}

.form-additional-info a {
    font-size: inherit !important;
}

.form__indicators--type-number_text {
    align-items: flex-start;
}

.form__indicators {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    font-size: 13px;
    margin-bottom: 20px; /* Adjust this value if needed */
}

.form__indicators__indicator:first-child {
    padding-left: 0;
}

.form__indicators__indicator--state-active {
    color: #467FF7;
    border-color: #fff;
}

.form__indicators__indicator--state-done {
    color: green;
    border-color: #fff;
}

.form__indicators__indicator--state-inactive {
    color: #c5c6c9;
    border-color: #fff;
}

.form__indicators__indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-basis: 0;
    padding: 0 10px; /* Adjust this value if needed */
}

.form__indicators__indicator__separator {
    width: 100%;
    height: 1px;
    background-color: #c5c6c9;
    margin-top: 15px; /* Adjust this value if needed */
}

.form__indicators__indicator__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #c5c6c9;
    font-weight: bold;
    margin-bottom: 5px;
}

.form__indicators__indicator__label {
    font-size: 12px;
    text-align: center;
    font-weight: 400;
}

.form-name-field-group {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
        .form-name-field-group {
        flex-direction: column;
    }
}

.custom-form label {
    font-weight: 400;
}

.form-terms-text {
    margin: 20px 0;
    display: block !important;
}

.pending-email-notice {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.pending-email-notice p {
    margin: 0 0 4px;
}

.pending-email-notice a {
    font-size: 12px;
}

.additional-details-message {
    background-color: #dff0d8;
    padding: 20px;
    border: 1px solid transparent;
    border-radius: 20px;
}

.pending-email-verification-notice {
    background-color: #f0f7ff;
    border: 1px solid #b8d4f0;
    border-radius: 12px;
    padding: 24px 28px;
    max-width: 520px;
}

.pending-email-verification-notice h3 {
    margin: 0 0 12px;
}

.pending-email-verification-notice p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.5;
}

.pending-email-verification-notice p:last-child {
    margin-bottom: 0;
}

.pending-email-verification-notice__hint {
    color: #555;
    font-style: italic;
}

.pending-email-verification-notice__support {
    color: #666;
    font-size: 14px !important;
}

.job-form-header-title {
    font-size: 32px !important;
}

.job-form-header-text {
    font-size: 14px;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: 0px;
    margin-bottom: 16px;
}

.yritys-job-categories {
    display: flex;
    flex-wrap: wrap;
}
.job-category-item {
    width: 50%;
    box-sizing: border-box;
    padding: 5px 0;
    padding-right: 10px;
    display: flex;
    align-items: center;
}
.job-category-item img {
    margin-right: 10px;
    max-width: 24px; /* Adjust as needed */
    height: auto;
}

.job-count {
    font-size: 18px;
    margin-bottom: 20px;
}

.job-icon {
    font-size: 24px;
    margin-right: 15px;
    color: #00a99d;
}
.job-details {
    flex: 1;
}
.job-details h3 {
    margin: 0;
    font-size: 18px;
}

.job-meta .job-city {
    margin-right: 15px;
}

.tabs {
    border-bottom: 1px solid #c5c6c9;
    display: flex;
    gap: 16px;
    margin-top: 20px;
    overflow: auto;
}

.job-post-progress {
    padding: 20px;
    background: #F9FAFD;
    border-radius: 20px;
    margin: 30px 0;
}

body.contractor-finder button.tab-link, body.contractor-finder button.tab-link:hover {
    padding: 10px 0;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: black;
    text-align: left;
    border-radius: 0;
    font-weight: 400;
    font-size: 16px;
    box-shadow: none;
}

body.contractor-finder button.tab-link.active, body.contractor-finder button.tab-link:active {
    color: #467FF7;
    font-weight: bold;
    border-bottom: 2px solid #467FF7;
    border-radius: 0;
    box-shadow: none;
}

body.contractor-finder button {
    border: none;
}

.file-name {
    word-break: break-all;
}

.bid-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.bid-detail {
    margin-top: 20px;
}

.bid-top {
    display: flex;
    width: 50%;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
}

.bid-left {
    width: 30%;
}

.bid-info-custom {
    width: 60%;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.bid-middle {
    width: 30%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.bid-label, .sorting-label {
    font-size: 12px;
    color: #555;
    margin: 0;
}

.bid-price {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin: 0
}

.bid-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 20%;
    text-align: center;
    margin-top: 0;
}

.btn, #accept-bid, button.complete-job-button, #open-bid-link-button, button.accept-bid-button {
    display: block !important;
    padding: 12px 12px !important;
    text-align: center !important;
    color: #fff !important;
    background-color: #467FF7 !important;
    border-radius: 24px !important;
    background-image: none !important;
    font-size: 14px !important;
}

button.complete-job-button, button.accept-bid-button {
    background-color: #92BE96 !important;
}

button.cancel-job-button {
    padding: 5px 10px !important;
    font-size: 14px !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: red !important;
    text-align: left !important;
    background-image: none !important;
}

button.reactivate-job-button, button.remove-inactive-status-button {
    padding: 5px 10px !important;
    font-size: 14px !important;
    background-color: #92BE96 !important;
    background-image: none !important;
}

button.upload-contract-button {
    padding: 10px 10px !important;
    font-size: 14px !important;
}

.complete-job-header-button #complete-job {
    font-size: 14px;
    padding: 10px 10px;
    border: 1px solid;
}

.bid-button-group {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.btn:hover {
    opacity: 0.8;
}

.no-bids-found {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.selected-bid {
    background: #F9FAFD;
    padding-right: 10px;
    margin-top: 50px;
    position: relative;
}

.selected-bid::before {
    border-left: 3px solid #467FF7;
    content: '';
    position: absolute;
    width: 5px;
    height: 100%;
}

.selected-bid-message {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    position: absolute;
    top: -30px;
    left: 0;
    z-index: 1;
    font-size: 14px;
    color: #FFF;
    background-color: #467FF7;
    padding: 5px;
}

.selected-bid .bid-top {
    margin-left: 20px;
}

@media (max-width: 768px) {
    .bid-content {
        flex-direction: column;
    }

    .bid-top {
        width: 100%;
    }

    .bid-info-custom {
        width: 60%;
    }

    .bid-middle {
        width: 100%;
        margin: 20px 0;
        align-items: flex-start;
    }

    .bid-bottom {
        width: 100%;
        margin-top: 10px;
        display: inline-flex;
        flex-direction: row;
        gap: 20px;
    }
    
    .btn, #accept-bid, #request-modification, #submit-modification, #open-bid-link-button {
    font-size: 14px !important;
    }
    
    .bid-button-group {
    flex-direction: column;
    }
    
    .selected-bid::before {
    display: none;
    }
}

.edit-profile-container {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.profile-picture-container {
    display: flex;
    gap: 20px;
    align-items: center;
}

.elementor .profile-picture {
    border-radius: 50%;
    border: 1px;
    width: 150px;
    min-width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: center;
}

#save-profile {
    width: max-content;
}

.profile-picture-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.elementor .profile-picture-button {
    padding: 5px;
}

small, small a {
    font-size: 14px !important;
}

.notification-group {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    font-size: 16px;
}

/* Star rating styles */
.star-rating {
    display: flex;
    align-items: center;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    width: 30px;
    height: 30px;
    background: url('data:image/svg+xml;charset=UTF8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23ccc" viewBox="0 0 24 24"><path d="M12 17.27l6.18 3.73-1.64-7.03L22 9.24l-7.19-.62L12 2 9.19 8.62 2 9.24l5.46 4.73L5.82 21z"/></svg>') no-repeat center;
    background-size: contain;
    cursor: pointer;
    margin-right: 5px;
}

.star-rating label.filled {
    background-image: url('data:image/svg+xml;charset=UTF8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23FFC107" viewBox="0 0 24 24"><path d="M12 17.27l6.18 3.73-1.64-7.03L22 9.24l-7.19-.62L12 2 9.19 8.62 2 9.24l5.46 4.73L5.82 21z"/></svg>');
}

.star-rating #star-rating-value {
    font-size: 1em;
    margin-left: 10px;
}

/* Review header styles */
.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ccc; /* This will be overridden by inline style */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.review-avatar-initial {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.review-author-info {
    display: flex;
    flex-direction: column;
}

.review-author-name {
    font-size: 1em;
    font-weight: bold;
}

.review-rating {
    display: flex;
    align-items: center;
}

.review-rating .star {
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;charset=UTF8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23cccccc" viewBox="0 0 24 24"><path d="M12 17.27l6.18 3.73-1.64-7.03L22 9.24l-7.19-.62L12 2 9.19 8.62 2 9.24l5.46 4.73L5.82 21z"/></svg>') no-repeat center;
    background-size: contain;
    margin-right: 5px;
}

.bid-info-custom .review-rating .star {
    width: 18px;
    height: 18px;
    margin-right: 3px;
}

.review-rating .star.filled {
    background-image: url('data:image/svg+xml;charset=UTF8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23ffc107" viewBox="0 0 24 24"><path d="M12 17.27l6.18 3.73-1.64-7.03L22 9.24l-7.19-.62L12 2 9.19 8.62 2 9.24l5.46 4.73L5.82 21z"/></svg>');
}

.review-rating .star.half {
    background-image: url('data:image/svg+xml;charset=UTF8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><defs/><path fill="%23cccccc" d="M12 17.27l6.18 3.73-1.64-7.03L22 9.24l-7.19-.62L12 2 9.19 8.62 2 9.24l5.46 4.73L5.82 21z"/><path fill="%23ffc107" d="M12 17.27V2l-2.81 6.62L2 9.24l5.46 4.73L5.82 21 12 17.27z"/></svg>');
}

.review-rating .star-rating-value, .review-rating .star-rating-count {
    font-size: 1em !important;
    margin-left: 8px;
    color: #000;
    line-height: 0;
}

.bid-info-custom .star-rating-value {
    font-size: 0.8em !important;
}

.bid-info-custom .review-rating .star-rating-count a {
    font-size: 14px !important;
    margin: 0px 1px;
}

/* Review Reply Styles */
.review-reply {
    display: flex;
    align-items: flex-start;
    margin-top: 15px;
}

.review-avatar.company-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 15px;
}

.review-reply-content {
    flex: 1;
}

.review-reply-content .review-author-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.no-review {
    font-style: italic;
    margin-top: 10px;
}


/* Adjust form container */
.review-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.review-form-container h2,
.review-form-container h3 {
    text-align: center;
}

.review-form-container .form-group {
    margin-bottom: 15px;
}

.review-form-container label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.review-form-container textarea {
    border: 1px solid #c5c6c9;
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.review-form-container button[type="submit"] {
    margin-top: 15px;
}

.review-form-container small {
    display: block;
    margin-top: 10px;
    color: #777;
}

.form-toggle-group {
    display: flex;
    gap: 10px;
    font-size: 16px;
}

.form-toggle-group .toggle-option {
    flex: 1;
    text-align: center;
    padding: 8px;
    border: 1px solid #c5c6c9;
    border-radius: 8px;
    cursor: pointer;
    background-color: #F9FAFD;
    box-sizing: border-box;
    width: 100%;
    line-height: 1.5;
}

.form-toggle-group .toggle-option input[type="radio"] {
    display: none;
}

.form-toggle-group .toggle-option.active {
    background-color: #467FF7;
    color: #fff;
}

ul.post-detail-text {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.8em;
}

.existing-portfolio-image {
    max-width: 150px;
    height: auto;
    margin: 5px;
    border: 1px solid #ddd;
    padding: 5px;
}

div#company_description_editor {
    min-height: 250px;
}

.custom-form button.remove-portfolio-item, .custom-form button.remove-bid-stage {
    color: red;
    background: none;
    border: none;
    padding: 0;
    margin: 0 0px 20px 0;
}

.custom-form button#add-portfolio-item, .custom-form button#add-stage-button, .custom-form button#add-payment-milestone-button {
    color: #467FF7;
    background: none;
    padding: 0;
    font-size: 16px;
}

.custom-form button#save-company {
    margin-top: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
    flex-direction: row;
}

div#TB_secondLine {
    color: #fff;
}

.customer-details-table td {
    background-color: #fff !important;
    border: none;
    border-bottom: 1px solid #c5c6c9;
    padding: 12px 0;
    font-size: 16px;
    word-break: break-word;
    padding-right: 12px;
}

.customer-details-table td.contact-info-label {
    word-break: normal;
}

.customer-phone-link, .customer-email-link {
    font-weight: 400 !important;
    color: inherit !important;
    font-size: 16px !important;
}

.data-unrevealed {
    color: var(--e-global-color-accent) !important;
    font-weight: 600 !important;
}

.job-feature-high-value {
    border: 1px solid #ffc107;
    font-weight: bold;
}

.star-icon {
    fill: #ffc107;
}

.job-feature-company {
    border: solid 1px #c5c6c9;
}

.message-templates button.message-template-btn {
    padding: 8px 12px;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 400;
}

.custom-template-add-link {
    display: inline-block;
    margin-bottom: 12px;
}

.custom-template-add-link a,
.custom-template-add-link a:hover,
.custom-template-add-link a:visited,
.custom-template-add-link a:focus {
    color: #467FF7 !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 400;
    padding: 8px 0;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

.custom-template-add-link a:hover {
    text-decoration: underline !important;
}

.submit-bid-urgency-message {
    font-style: italic;
    font-size: 16px;
}

.interaction-type-selector {
    gap: 16px;
    display: flex;
    margin-bottom: 20px;
}

.stage-row {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

input.stage-description {
    width: 66% !important;
}

input.stage-price {
    width: 33% !important;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .stage-row {
      flex-direction: column;
      align-items: flex-start;
    }
  
    input.stage-description,
    input.stage-price {
      width: 100% !important;
    }
  }

#total-cost-wrapper p {
    margin-bottom: 4px;
}

.company-other-info {
    font-size: 16px;
}

.company-business-id {
    margin-bottom: 12px;
}

.price-summary-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.line-item {
    border-bottom: 1px solid #ccc;
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

span.item-price {
    white-space: nowrap;
    overflow: visible;
}

.item-desc {
    word-break: break-word;
}

.offer-details-fixed {
    font-size: 16px;
    margin-bottom: 24px;
}

span.job-name-highlight {
    font-size: 18px;
}

.job-name-in-offer-details {
    margin-bottom: 12px;
}

.customer-details-div {
    font-size: 16px;
}

.company-other-info.two-columns {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: space-between;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .company-other-info.two-columns {
        flex-direction: column;
    }
  }

.company-info-right {
    background-color: #F9FAFD;
    border-radius: 20px;
    padding: 24px;
    min-width: fit-content;
    max-width: 40%;
}

.times-selected {
    color: #9cadb6;
    font-size: 14px;
    font-weight: 600;
    line-height: 3em;
    margin: 4px 0;
}

.top-bid-status {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.contractor-edit-bid-link, a.job-completion-button {
    font-size: 14px !important;
    border: 1px solid;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: #F9FAFD;
    text-align: center;
}

.archived-bids-container h4.collapsible-header {
    font-size: 16px;
    cursor: pointer;
}

.archived-bids-container h4.collapsible-header:hover {
    color: #467FF7;
}

/* PORTFOLIO STYLES */

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.portfolio-item {
    width: 350px;
    cursor: pointer;
}

.portfolio-item-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-item-main-image,
.portfolio-item-hover-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0; left: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item-hover-image {
    opacity: 0;
}

.portfolio-item-image-container:hover .portfolio-item-hover-image {
    opacity: 1;
}

.portfolio-item-image-container:hover .portfolio-item-main-image {
    opacity: 0;
}

.portfolio-item-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0; 
    right: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
}

.portfolio-item-title-text {
    font-size: 16px;
    font-weight: 600;
}

/* Modal full screen white */
.portfolio-modal {
    position: fixed;
    z-index: 9999;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #fff;
    overflow: auto; /* entire modal scrolls */
}

.portfolio-modal-content {
    max-width: 1140px;
    margin: 20px auto;
    padding: 20px;
    box-sizing: border-box;
}

.portfolio-modal-close {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.portfolio-modal-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.portfolio-modal-description {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    word-wrap: break-word;
}

.portfolio-modal-budget,
.portfolio-modal-location,
.portfolio-modal-date {
    font-size: 13px;
    margin-bottom: 5px;
    color: #555;
}

/* Masonry-like gallery using CSS columns */
.portfolio-modal-gallery {
    columns: 2;
    column-gap: 20px;
    margin-top: 20px;
}

.portfolio-modal-gallery img {
    width: 100%;
    display: block;
    margin-bottom: 20px;
    border-radius: 10px;
    break-inside: avoid;
}

@media (max-width: 600px) {
    .portfolio-modal-gallery {
        columns: 1;
    }

    .portfolio-item {
    width: 400px;
}
}

/* END PORTFOLIO STYLES */

.job-completion-wrapper, .bid-completion-wrapper {
    max-width: 500px;
}

.vat-info {
    padding: 8px;
    border: 1px solid #c5c6c9;
    margin: 16px 0;
    font-size: 14px;
    max-width: 280px;
    background-color: #F9FAFD;
}

menu.bid-status-dialog {
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.report-issue-section {
    margin-top: 30px;
}
.job-share {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.share-buttons {
    display: flex;
    flex-direction: row;
    gap: 24px;
    justify-content: center;
}

.facebook-share, .x-share {
    width: 40px;
}

.completed-bid-item {
    padding: 20px 0px;
}

.customer-seen {
    display: flex;
    flex-direction: row;
    font-size: 12px;
    line-height: normal;
    gap: 8px;
    align-items: center;
    margin: 0 !important;
}

.invoice-status-chip {
    border: 1px solid #c5c6c9;
    padding: 5px 10px;
    border-radius: 20px;
}

.invoice-status-chip.paid {
    color: #3c763d;
    border-color: #3c763d;
}

.invoice-status-chip.pastdue, .invoice-status-chip.debtcollection {
    color: #8D2525;
    border-color: #8D2525;
}

.invoice-table {
    overflow: auto;
}

.bid-info-section {
    margin-top: 20px;
}

.job-location-text {
    text-transform: uppercase;
}

a#disable-offers {
    font-size: inherit;
}

.contractor-listing-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.contractor-item {
    display: flex;
    align-items: center;
    flex: 1 1 calc(50% - 20px); /* Adjusts to two columns per row */
    box-sizing: border-box;
}

.contractor-logo img {
    max-width: 80px !important;
    height: auto !important;
    margin-right: 15px;
}

.contractor-info {
    display: flex;
    flex-direction: column;
}

.contractor-name {
    margin: 0 0 5px 0;
    font-size: 1em;
}

.contractor-link {
    text-decoration: none;
    color: #0073aa;
    font-size: 0.9em;
}

.contractor-summary {
    margin-top: 20px;
    font-size: 1em;
    font-weight: bold;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .contractor-item {
        flex: 1 1 calc(50% - 20px);
    }
}
@media screen and (max-width: 480px) {
    .contractor-item {
        flex: 1 1 100%;
    }
}

.search-result:last-of-type {
    border-bottom: 1px solid #c5c6c9;
}

.search-result {
    padding: 20px 0;
    border-top: 1px solid #c5c6c9;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.job-listing-wrapper {
    margin-top: 40px;
    margin-bottom: 60px;
}

.job-total-count {
    display: flex;
    justify-content: flex-end;
}

/* Final price block styling */
.job-final-price-wrapper {
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.job-final-price-text span {
    font-weight: bold;
    margin-right: 5px;
}
.job-final-price-text p {
    margin: 0;
    font-size: 1em;
}

.company-suspended-message, .suspended-company {
    border: 1px solid #8D2525;
    padding: 16px;
    border-radius: 20px;
    color: #8D2525;
}

.reviews-load-more-wrap {
    margin-top: 20px;
}

.bid-badge {
    font-size: 12px;
    color: #024997;
    border-radius: 8px;
    padding: 4px;
    background: #f3f8fe;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    max-height: 20px;
}

.bid-badges {
    margin: 8px 0;  
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.offer-controls-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-direction: row;
}

select#offer-sort {
    border: 1px solid #c5c6c9;
    border-radius: 12px;
}

.invoice-hint {
    padding: 20px;
    background: #F9FAFD;
    border-radius: 20px;
    margin: 30px 0;
    border: 1px solid #c5c6c9;
}

/* ===== Quick Job Report ===== */

.job-report-container { max-width: 1000px; margin: 0 auto; padding: 8px 12px 24px; }

.job-report-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}
.job-report-control { display: flex; flex-direction: column; gap: 6px; }
.job-report-control label { font-size: 13px; color: #475569; }
.job-report-control select,
.job-report-control input[type="text"] {
  height: 38px; padding: 6px 10px; border: 1px solid #e2e8f0; border-radius: 10px;
  font-size: 14px; outline: none; background: #fff;
}
.job-report-control select:focus,
.job-report-control input[type="text"]:focus { border-color: #94a3b8; }
.job-report-search { grid-column: 1 / -1; }

.job-report-results { display: block; }
.job-report-empty {
  text-align: center; padding: 20px; color: #64748b; font-size: 14px; background: #f8fafc; border-radius: 12px;
}

.job-report-month {
  font-weight: 700; font-size: 16px; margin: 14px 0 8px;
  color: #0f172a;
}
.job-report-meta {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin: 8px 0;
    align-items: center;
}

.job-report-row {
  background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 12px; margin-bottom: 10px;
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}

.job-report-title { font-weight: 700; font-size: 15px; color: #0f172a; }
.job-report-sub   { color: #475569; font-size: 13px; margin-top: 2px; }

.job-report-badge {
  display: inline-block; font-size: 12px; line-height: 1; padding: 6px 8px;
  background: #f1f5f9; color: #0f172a; border-radius: 999px; white-space: nowrap; height: fit-content;
}

.job-report-badge.job-report-badge--missing_final {
    color: #8D2525;
    border: 1px solid #8D2525;
}

.job-report-actions {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px;
}
.job-report-actions .button {
  border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; padding: 6px 10px; font-size: 13px;
}
.job-report-actions .button.button-primary {
  background: #467FF7; border-color: #467FF7; color: #fff;
}

/* Modal */
.job-report-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9999;
    display: flex;
    align-items: center;      /* vertically center */
    justify-content: center;  /* horizontally center */
    padding: 16px;            /* breathing room on small screens */
  }
.job-report-modal {
background: #fff;
border-radius: 12px;
max-width: 640px;
width: 100%;
max-height: 90vh;         /* keep within viewport height */
overflow: hidden;         /* header/footer fixed, body scrolls */
display: flex;
flex-direction: column;
box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.job-report-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
  }
.job-report-modal-body {
padding: 14px 16px;
overflow: auto;           /* scroll inner content if tall */
}
.job-report-modal-title { font-weight: 700; font-size: 16px; }
.job-report-modal .button {
    border-radius: 8px;
    font-size: 12px;
    padding: 12px 20px;
}
.job-report-modal .button:hover {
    border-radius: 8px !important;
    filter: brightness(0.98);
}
.job-report-modal-body label { display: block; margin-bottom: 8px; color: #0f172a; font-size: 14px; }
.job-report-modal-body input[type="text"],
.job-report-modal-body input[type="date"],
.job-report-modal-body select,
.job-report-modal-body textarea {
  width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 14px;
}
.job-report-modal-body textarea { resize: vertical; }

.job-report-fieldset { border: 1px solid #eee; padding: 10px; border-radius: 8px; margin-bottom: 12px; }
.job-report-fieldset legend { padding: 0 4px; color: #334155; font-size: 13px; }
.job-report-fieldset label { display:block; font-size: 14px; color: #0f172a; margin: 6px 0; }

.job-report-money-wrap { display: inline-flex; align-items: center; gap: 6px; }
.job-report-money { width: 140px; }

.job-report-hint { font-size: 13px; color: #334155; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 8px 10px; margin: 6px 0 10px; }
.job-report-req { color: #dc2626; }

.job-report-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}
.job-report-modal-actions .button { border-radius: 8px; }
.job-report-modal-actions .button.button-primary { background: #467FF7; border-color: #467FF7; color: #fff; }

/* Responsive */
@media (min-width: 720px){
  .job-report-controls { grid-template-columns: 1fr 1fr 2fr; }
}
@media (max-width: 420px){
    .job-report-modal { max-width: 100%; border-radius: 10px; }
    .job-report-money { width: 120px; }
}

.comment-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 8px;
    border-radius: 999px;
}

.comment-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.comment-icon {
    width: 14px;
    height: 14px;
}

.comment-total {
    font-size: 12px;
}

.comment-unread-badge {
    position: absolute;
    top: -7px;
    right: -9px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.comment-pill--unread {
    border-color: rgba(220, 38, 38, 0.45);
    border: 1px solid;
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626 !important;
    padding: 0 8px;
}

.google-review-prompt {
    background: #F9FAFD;
    border: 1px solid #E6ECF5;
    border-radius: 16px;
    padding: 18px 18px 16px;
    margin: 10px 0 18px;
  }
  
.google-review-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 8px;
}
  
.google-review-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none !important;
    background: #111827;
    color: #fff !important;
}
  
.google-review-cta:hover {
    opacity: 0.9;
}

.google-review-logo {
    width: 18px;
    height: 18px;
    display: block;
}

a.bid-pdf-link {
    padding: 8px;
    white-space: nowrap;
}

.profile_trust_block {
    margin-top: -30px;
  }
  
.profile_trust_heading {
    font-size: 22px !important;
    line-height: 1;
}

@media (max-width: 768px) {
    .profile_trust_heading {
        font-size: 18px !important;
        line-height: 1;
    }
}

.profile_trust_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

.profile_trust_link {
    display: inline-block;
}

.profile_trust_text {
    font-size: 14px;
}

.profile_trust_block .profile_trust_grid .profile_trust_link .profile_trust_img,
.profile_trust_block .profile_trust_grid .profile_trust_img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 160px !important;
    max-height: 140px !important;
    object-fit: contain !important;
    aspect-ratio: auto !important;
}
  

.finish_password_wrap {
    display: flex;
    justify-content: center;
    margin: 50px 20px 50px 20px;
}

.finish_password_box {
    padding: 24px;
    border: 1px solid #c5c6c9;
    border-radius: 20px;
}

.finish_password_actions {
    margin: 16px 0 16px 0px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

button.finish_password_button {
    border: none;
    color: #fff;
    background: #467FF7;
    border-radius: 20px;
}

button.finish_password_button:hover {
    background: #1C244B;
}

.verify-company-icons {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: left !important;
  }
  
  .verify-company-icons img {
    display: block !important;
    margin: 0 !important;
    float: none !important;
    max-height: 30px !important;
  }
  
.bid-detail .verify-company-icons {
    margin: 16px 0;
}
  
.bid-detail .verify-company-icons img {
    max-height: 22px !important;
}
  
.verify_icons_html {
    margin-bottom: 24px;
}


/* Site Modal System */
body.site-modal--open {
    overflow: hidden;
  }
  
  /* Blur overlay, no dark tint */
  .site-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
  
    /* Fade-in */
    opacity: 0;
    transition: opacity 160ms ease;
  }
  
  .site-modal-overlay.is-visible {
    opacity: 1;
  }
  
  .site-modal {
    width: 100%;
    max-width: 680px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
    border: 1px solid #c5c6c9;
  
    /* Failsafe for tall content */
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
  
    /* Animate-in */
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    transition: opacity 160ms ease, transform 160ms ease;
  }
  
  .site-modal-overlay.is-visible .site-modal {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  
  .site-modal__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    flex: 0 0 auto;
  }
  
  .site-modal__titlewrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  
  .site-modal__title {
    font-size: 20px;
    font-weight: 700;
  }
  
  .site-modal__progress {
    font-size: 12px;
    opacity: 0.75;
    text-align: center;
  }
  
  .site-modal__close {
    appearance: none !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
    padding: 6px !important;
    margin: -6px -6px 0 0 !important;
    border-radius: 10px !important;
    color: rgba(0,0,0,0.75) !important;
    position: absolute;
    left: auto;
    right: 20px;
  }
  
  .site-modal__close:hover {
    background: rgba(0,0,0,0.06) !important;
  }
  
  .site-modal__closeSvg {
    width: 20px;
    height: 20px;
    display: block;
  }
  
  .site-modal__body {
    padding: 18px 20px;
    flex: 1 1 auto;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .site-modal__body p:first-child {
    margin-top: 0;
  }
  
  .site-modal__footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(0,0,0,0.08);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
    flex: 0 0 auto;
  }
  
  .site-modal__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    border: none !important;
    background: #467FF7 !important;
    color: #fff !important;
    font-size: 14px !important;
    cursor: pointer !important;
    text-decoration: none !important;
  }
  
  .site-modal__btn--secondary {
    background: transparent !important;
    color: #467FF7 !important;
  }

/* ================================================
   Company jobs and reviews shortcode
   ================================================ */

.job-status-not-completed {
    color: #888;
    font-style: italic;
}

.company-jobs-sort {
    max-width: 250px;
}

.company-jobs-sort label {
    margin-bottom: 0;
}

/* Review breakdown bar chart */
.review-breakdown {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 16px;
}

.review-breakdown-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 60px;
}

.review-breakdown-score {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: #111;
}

.review-breakdown-score-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.review-breakdown-stars {
    gap: 2px;
}

.review-breakdown-total {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}

.review-breakdown-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 250px;
}

.breakdown-row {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.5em;
}

.breakdown-label {
    font-size: 13px;
    color: #555;
    width: 10px;
    text-align: right;
    flex-shrink: 0;
}

.breakdown-bar-wrap {
    flex: 1;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.breakdown-bar-fill {
    height: 100%;
    background: #ffc107;
    border-radius: 5px;
}

.breakdown-count {
    font-size: 13px;
    color: #555;
    width: 16px;
    flex-shrink: 0;
}

/* Sort controls */
.company-jobs-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

.company-jobs-sort select {
    font-size: 14px;
    padding: 4px 8px;
    border: 1px solid #c5c6c9;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}


/* ==========================================================================
   Contractor Search
   ========================================================================== */

#contractor-search {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

#contractor-search-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    width: 100%;
}

div#search-container {
    display: flex;
    width: 100%;
}

/* Search text input and query chips */

#search-text-and-chips {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

#search-text-and-chips input[type="text"] {
    width: 50%;
    padding: 10px 10px 10px 50px;
    border: 1px solid #c5c6c9;
    border-radius: 30px;
    box-sizing: border-box;
}

#search-text-and-chips .search-icon {
    position: absolute;
    padding: 6px 20px;
    pointer-events: none;
}

#query-terms {
    margin: 20px 0;
    width: 100%;
    max-height: 130px;
    overflow: auto;
}

#query-terms .query-chip {
    padding: 0px 10px;
    margin: 0px 5px 0px 0px;
    border-radius: 30px;
    border: 2px solid #c5c6c9;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.query-chip .remove-chip {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-left: 5px;
}

.query-chip .remove-chip svg {
    vector-effect: non-scaling-stroke;
    stroke: var(--icon-color, #333);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
    stroke-width: 1;
}

.remove-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: black;
    stroke-width: 2;
}

/* Filters sidebar */

#search-filters {
    flex: 1;
    margin-right: 20px;
    margin-bottom: 20px;
    max-width: 25%;
}

#search-filters select,
#search-filters button {
    margin: 5px 0px 20px 0;
    padding: 10px;
    border: 1px solid #c5c6c9;
    border-radius: 10px;
    font-size: 16px;
    width: 100%;
    background-image: linear-gradient(45deg, white, white);
    color: #333;
    font-weight: 400;
    text-align: left;
}

.search-button {
    padding: 10px 20px !important;
    border: solid 1px #467FF7 !important;
    background-color: #467FF7 !important;
    color: #467FF7 !important;
    text-align: center !important;
    border-radius: 30px !important;
    cursor: pointer !important;
}

.search-button:hover {
    background-color: #3566d4;
}

/* Result count */

.search-result-count {
    font-size: 13px;
    color: #aaa;
    margin: 0 0 16px;
}

.search-result-count strong {
    color: #666;
    font-weight: 600;
}

/* Results area */

#search-results {
    flex: 3;
    width: 100%;
    max-width: 75%;
}

/* Job action row (bid button + details toggle) */

.job-actions {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.job-actions .details-wrapper {
    display: flex;
    align-items: flex-start;
    margin-right: 10px;
    flex-direction: column;
    width: 60%;
}

.job-actions .bid-button-wrapper {
    display: flex;
    align-items: center;
    width: 40%;
    justify-content: flex-end;
}

.bid-button {
    margin-top: 10px;
    display: inline-block;
    padding: 11px 15px;
    border: 0px solid #467FF7;
    border-radius: 30px;
    color: white !important;
    background-color: var(--e-global-color-accent);
}

.bid-button:hover {
    background-color: #467FF7;
    color: #fff;
}

.details-wrapper .additional-details {
    display: none;
    margin-top: 10px;
}

.view-job-details::after {
    content: "↓";
    margin-left: 5px;
}

.view-job-details.open::after {
    content: "↑";
}

/* Unavailable job notice */

.job-unavailable-message {
    font-size: 14px;
    border: 1px solid transparent;
    background-color: #CC7;
    border-radius: 20px;
    padding: 0 10px;
    margin-bottom: 20px;
}

/* Loader and overlay */

#loader {
    display: none;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    text-align: center;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(197, 198, 201, 0.1);
    z-index: 1000;
}

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

/* No results found */

.no-results-found {
    text-align: center;
    padding: 20px;
}

.no-results-found img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.no-results-found h4 {
    margin-top: 0;
}

.no-results-found p {
    margin: 10px 0 0;
}

/* Pagination */

.job-search-pagination {
    display: flex;
    justify-content: flex-start;
    margin: 20px 20px;
    gap: 20px;
    overflow: auto;
    max-width: 350px;
}

/* Mobile filter toggle (hidden on desktop) */

#search-filters-dropdown {
    display: none;
}

/* Suggested jobs dashboard widget */

.dashboard-suggested-jobs {
    border: 1px solid #c5c6c9;
    border-radius: 15px;
    padding: 20px;
}

/* Job list table (admin-facing [job_list] shortcode) */

.job-list-table td,
.job-list-table tr,
.job-list-table thead th,
.job-list-table table thead td,
.job-list-table {
    border: none;
    text-align: left;
    border-block-start: none !important;
    hyphens: auto;
}

.job-list-table {
    overflow: auto;
}

.job-list-table a {
    font-size: inherit;
    font-weight: normal;
}

/* Mobile responsive */

@media (max-width: 768px) {
    div#search-container {
        flex-direction: column;
    }

    #search-filters-dropdown {
        display: block;
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        background-color: #fff;
        cursor: pointer;
        text-align: left;
        position: relative;
    }

    #search-filters-dropdown::after {
        content: "↓";
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    #search-filters-dropdown.active::after {
        content: "↑";
    }

    #search-filters {
        display: none;
        margin-top: 20px;
        max-width: 100%;
    }

    #search-filters.active {
        display: block;
    }

    #search-results {
        max-width: 100%;
        min-height: 300px;
    }

    .job-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-actions .details-wrapper,
    .job-actions .bid-button-wrapper {
        width: 100%;
    }

    .job-actions .details-wrapper {
        order: 2;
    }

    .job-actions .bid-button-wrapper {
        order: 1;
        margin-bottom: 24px;
        justify-content: flex-start;
    }
}

/* ─── ARTICLE FEEDBACK ─── */

.article-feedback-wrap{border:1px solid var(--article-feedback-border, #e5e7eb);padding:14px;border-radius:12px;background:#fff;max-width:680px}

.article-feedback-question{font-weight:600;font-size:18px;margin-bottom:10px}
.article-feedback-subtitle{font-weight:600;margin:10px 0 6px}

.article-feedback-buttons{display:flex;gap:10px;margin-bottom:8px}

.article-feedback-wrap .article-feedback-btn{
  padding:8px 14px !important;
  border-radius:999px !important;
  border:1px solid #d1d5db !important;
  background:#f7f9fd !important;
  color:#111827 !important;
  cursor:pointer !important;
  transition:transform .06s ease, background .2s !important;
  line-height:1.2 !important;
  display:inline-block !important;
}
.article-feedback-wrap .article-feedback-btn:hover{background:#eef2ff !important;transform:translateY(-1px) !important}

.article-feedback-wrap .article-feedback-btn.is-active{
  background:#467FF7 !important;
  border-color:#467FF7 !important;
  color:#fff !important;
}

.article-feedback-reasons label{
  display:inline-flex;align-items:center;gap:6px;margin:4px 8px 4px 0;
  padding:6px 10px;border:1px solid #e5e7eb;border-radius:999px;background:#fafafa;cursor:pointer
}

.article-feedback-comment textarea{width:100%;min-height:82px;border:1px solid #e5e7eb;border-radius:10px;padding:10px}
.article-feedback-actions{margin-top:8px}
.article-feedback-actions .article-feedback-submit{
  padding:8px 14px !important; border-radius:8px !important; cursor:pointer !important;
  background:#467FF7 !important; border:1px solid #467FF7 !important; color:#fff !important;
}
.article-feedback-actions .article-feedback-submit:hover{filter:brightness(0.95)}

.article-feedback-wrap .is-hidden{display:none !important}

.article-feedback-success{display:none;align-items:center;gap:10px;padding:10px;border-radius:12px;background:#f0fdf4;border:1px solid #bbf7d0;margin-top:10px}
.article-feedback-success.is-visible{display:flex}
.article-feedback-checkmark{width:28px;height:28px;border-radius:50%;background:#22c55e;display:grid;place-items:center;animation:article-feedback-pop .25s ease-out}
.article-feedback-checkmark svg{width:18px;height:18px;stroke:#fff}

@keyframes article-feedback-pop{0%{transform:scale(.6);opacity:.5}100%{transform:scale(1);opacity:1}}
