.ftn-reg-field { margin: 1em 0; }
.ftn-review-category { margin: 0 1em; }
.ftn-pagination a { margin: 0 0.25em; }
.ftn-pagination span { margin: 0 0.5em; }
.ftn-customer-details h3 { margin: 0 0 0.25em; }
.ftn-customer-details p { margin: .25em 0; }
.ftn-offer-form label {margin: 0.75em 0 0.25em; }
.ftn-form-card { margin: 1em auto 2em; }
.ftn-pagination { margin: 2em 0; }
.ftn-job-customer { margin: 2em auto 1em; }

/* Height auto */

.ftn-reg-form .acf-field-radio .acf-input ul li input[type="radio"], .ftn-reg-form .acf-field-radio .acf-checkbox-list li input[type="radio"], .ftn-reg-form .acf-checkbox-list.acf-bl li input[type="radio"], .ftn-reg-form .acf-radio-list.acf-bl li input[type="radio"], .ftn-reg-form .acf-field-radio .categorychecklist-holder,  .ftn-field img {
  height: auto;
}

/* Height 100% */

#ftn-review-modal, .ftn-profile-avatar img, #ftn-contact-modal {
 height: 100%;
}

/* Height */

.ftn-reg-field input[type="radio"] {
  height: 1.2em;
}

.ftn-notif-badge {
  height: 1.4em;
}

.provider-avatar img {
  height: 80px;
}

.ftn-profile-avatar {
 height:140px;
}

.ftn-profile-cover {
 height:200px;
}

/* Min Height */

 .ftn-form-group select[multiple], .select2-container--default .select2-selection--multiple, .select2-container--default .select2-selection--multiple .select2-selection__arrow, .ftn-reg-form .select2-container--default .select2-selection--single, .ftn-reg-form .select2-container--default .select2-selection--multiple {
  min-height: 10em;
 }

/* Width auto */

.ftn-reg-form .acf-field-radio .acf-input ul li input[type="radio"], .ftn-reg-form .acf-field-radio .acf-checkbox-list li input[type="radio"], .ftn-reg-form .acf-checkbox-list.acf-bl li, .ftn-reg-form .acf-radio-list.acf-bl li, .ftn-reg-form .acf-checkbox-list.acf-bl li input[type="radio"], .ftn-reg-form .acf-radio-list.acf-bl li input[type="radio"], .ftn-reg-form .acf-field-radio .categorychecklist-holder, .ftn-beoordeel-btn {
  width: auto;
}

/* Width 100% */

.ftn-star-full::before, .ftn-offers-table, #ftn-review-modal, .ftn-offer-form input[type="number"], .ftn-offer-form textarea, .ftn-login-form input, .ftn-login-button, .ftn-lostpw-form input, .ftn-lostpw-button, .ftn-reg-form input, .ftn-reg-form select, .ftn-reg-form textarea, .ftn-reg-form .acf-field, .ftn-login-form input, .ftn-lostpw-form input, .ftn-reg-button, .ftn-login-button, .ftn-lostpw-button, .ftn-reg-form .acf-input input, .ftn-reg-form .acf-input select, .ftn-reg-form .acf-input textarea, .ftn-btn-block, .ftn-profile-cover, .ftn-profile-avatar img, #ftn-contact-modal {
 width: 100%;
}

/* Width 95% */

.ftn-offer-accordion summary, .ftn-job-accordion summary {
  width: 95%;
}

/* Width 90% */

.ftn-modal-inner, #ftn-review-modal-inner {
  width: 90%;
}

/* Width 50% */
.ftn-star-half::before {
  width: 50%;
}

/* Width */

.ftn-star::before {
  width: 0;
}

.ftn-reg-field input[type="radio"] {
  width: 1.2em;
}

.ftn-notif-badge {
  width: 1.5em;
}

.provider-avatar img {
  width: 80px;
}

.ftn-profile-avatar {
 width: 140px;
}

.ftn-filter-group select,
.ftn-filter-group input[type="text"] {
  width: 150px;
}


/* Min-Width */

.ftn-field strong {
 min-width:120px;
}

/* Max-Width */

.ftn-profile-card, .ftn-job-customer, .ftn-job-detail, .ftn-form-card, .ftn-form-success {
 max-width:800px;
}

.ftn-field img {
 Max-width:120px;
}

.ftn-modal-inner, #ftn-review-modal-inner, .ftn-login-container, .ftn-lostpw-containe, .ftn-lostpw-container {
 max-width: 480px;
}

#post-100, #post-200, #post-37, #post-36, #post-94, #post-161, #post-147, #post-184, #post-253, #post-157, #post-133, #post-143, #post-149 {
  max-width: 1200px;
  margin: 2em auto;
  padding: 0 1em;
}

/* Padding */

.ftn-filter-group select, .ftn-filter-group select, .ftn-filter-group input[type="text"], .ftn-notif-filter-form select,  .ftn-offer-form input[type="number"], .ftn-offer-form textarea, .ftn-form-group input, .ftn-form-group textarea, .ftn-form-group select, .select2-container--default .select2-selection--multiple {
  padding: 0.5em;
}

.ftn-login-form input, .ftn-lostpw-form input, .ftn-lostpw-form input, .ftn-login-form input, .ftn-notif-item {
  padding: 0.75em;
}

.ftn-reg-button, .ftn-login-button, .ftn-lostpw-button, .ftn-lostpw-button, .ftn-login-button {
  padding: 0.85em;
}

.ftn-notifs-list .ftn-notif-item, .ftn-review-item, .provider-card, .ftn-no-jobs, .ftn-no-offers, .ftn-job-customer, .ftn-job-full, .ftn-form-success {
  padding: 1em;
}

.ftn-profile-content, .ftn-modal-inner, #ftn-review-modal-inner, .ftn-offer-form, .ftn-form-card {
 padding:1.5em;
}

.ftn-reg-container, .ftn-login-container, .ftn-lostpw-container {
  padding: 2.5em;
}

.ftn-jobs-container {
  padding: 0 1em;
}

.ftn-profile-badge, .provider-badge {
  padding: 0.2em 0.4em;
}

.ftn-status-open,  .ftn-status-claimed,  .ftn-status-deleted,  .ftn-job-status, .ftn-customer-share, .ftn-beoordeel-btn, .ftn-offer-status, .ftn-status, .ftn-job-status {
 padding: 0.25em 0.75em;
}

.ftn-btn, .ftn-pagination a, .ftn-new-job-button, .ftn-profile-button {
    padding: 0.5em 1em;
    margin-top: 0.1em;
    margin-bottom: 0.1rem;
}

.ftn-button-small {
  padding: 0.6em 1.4em;
}

.ftn-offer-accordion summary, .ftn-alert-success, .ftn-offer-message,  .ftn-offers-table th, .ftn-offers-table td, .ftn-provider-contact  {
  padding: 0.75em 1em;
}

.ftn-button {
 padding: 0.8em 2em;
}

.ftn-job-accordion summary, .ftn-job-details, .ftn-job-description, .ftn-job-card-footer, .ftn-job-card-header, .ftn-job-card-footer, .ftn-job-meta {
 padding: 1em 1.5em;
}

ftn-no-jobs {
 padding: 2em 0;
}

/* GRID Template & Other grid settings */

.ftn-two-col {
 grid-template-columns:1fr 1fr;
}

.ftn-offer-accordion summary {
  grid-template-columns: 1fr 70px 1fr 120px 1ch;
}

.ftn-form-grid {
 grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
}

.ftn-jobs-filter {
 grid-template-columns: repeat(auto-fit, minmax(150px,1fr)) 100px;
}

.ftn-jobs-grid {
 grid-template-columns: 1fr;
}

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

details.ftn-offer-accordion:not([open]) > summary:after {
 grid-column: 5;
}

details.ftn-offer-accordion[open] > summary:after {
 grid-column: 5;
}

.ftn-offer-provider {
 grid-column: 1;
}

.ftn-offer-price {
 grid-column: 2;
}

.ftn-offer-action {
 grid-column: 3;
}

.ftn-offer-status {
 grid-column: 4;
}

/* Other */

.ftn-offers-table {
 border-collapse: collapse;
}

.provider-type, .provider-stats, .provider-cats, .provider-cities {
  margin-block-end: .5em;
}

.ftn-offer-form textarea {
 resize: vertical;
}

/* Top / Right / Bottom / Left */

.ftn-profile-badge, .provider-badge {
  top: 8px;
  left: 8px;
}

.ftn-star::before, #ftn-contact-modal, #ftn-review-modal {
  top: 0;
  left: 0;
}

.ftn-modal-close, #ftn-review-modal-close {
 top: .5em;
 right: .5em;
}

.ftn-customer-avatar{
	text-align: center;
	display: block;
}

.ftn-customer-avatar img{
	width: 140px;
	height: 140px;
	border: 5px solid #fff;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	align-items:center;
	display: inline-block;
}

.select2-container .select2-search--inline .select2-search__field{
	height: auto;
}

/* 1) Shrink the outer .select2-selection--multiple container */
.select2-container--default .select2-selection--multiple {
  min-height: 100px;
  padding: 2px 6px;
}

/* Other */

/* Match ACF inputs with custom fields */
.ftn-reg-form .acf-field input[type="text"],
.ftn-reg-form .acf-field input[type="email"],
.ftn-reg-form .acf-field input[type="number"],
.ftn-reg-form .acf-field input[type="password"],
.ftn-reg-form .acf-field select,
.ftn-reg-form .acf-field textarea {
  padding: 0.75em;
  font-size: 0.95em;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  width: 100%;
  height: auto;
}

/* Match label styling */
.ftn-reg-form .acf-label label {
  display: block;
  font-size: 0.95em;
  font-weight: 600;
  margin-bottom: 0.5em;
}

/* Reduce spacing between ACF fields */
.ftn-reg-form .acf-field {
  margin-bottom: 1em;
}

/* Normalize wrapper spacing */
.ftn-reg-form .acf-input-wrap {
  padding: 0;
  margin: 0;
}

/* Radio buttons inline fix */
.ftn-reg-form .acf-field-radio ul.acf-radio-list {
  display: flex;
  gap: 1.5em;
  padding: 0;
  margin: 0;
}

.ftn-reg-form .acf-field-radio ul.acf-radio-list li {
  list-style: none;
  margin: 0;
}

/* Keep the multi-select height normal */
#providertype_slug + .select2-container .select2-selection--multiple {
  min-height: 42px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Prevent vertical overflow */
#providertype_slug + .select2-container .select2-search--inline {
  flex: 1;
  display: flex;
  align-items: center;
}

.acf-fields>.acf-field {
	padding: 0px !important;
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}

.ftn-reg-form input[type="url"] {
  height: 42px !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* Standardize Select2 height */
.select2-container--default .select2-selection--single {
  height: 42px !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* Align text inside */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 28px;
}

/* Adjust the dropdown arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px;
  top: 0;
}


.ftn-notif-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 12px;
  margin-bottom: 12px;
  background: #fff;
  border-left: 4px solid #1a2b9b;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
}

.ftn-notif-left {
  flex-grow: 1;
}

.ftn-notif-left label {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.ftn-notif-extra {
  font-size: 0.95em;
  color: #333;
}

.ftn-notif-right {
  white-space: nowrap;
}

.ftn-notif-meta {
  font-size: 0.85em;
  color: #888;
  margin: 0;
}

.ftn-job-card-wrapper {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* MOBILE */
/* MOBILE LAYOUT – only for screens ≤768px */
@media (max-width: 768px) {

	  /* Make dropdown trigger (link + arrow) act as a single line */
  .site-footer-row .menu .menu-item-has-children > .drawer-nav-drop-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    text-align: center;
		    padding-top: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid var(--global-palette7);
  }

  /* Remove forced block layout */
  .site-footer-row .menu .menu-item-has-children > .drawer-nav-drop-wrap > a,
  .site-footer-row .menu .menu-item-has-children > .drawer-nav-drop-wrap > .drawer-sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0;
    margin: 0;
  }

	.site-footer-row .menu .menu-item-has-children > .drawer-nav-drop-wrap > a {
  font-size: 1rem; /* or 16px */
  font-weight: 500; /* or match what's used elsewhere */
  line-height: 1.4;
}


	.entry-content-wrap, .ftn-jobs-container {
   padding: 0 0.5em;
  }

	.details.ftn-job-accordion > summary, .ftn-job-accordion summary, .ftn-notif-filter-form, .ftn-notif-item, .ftn-profile-avatar, .ftn-reg-field, .ftn-review-header, .ftn-providers-filter, .ftn-filter-actions, .provider-card, #ftn-contact-modal, .ftn-my-jobs-header, .ftn-accordion-right, .ftn-accordion-meta, #ftn-review-modal, .ftn-job-customer, .ftn-job-form, .ftn-filter-group, .ftn-job-card-header, .ftn-job-meta, .ftn-job-meta-item, .ftn-job-card-footer, .ftn-pagination, .ftn-reg-form .acf-radio-list li, .ftn-reg-form .acf-field-radio .acf-input ul li, .ftn-reg-form .acf-field-radio .acf-input ul li label, .ftn-reg-form .acf-field-radio .acf-checkbox-list li, .ftn-reg-form .acf-field-radio .acf-checkbox-list li label, .ftn-account-container, .ftn-account-sidebar {
    display: block;
}

	button {
		width: 100%;
		margin: 0.1em 0;
	}

	.ftn-reg-container, .ftn-login-container, .ftn-lostpw-container {
    margin: 0 auto;
		text-align: center;
		padding: 0;
}

		.ftn-reg-container *, .ftn-login-container *, .ftn-lostpw-container * {
    margin: 1em 0;
}

	.single-content address, .single-content figure, .single-content hr, .single-content p, .single-content table, .single-content pre, .single-content form, .single-content .wp-block-buttons, .single-content .wp-block-button, .single-content .wc-block-grid, .single-content .wp-block-kadence-advancedbtn, .single-content .wp-block-media-text, .single-content .wp-block-cover, .single-content .entry-content-asset, .single-content .wp-block-kadence-form, .single-content .wp-block-group, .single-content .wp-block-yoast-faq-block, .single-content .wp-block-yoast-how-to-block, .single-content .schema-faq-section, .single-content .wp-block-kadence-tableofcontents, .single-content .enlighter-default, .single-content .wp-block-kadence-iconlist, .single-content [class*=__inner-content] {
    text-align: center;
}

	.ftn-job-title, .ftn-job-status{
		text-align: center;
	}

	.ftn-job-meta-item{
		padding: 0.5em 0;
	}

	.ftn-job-meta-item i{
		vertical-align: middle;
	}

.ftn-job-card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
  text-align: center;
}

.ftn-jobs-filter, .ftn-providers-filter {
  display: grid;
  grid-template-columns: repeat(2,47%);
  justify-content: space-between;
  font-size: 0.75em;
   align-items: center;
   gap: 0.25em;
   text-align: center;
}

	.ftn-filter-group select, .ftn-filter-group input[type="text"] {
    width: 100%;
}

.ftn-jobs-filter .ftn-button {
  grid-column: 1 / -1;
  width: auto;
  justify-self: center;
}

	.ftn-providers-filter .ftn-filter-actions{
	grid-column: 1 / -1;
  width: auto;
  justify-self: center;
}

	.ftn-customer-details{
		text-align: center;
	}


.ftn-offer-form h3{
	text-align: center;
}

	.ftn-offer-form .ftn-button{
		margin: 1em 0;
		padding: 1em;
		font-size: 1em;
	}

	.ftn-notif-filter-form *{
		margin-top: 0.5em;
	}

	.ftn-modal{
		width: 90%;
	}

	.ftn-modal h2{
		text-align: center;
		margin: 0;
	}

	.ftn-notifs-list .ftn-notif-meta, .ftn-notif-meta{
		margin: 0;
	}

	.ftn-notifs-list .ftn-notif-meta{
		padding: 0;
	}

	.ftn-modal p{
		margin: 0;
	}

	.ftn-new-job-button{
		display: block;
    width: max-content;
    margin: 1em auto;
	}

	.ftn-job-accordion{
		text-align: center;
	}

	.ftn-job-meta{
		display: grid;
	}

 .ftn-offer-accordion summary {
    /* remove grid */
    display: block !important;
    position: relative;   /* keep arrow positioning if you like */
    padding: 1rem;
  }

  /* stack each piece as its own block, full-width */
  .ftn-offer-accordion summary .ftn-offer-provider,
  .ftn-offer-accordion summary .ftn-offer-price,
  .ftn-offer-accordion summary .ftn-offer-action,
  .ftn-offer-accordion summary .ftn-offer-share {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
  }

  /* arrow on its own line, centered */
  .ftn-offer-accordion summary::after {
    content: "▼";
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    transition: transform 0.2s;
  }
  .ftn-offer-accordion[open] summary::after {
    transform: rotate(180deg);
  }

.ftn-offer-price{
	text-align: center;
}

.ftn-customer-share{
	width: auto;
	padding: 0.6em 1.4em;
	font-size: 0.9em
}

#ftn-review-modal-inner{
	margin: 1em;
}

.ftn-profile-cover{
	height: 100px;
}

.ftn-profile-avatar {
    margin: -70px auto 0em;
}

.ftn-profile-name{
	margin: 0 !important;
}

.ftn-two-col {
	grid-template-columns: 1fr;
}

.ftn-two-col.ftn-meta-grid
  .ftn-col:nth-of-type(2)
  > p:first-of-type
  strong + br {
    display: none;
}

.ftn-profile-content{
	padding: 0.5em;
}

.provider-name{
	text-align: center;
}

.ftn-profile-content *{
	text-align: center;
}

.ftn-profile-reviews > .ftn-stat:nth-of-type(2) {
	font-size: 0.80em;
}

.provider-stats > span:nth-of-type(2) {
  display: block;
}

	.ftn-profile-avatar{
		margin-top: 1em;
	}

	.ftn-offers-table thead {
display: none;
}
.ftn-offers-table tbody tr {
display: block;
margin-bottom: 1.5rem;
border: 1px solid #ddd;
border-radius: 6px;
padding: 0.75rem;
background: #fff;
}
.ftn-offers-table tbody td {
display: flex;
justify-content: space-between;
padding: 0.5rem 0;
border-bottom: 1px solid #eee;
}
.ftn-offers-table tbody td:last-child {
border-bottom: none;
}
.ftn-offers-table tbody td:nth-of-type(1)::before {
content: "Klus:";
font-weight: 600;
}
.ftn-offers-table tbody td:nth-of-type(2)::before {
content: "Stad:";
font-weight: 600;
}
.ftn-offers-table tbody td:nth-of-type(3)::before {
content: "Dienst:";
font-weight: 600;
}
.ftn-offers-table tbody td:nth-of-type(4)::before {
content: "Prijs:";
font-weight: 600;
}
.ftn-offers-table tbody td:nth-of-type(5)::before {
content: "Status:";
font-weight: 600;
}
.ftn-offers-table tbody td:nth-of-type(6)::before {
content: "Geplaatst op:";
font-weight: 600;
}
.ftn-offers-table tbody td:nth-of-type(7)::before {
content: "Actie:";
font-weight: 600;
}
.ftn-offers-table tbody td:nth-of-type(8)::before {
content: "Contact:";
font-weight: 600;
}
.ftn-offers-table tbody td:nth-of-type(7) {
flex-direction: column;
align-items: flex-start;
}
.ftn-offers-table tbody td:nth-of-type(7) a,
.ftn-offers-table tbody td:nth-of-type(7) button {
margin-top: 0.25rem;
display: inline-block;
width: 100%;
box-sizing: border-box;
}
.ftn-offers-table tbody td:nth-of-type(8) {
flex-direction: column;
align-items: flex-start;
}
.ftn-offers-table tbody td:nth-of-type(8) .ftn-button-small {
margin-top: 0.25rem;
width: 100%;
box-sizing: border-box;
}
.provider-avatar img {
	display: block;
  margin-left: auto;
  margin-right: auto;
}
}

/* CHAT_SYSTEM */

/* ============ Chat Inbox Styles ============ */
.ftn-chat-inbox {
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.ftn-chat-preview {
  display: block;
  padding: 16px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #333;
  background: #fff;
  transition: background 0.2s ease;
}

.ftn-chat-preview:hover {
  background: #f9f9f9;
}

.ftn-chat-preview div {
  margin-bottom: 4px;
}

.ftn-chat-preview .font-semibold {
  font-weight: 600;
  font-size: 16px;
}

.ftn-chat-preview .text-sm {
  font-size: 14px;
  color: #555;
}

.ftn-chat-preview .text-gray-600 {
  color: #777;
}

.ftn-chat-preview span {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  background-color: #d11a2a;
  color: #fff;
  padding: 4px 8px;
  border-radius: 50px;
}

/* ============ Mobile Responsive ============ */
@media (max-width: 600px) {
  .ftn-chat-preview {
    padding: 12px;
  }

  .ftn-chat-preview .font-semibold {
    font-size: 15px;
  }

  .ftn-chat-preview .text-sm {
    font-size: 13px;
  }

  .ftn-chat-preview span {
    font-size: 11px;
    padding: 3px 6px;
  }
}

.ftn-chat-container {
  max-width: 600px;
  margin: 30px auto;
  padding: 0 15px;
}

.ftn-chat-back {
  display: inline-block;
  margin-bottom: 12px;
  color: #0073aa;
  text-decoration: none;
}

.ftn-chat-box {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.ftn-chat-messages {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.ftn-bubble {
  padding: 10px 14px;
  border-radius: 8px;
  max-width: 80%;
  word-wrap: break-word;
}

.ftn-bubble-own {
  background: #e6f0ff;
  color: #003366;
  margin-left: auto;
  text-align: left;
}

.ftn-bubble-other {
  background: #f0f0f0;
  color: #333;
  margin-right: auto;
}

.ftn-bubble-meta {
  font-size: 12px;
  color: #888;
  text-align: right;
  margin-top: 6px;
}

.ftn-bubble-actions {
  margin-top: 4px;
  text-align: right;
}
.ftn-bubble-delete {
  font-size: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
  opacity: .7;
  color: #333;
}
.ftn-bubble-delete:hover { opacity: 1; }


.ftn-chat-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ftn-chat-textarea {
  flex: 1 1 auto;
  width: 100%;
  min-height: 60px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  resize: none;
}

.ftn-chat-submit {
  background: var(--global-palette1);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.ftn-chat-submit:hover {
  background: var(--global-palette2);
}

.ftn-chat-error {
  color: red;
}

.ftn-chat-loading {
  color: #666;
  font-style: italic;
}

.ftn-chat-btn {
  display: inline-block;
  background-color: var(--global-palette1);
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
}

.ftn-chat-btn:hover {
  background-color: var(--global-palette2);
	color: white;
}

.ftn-chat-inbox {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.ftn-chat-inbox-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.ftn-chat-preview {
    display: block;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #333;
    background-color: #fafafa;
    transition: background-color 0.2s;
}

.ftn-chat-preview:hover {
    background-color: #f0f0f0;
}

.ftn-chat-preview-header {
    font-weight: bold;
    font-size: 16px;
}

.ftn-chat-preview-job {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.ftn-chat-offer-badge {
    background-color: #dfeffc;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 8px;
    font-weight: bold;
    font-size: 14px;
}

.ftn-chat-preview-message {
    margin-top: 10px;
    font-size: 14px;
}

.ftn-chat-preview-meta {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

.ftn-chat-unread {
    display: inline-block;
    background: #e74c3c;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    margin-top: 10px;
}

.ftn-profile-button:hover{
	color: #fff;
}

.ftn-offer-chat-suggestion, .ftn-offer-form {
    border-left: 4px solid var(--global-palette1);
    border-top: 1px solid #ddebf5;
    border-right: 1px solid #ddebf5;
    border-bottom: 1px solid #ddebf5;
		margin-top: 1vw;
		margin-bottom: 1vw;
}

.ftn-offer-chat-suggestion p, .ftn-offer-form p {
  margin: 0 0 12px;
  font-size: 15px;
  color: #333;
	padding: 1em 1.5em;
}

.ftn-offer-chat-suggestion .ftn-button-small {
  background-color: var(--global-palette1);
  color: white;
  padding: 8px 16px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  transition: background 0.2s ease;
	margin-left: 1em;
	margin-bottom: 1.5em
}

.ftn-offer-chat-suggestion .ftn-button-small:hover {
  background-color: var(--global-palette2);
}

@media (max-width: 768px) {
  .ftn-chat-fullwidth-btn {
    display: block;
    width: 100%;
    text-align: center;
  }

	.ftn-offer-chat-suggestion .ftn-button-small{
		width: 90%;
	}
}


/* END OF CHAT SYSTEM */

/* STATS */

.ftn-platform-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.ftn-platform-stats .stat-card {
    background: #f9f9f9;
    border: 2px solid var(--global-palette1);;
    border-radius: 16px;
    padding: 20px;
    width: 180px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.ftn-platform-stats .stat-card:hover {
    transform: translateY(-5px);
}

.ftn-platform-stats .stat-title {
    font-size: 15px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.ftn-platform-stats .stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #111;
}

.ftn-platform-stats-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.ftn-platform-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.ftn-platform-intro {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* END OF STATS */

/* OFFER COUNT */
/* Header layout */
.ftn-job-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ftn-job-title {
  margin: 0;
  flex: 1 1 auto;
}
.ftn-job-header-right {
  display: flex;
  align-items: center;
  gap: 8px; /* space between offer badge and status */
}

/* Offer badge (same style you already use) */
.ftn-offer-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  line-height: 1.2;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}
.ftn-offer-count-badge .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

/* Header layout to place offer badge next to status on the right */
.ftn-job-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ftn-job-title {
  margin: 0;
  flex: 1 1 auto;
}
.ftn-job-header-right {
  display: flex;
  align-items: center;
  gap: 8px; /* space between offer badge and status */
}

/* Offer badge */
.ftn-offer-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  line-height: 1.2;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}
.ftn-offer-count-badge .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}
/* Mobile centering for offer + status in all job cards */
@media (max-width: 768px) {
  .ftn-job-card-header {
    flex-direction: column;
    align-items: center; /* center all header elements */
    text-align: center;
  }

  .ftn-job-header-right {
    width: 100%;
    flex-direction: column; /* stack vertically */
    align-items: center; /* center badges */
    gap: 6px;
    margin-top: 4px;
  }

  .ftn-offer-count-badge,
  .ftn-job-status {
    display: inline-flex;
  }
}

.ftn-offer-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  line-height: 1.2;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  white-space: nowrap; /* prevent line break inside badge */
}


/* END OF OFFER COUNT */

/* OFFER TEMPLATES */

      .ftn-acc-list { display:flex; flex-direction:column; gap:12px; }
      .ftn-acc-item { border:1px solid #e5e7eb; border-radius:12px; overflow:hidden; }
      .ftn-acc-summary {
        list-style:none;
        cursor:pointer;
        display:flex; align-items:center; gap:10px;
        padding:12px 14px;
        font-weight:600;
        background:#f9fafb;
        border-bottom:1px solid #eef0f2;
      }
      .ftn-acc-item[open] .ftn-acc-summary { background:#f3f4f6; }
      .ftn-acc-summary::-webkit-details-marker { display:none; }
      .ftn-acc-caret {
        width:12px; height:12px; border-right:2px solid #6b7280; border-bottom:2px solid #6b7280;
        transform:rotate(-45deg); transition:transform .15s ease;
        margin-right:4px;
      }
      .ftn-acc-item[open] .ftn-acc-caret { transform:rotate(45deg); }
      .ftn-acc-title { flex:1; }
      .ftn-acc-badge {
        font-size:.75rem; padding:2px 8px; border-radius:999px;
        background:#e0e7ff; color:#1e3a8a; border:1px solid #c7d2fe;
      }
      .ftn-acc-body { padding:14px; }
      .ftn-acc-actions {
        display:flex; gap:12px; align-items:center; justify-content:space-between; margin-top:6px;
      }
