

/* ====== Form Container ====== */

.ewexb-bid-form,
.exb-project-form {
  max-width: 800px;
  margin: 30px auto;
  padding: 30px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

/* ====== Headings ====== */

.ewexb-bid-form h4,
.exb-project-form fieldset legend {
  font-weight: 600;
  font-size: 18px;
  margin: 20px 0 10px;
  color: #253B7C;
}

/* ====== Labels ====== */

.ewexb-bid-form label,
.exb-project-form label {
  display: block;
  font-weight: 600;
  margin: 15px 0 5px;
  color: #333;
}

/* ====== Inputs, Textareas, Selects ====== */

.ewexb-bid-form input[type="text"],
.ewexb-bid-form input[type="email"],
.ewexb-bid-form input[type="number"],
.ewexb-bid-form input[type="url"],
.ewexb-bid-form input[type="date"],
.ewexb-bid-form textarea,
.exb-project-form .exb-input,
.exb-project-form .exb-select,
.exb-project-form textarea,
.exb-project-form input[type="text"],
.exb-project-form input[type="email"],
.exb-project-form input[type="number"],
.exb-project-form input[type="date"],
.exb-project-form input[type="url"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fafafa;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.ewexb-bid-form input[type="number"].exb-input-wide,
.exb-project-form input[type="number"].exb-input-wide {
  width: 200px;
}

/* Focus styles */

.ewexb-bid-form input:focus,
.ewexb-bid-form textarea:focus,
.ewexb-bid-form select:focus,
.exb-project-form input:focus,
.exb-project-form textarea:focus,
.exb-project-form select:focus {
  border-color: #253B7C;
  outline: none;
}

/* Textareas */

.ewexb-bid-form textarea,
.exb-project-form textarea {
  min-height: 100px;
}

/* Selects */

.exb-project-form .exb-select {
  width: 100%;
}

/* Fieldset spacing */

.exb-project-form fieldset {
  margin: 25px 0;
  padding: 15px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #f9f9f9;
}


.exb-project-form fieldset {
  position: relative;
  margin: 25px 0;
  padding: 25px 20px 20px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #f9f9f9;
}

/* reset default legend floating */
.exb-project-form fieldset legend {
  width: auto;
  padding: 0px;
  margin: 0;
  font-weight: bold;
  font-size: 18px;
  color: #253B7C;
  background: #fff;
  line-height: 1.2;
  display: inline-block;
  position: relative;
  top: -10px; /* pull it slightly upwards inside the border */
  left: 0px;
}

.exb-project-form fieldset legend + * {
  margin-top: -10px;
}


/* Buttons */

.ewexb-bid-form button,
.exb-project-form input[type="submit"],
.exb-project-form button {
  background: #253B7C;
  color: #fff;
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  margin: 15px 10px 0 0;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.ewexb-bid-form button:hover,
.exb-project-form input[type="submit"]:hover,
.exb-project-form button:hover {
  background: #AF1F24;
}

/* Small Notes */

.ewexb-bid-form small,
.exb-project-form small {
  display: block;
  margin-top: 6px;
  color: #666;
  font-size: 13px;
}

/* Select2 fixes */

.select2-container .select2-selection--multiple {
  background: #fafafa;
  border-color: #ccc;
  min-height: 48px;
  padding: 4px;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
  white-space: normal;
  word-break: break-word;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
  background-color: #253B7C;
  color: #fff;
  padding: 4px 8px;
  font-size: 14px;
  border-radius: 4px;
  margin-top: 4px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #253B7C!important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #fff;
  margin-right: 4px;
}

.select2-container .select2-selection--multiple .select2-search__field {
  background: transparent;
}

/* File Inputs */

.ewexb-bid-form input[type="file"],
.exb-project-form input[type="file"] {
  background: #fff;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}





.exb-plist-image-wrapper {
    position: relative;
}

.exb-share-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #253B7C;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.exb-share-btn:hover {
    background: #AF1F24;
}



.exb-project-id-template {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exb-share-btn-template {
    background: #253B7C;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
	margin-top: 20px;
}

.exb-share-btn-template i {
    font-size: 16px;
}
.exb-share-btn-template:hover {
    background: #AF1F24;
}

.glider::-webkit-scrollbar {
  display: none;
}
.glider {
  scrollbar-width: none;
}

/* Container must be relatively positioned */
.glider-contain {
  position: relative;
  }

.glider-dots {
  text-align: center;
  margin-top: 8px;
}
.glider-dots button {
  width: 8px;
  height: 8px;
   border-radius: 50%;
  border: none;
  background: #ccc;
	margin:5px;
}
.glider-dots .glider-dot.active {
  background: #253B7C;
}


.ewin-awarded-projects-list {
	background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    width: 100%;
    font-size: 14px;
}




.exb-project-owner-text {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  background: #f7f9fc;
  padding: 12px 16px;
  border-left: 4px solid #253B7C;
  border-radius: 6px;
  color: #333;
}

.exb-project-owner-text strong {
  font-size: 15px;
  color: #555;
}

.exb-owner-name {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #253B7C;
  text-decoration: none;
}

.exb-owner-name:hover {
  text-decoration: underline;
}

.exb-owner-country {
  color: #666;
}

.exb-owner-verification {
  display: inline-block;
  font-weight: 500;
  font-size: 14px;
  margin-top: 4px;
}

.exb-owner-verification.verified {
  color: green;
}

.exb-owner-verification.not-verified {
  color: #AF1F24;
}



/* Container to float to the right */
/* Two-column layout */
.exb-project-body {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

/* Left side: Project info */
.exb-project-left {
  flex: 1 1 58%;
  min-width: 300px;
}

/* Right side: Bidding */
.exb-project-right {
    flex: 1 1 38%;
  min-width: 280px;
  margin: 0px auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Full-width project header */
.exb-project-header {
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 30px;
}
.exb-project-header-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.exb-project-title {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
}

/* Reference Images full width */
.exb-project-gallery {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.exb-project-gallery a {
  display: inline-block;
}
.exb-section-title {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid #AF1F24;
  padding-bottom: 6px;
  margin-bottom: 20px;
}





.exb-bid-project-header {
  width: 100%;
  font-size: 18px;
  font-weight: 600;
  color: #253B7C;
  margin: 30px 0 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 6px;
}


/* 🔧 Button Container */
.ewexb-bid-buttons {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px; /* minimal spacing between buttons */
}


form.ewexb-delete-form,
form.ewexb-revoke-form {
	all: unset;
	width: 100%;
	margin: 0;
}


/* 🔵 Base Button */
.ewexb-btn {
	all: unset; /* Reset default button style */
	display: block;
	width: 100%;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	border: 1px solid #253B7C;
	color: #253B7C;
	background-color: #fff;
	transition: background-color 0.2s ease, color 0.2s ease;
}



/* 🔵 Edit Button (Blue Solid) */
.ewexb-btn-edit {
	background-color: #fff;
	color: #253B7C;
	border: 1px solid #253B7C;
}
.ewexb-btn-edit:hover {
	background-color: #1c2e64;
}

/* 🔴 Revoke Button (Red Border) */
.ewexb-btn ewexb-btn-revoke {
	background-color: #fff;
	color: #AF1F24;
	border: 1px solid #AF1F24;
}
.ewexb-btn-revoke:hover {
	background-color: #fff0f0;
	color: #8c1a1f;
	border-color: #8c1a1f;
}

/* 🔴 Delete Button (Red Solid) */
.ewexb-btn-delete {
	background-color: #fff;
	color: #AF1F24;
	border: 1px solid #AF1F24;
}
.ewexb-btn-delete:hover {
	background-color: #8c1a1f;
}

/* 🔵 Message Button (Blue Border Only) */
.ewexb-btn-message {
	background: #fff;
	color: #253B7C;
	border: 1px solid #253B7C;
}
.ewexb-btn-message:hover {
	background-color: #e6f0ff;
}


.ewexb-bid-design-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.ewexb-bid-design-grid img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.ewexb-bid-design-grid img:hover {
  transform: scale(1.02);
}


.exb-project-list-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.exb-plist-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  font-size: 14px;
}



@media (min-width: 600px) {
  .exb-plist-card {
    width: calc(50% - 10px);
  }
}
@media (min-width: 1024px) {
  .exb-plist-card {
    width: calc(33.333% - 13.33px);
  }
}

/* Image Header */
.exb-plist-image {
  height: 160px;
  background-size: cover;
  background-position: center;
}

.exb-plist-image {
  background-color: #f3f3f3;
  background-size: cover;
  background-position: center;
  height: 160px;
  position: relative;
}

/* Optional: Add a "no image" placeholder icon/text */
.exb-plist-image::before {
  content: "📦 Image Not Uploaded";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #999;
  font-size: 10px;
  font-weight: 400;
  display: none;
}

/* Show the fallback text if no image URL is set inline */
.exb-plist-image[style="background-image: url('');"]::before {
  display: block;
}


/* Content */
.exb-plist-content {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Title */
.exb-plist-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.exb-plist-title a {
  text-decoration: none;
  color: #253B7C;
}

/* Verified Badge */
.exb-plist-verified {
  font-size: 12px;
  font-weight: 600;
}
.exb-plist-verified.verified {
  color: #2e7d32;
}
.exb-plist-verified.not-verified {
  color: #AF1F24;
}

/* Category / Type */
.exb-plist-type {
  font-size: 13px;
  color: #555;
}

/* Service Tags */
.exb-plist-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.exb-plist-service-tag {
  background: #F4F7FB;
  border: 1px solid #1D62AF;
  color: #1D62AF;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 16px;
  line-height: 1.3;
}

/* Location / Budget / Deadline */
.exb-plist-location,
.exb-plist-budget,
.exb-plist-deadline {
  font-size: 13px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Status Badge */
.exb-plist-badge {
  font-weight: 600;
  font-size: 12px;
  border-radius: 12px;
  padding: 3px 8px;
  display: inline-block;
  margin-top: 6px;
}
.badge-green {
  background-color: #e0f7ec;
  color: #2e7d32;
}
.badge-red {
  background-color: #f8d7da;
  color: #721c24;
}

/* CTA Buttons */
.exb-plist-button {
  margin-top: 12px;
  display: inline-block;
  background: #253B7C;
  color: #fff;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease;
}
.exb-plist-button:hover {
  background: #AF1F24;
	color: #fff;
}

.exb-plist-button-disabled {
  margin-top: 12px;
  display: inline-block;
  background: #ccc;
  color: #fff;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  text-align: center;
}



.exb-dashboard-project {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
}

/* ✅ Card Container */
.exb-dashboard-project-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  font-size: 14px;
}

@media (min-width: 600px) {
  .exb-dashboard-project-card {
    width: calc(50% - 16px);
  }
}
@media (min-width: 1024px) {
  .exb-dashboard-project-card {
    width: calc(33.333% - 16px);
  }
}

.exb-dashboard-project-card a {
  color: #1D62AF;
  text-decoration: none;
}

/* ✅ Project Image */
.project-image {
  background-size: cover;
  background-position: center;
  height: 160px;
  width: 100%;
}

/* ✅ Project Type Label */
.project-type {
  margin: 8px 16px 6px;
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #1D62AF;
  background: #eaf3fc;
  padding: 2px 8px;
  border-radius: 12px;
}

/* ✅ Title */
.card-title {
  font-size: 16px;
  font-weight: 600;
  padding: 0 16px 4px;
  margin-bottom: 0;
}

/* ✅ Meta: Status, Bids, Views */
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 16px 4px;
  font-size: 13px;
  color: #444;
  opacity: 0.85;
}

/* ✅ Status Badge */
.status-badge {
  font-weight: 600;
  font-size: 12px;
  border-radius: 12px;
  padding: 2px 6px;
  display: inline-block;
  background: #f1f1f1;
  color: #444;
}
.project-status-publish { background: #e0f7ec; color: #2e7d32; }
.status-draft { background: #f3f3f3; color: #555; }
.status-pending,
.status-private { background: #fff3cd; color: #856404; }
.status-closed { background: #f8d7da; color: #721c24; }

/* ✅ Services */
.card-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 6px;
}
.service-tag {
  background: #F4F7FB;
  border: 1px solid #1D62AF;
  color: #1D62AF;
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 16px;
  margin-top: 4px;
}

/* ✅ Actions */
.card-actions {
  margin-top: auto;
  padding: 10px 16px 14px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 1px solid #eee;
}
.card-actions a {
  color: #253B7C;
  text-decoration: none;
  font-weight: 600;
}
.card-actions a:hover {
  text-decoration: underline;
}


.btn-filter,
.btn-clear {
  padding: 10px 20px;
  font-size: 14px!important;
  font-weight: 600!important;
  border-radius: 6px!important;
  border: 1px solid transparent!important;
  cursor: pointer!important;
  transition: all 0.3s ease!important;
	text-transform: capitalize !important;
}

/* 🔴 Filter Button (Primary) */
.btn-filter {
  background-color: #AF1F24!important; /* Dark Red */
  color: #ffffff!important;
  border-color: #AF1F24!important;
	padding: 12px 20px !important;
}

.btn-filter:hover {
  background-color: #D2272D!important; /* Light Red */
  border-color: #D2272D!important;
}

/* 🔵 Clear Filters Button (Secondary) */
.btn-clear {
  background-color: #ffffff!important;
  color: #253B7C!important; /* Dark Blue */
  border-color: #253B7C!important;
  text-decoration: none!important;
  display: inline-block!important;
  margin-left: 10px!important;
  padding: 5px 10px !important;
}

.btn-clear:hover {
  background-color: #F0F8FF!important; /* Soft blue hint */
  color: #1D62AF!important; /* Light Blue */
  border-color: #1D62AF!important;
}




@media (min-width: 768px) {
  .exb-project-filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
      "country city stand services"
      "budget verified open ."
      "sort filter clear toggle";
    gap: 5px;
    align-items: center;
  }

  #filter_expo_country { grid-area: country; }
  #filter_expo_city { grid-area: city; }
  #category { grid-area: stand; }
  #service { grid-area: services; }
  .budget-slider-wrapper { grid-area: budget; }
  .checkboxes { grid-area: verified; } /* Verified + Open checkbox group */
  .sort-order { grid-area: sort; }
  .filter-buttons .filter-button { grid-area: filter; }
  .filter-buttons .clear-button { grid-area: clear; }
  .exb-view-toggle { grid-area: toggle; text-align: right; }
}

@media (min-width: 768px) {
  .filter-buttons {
    display: contents; /* allows grid-area on children */
  }

  .filter-buttons .filter-button { grid-area: filter; }
  .filter-buttons .clear-button { grid-area: clear; }

  .exb-view-toggle {
    grid-area: toggle;
    justify-self: end;
  }
}

.exb-project-card.public-card {
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.04);
	background: #fff;
	margin: 10px;
	padding: 12px;
	text-align: center;
	max-width: 300px;
}

.project-image.blurred {
	width: 100%;
	height: 160px;
	background-size: cover;
	background-position: center;
	border-radius: 4px;
	filter: blur(5px);
	opacity: 0.7;
	margin-bottom: 10px;
}

.exb-project-card.public-card h3 a {
	color: #333;
	text-decoration: none;
}

.exb-project-card.public-card .exb-button-full {
	background: #AF1F24;
	color: #fff;
	padding: 6px 12px;
	display: inline-block;
	border-radius: 4px;
	margin-top: 10px;
	text-decoration: none;
}

.exb-project-card.public-card .exb-button-full:hover {
	background: #D2272D;
}



.exb-project-card.mini-card {
	padding: 0px;
	margin: 8px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
	display: flex;
	flex-direction: column;
	width: 220px;
	min-height: 320px;
	text-align: center;
	overflow: hidden;
}

.project-image.mini {
	width: 100%;
	height: 100px;
	background-size: cover;
	background-position: center;
	border-radius: 4px;
	margin-bottom: 8px;
}

.project-content.mini {
	font-size: 14px;
}

.project-content.mini h4 {
	margin: 4px 0;
	font-size: 16px;
}

.project-content.mini p {
	margin: 4px 0;
}

.exb-button-full.small {
	font-size: 13px;
	padding: 6px 10px;
	border-radius: 4px;
	display: inline-block;
	background: #1D62AF;
	color: #fff;
	text-decoration: none;
}

.exb-button-full.small:hover {
	background: #253B7C;
}

.exb-button-full {
	display: inline-block;
	margin-top: 10px;
	background: #1D62AF;
	color: #fff;
	padding: 6px 12px;
	border-radius: 4px;
	text-decoration: none;
	transition: background 0.3s;
}

.exb-button-full:hover {
	background: #253B7C;
}


.exb-project-form {
  max-width: 600px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  font-size: 14px;
}

.exb-input, .exb-textarea, .exb-select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
}

.exb-success {
  padding: 12px;
  background: #e0ffe0;
  border: 1px solid #7ad67a;
  border-radius: 6px;
}

.exb-error {
  padding: 12px;
  background: #ffe0e0;
  border: 1px solid #d67a7a;
  border-radius: 6px;
}



.budget-slider-wrapper {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  margin: 10px 0;
}

.budget-slider-wrapper input[type="range"] {
  width: 100%;
  margin-top: 4px;
}



.exb-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.exb-load-more-wrapper {
  text-align: center;
  margin: 30px 0;
}

.exb-load-more {
  background-color: #253B7C;
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.exb-load-more:hover {
  background-color: #AF1F24;
}

.exb-load-more:disabled {
  background-color: #ccc;
  color: #777;
  cursor: not-allowed;
}


/* Container Flex Layout */
.exb-project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  margin-bottom: 25px;
}

.exb-project-filters .filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.exb-project-filters select,
.exb-project-filters input[type="range"],
.exb-project-filters .filter-button,
.exb-project-filters .clear-button {
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #253B7C;
 background-color: #fff;
}


.exb-project-filters .budget-slider-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 180px;
}

.exb-project-filters .budget-slider-wrapper span {
  font-size: 13px;
  margin-top: 5px;
}

.exb-project-filters .checkboxes label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.filter-buttons {
  display: flex;
  gap: 10px;
}

.filter-button {
  background-color: #253B7C;
  color: white;
  font-weight: 600;
  border: none;
  padding: 8px 14px;
}



.exb-view-toggle {
  margin-top: 10px;
}

.exb-view-toggle .view-toggle {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius:6px;
  background-color: #fff;
  margin-right: 6px;
  cursor: pointer;
}

.exb-view-toggle .view-toggle.active {
  background-color: #253B7C;
  color: #fff;
  border-color: #253B7C;
}


/* Inputs and dropdowns */
.exb-project-filters select,
.exb-project-filters input[type="checkbox"],
.exb-project-filters input[type="range"],
.exb-project-filters .filter-button,
.exb-project-filters .clear-button {
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Slider label */
.exb-project-filters .budget-label {
  margin-top: 6px;
  font-size: 13px;
  color: #333;
}

/* Button styling */
.exb-project-filters .filter-button {
  background-color: #253B7C;
  color: white;
  font-weight: 600;
  border: none;
}


.exb-project-filters .filter-button,
.exb-project-filters .clear-button,
.filter-buttons button,
.reset-filters {
  background-color: #253B7C;
  color: #fff;
  font-weight: 600;
  padding: 8px 14px;
  font-size: 14px;
  border: 1px solid #253B7C;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.exb-project-filters .filter-button:hover,
.exb-project-filters .clear-button:hover,
.filter-buttons button:hover,
.reset-filters:hover {
  background-color: #AF1F24;
  border-color: #AF1F24;
}


/* Checkbox labels */
.exb-project-filters .checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

/* Sort dropdown full width */
.exb-project-filters .sort-order {
  flex-basis: 100%;
  margin-top: 10px;
}


@media screen and (max-width: 767px) {
  .exb-project-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .exb-project-filters .filter-group,
  .filter-buttons {
    flex-direction: column;
    width: 100%;
  }

  .exb-project-filters select,
  .filter-button,
  .clear-button {
    width: 100%;
  }

  .exb-project-filters .budget-slider-wrapper {
    width: 100%;
  }

  .exb-view-toggle {
    display: flex;
    gap: 10px;
  }

  .exb-view-toggle .view-toggle {
    flex: 1;
  }
}


@media screen and (max-width: 767px) {
  .exb-project-filters {
    display: block;
  }

  .exb-project-filters select,
  .exb-project-filters input[type="range"],
  .exb-project-filters .filter-button,
  .exb-project-filters .clear-button {
    width: 100%;
    margin-bottom: 10px;
  }

  .exb-project-filters .checkbox-group {
    display: block;
    margin-bottom: 10px;
  }

  .exb-project-filters .budget-label {
    margin-top: 5px;
    margin-bottom: 10px;
  }

  .exb-project-filters .sort-order {
    width: 100%;
  }
}


.filter-group {
  display: flex;
  flex-direction: column;
  min-width: 140px;
}

.filter-group label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}

.filter-group select,
.filter-group input[type="number"] {
  padding: 4px 8px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.filter-buttons {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}


.filter-buttons button,
.reset-filters {
  background: #253B7C;
  color: white;
  padding: 6px 14px;
  font-size: 13px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
	 border: 1px;
	border-color: #253B7C;
  background: #fff;
	color:#253B7C;
}

.reset-filters {
 border: 1px;
	border-color: #253B7C;
  background: #fff;
	color:#253B7C;
}


.exb-project-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  background: #fff;
  transition: transform 0.2s ease;
}

.exb-project-card:hover {
  transform: translateY(-4px);
}

.project-image {
  background-size: cover;
  background-position: center;
  height: 180px;
  width: 100%;
}

.project-content {
  padding: 15px;
}

.project-closed {
  opacity: 0.5;
}

.verified-badge {
  font-size: 12px;
  margin-bottom: 8px;
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.verified-badge.verified {
  background: #e0f7e9;
  color: #1b5e20;
  border: 1px solid #1b5e20;
}

.verified-badge.not-verified {
  background: #fbe9e7;
  color: #c62828;
  border: 1px solid #c62828;
}

.badge-green {
  background: #2e7d32;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
}

.badge-red {
  background: #c62828;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
}

.exb-button-full {
  display: block;
  text-align: center;
  background: #004d43;
  color: #fff;
  padding: 10px;
  margin-top: 12px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}

.exb-button-full:hover {
  background: #003830;
}


.exb-project-single {
  max-width: 900px;
  margin: 0px auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', sans-serif;
}

.exb-project-single h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #003366;
}

.exb-project-main-image {
  margin-bottom: 20px;
}

.exb-meta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 5px;
}

.exb-meta-item {
  flex: 1 1 45%;
  font-size: 15px;
  color: #333;
}

.exb-meta-item strong {
  color: #222;
}

.exb-project-gallery img {
  margin-right: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  max-width: 180px;
}

.exb-project-actions {
  margin-top: 30px;
}

.exb-project-actions button,
.exb-project-actions a {
  margin-right: 15px;
  margin-bottom: 10px;
}

.exb-project-description {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.exb-section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #253B7C;
}


.exb-project-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.exb-project-gallery a img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ccc;
}


.exb-project-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}
.exb-project-card .project-image {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.exb-project-card .project-content {
  padding: 15px;
}
.exb-project-card.project-closed .exb-button-full,
.exb-button-disabled {
  background: #ccc;
  color: #888;
  pointer-events: none;
  text-align: center;
  display: block;
  margin-top: 12px;
  padding: 10px;
  border-radius: 4px;
  font-weight: 600;
}
.exb-project-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}
.exb-project-card h3 a {
  text-decoration: none;
  color: #000;
}
.verified-badge {
  font-size: 12px;
  margin-bottom: 8px;
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}
.verified-badge.verified {
  background: #e0f7e9;
  color: #1b5e20;
  border: 1px solid #1b5e20;
}
.verified-badge.not-verified {
  background: #fbe9e7;
  color: #c62828;
  border: 1px solid #c62828;
}

.badge-green {
  background: #2e7d32;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
}
.badge-red {
  background: #c62828;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
}

.exb-button-full {
  display: block;
  text-align: center;
  background: #253B7C;
  color: white;
  padding: 10px;
  margin-top: 12px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}
.exb-button-full:hover {
  background: #AF1F24;
  color: white;
}

.service-badges {
  margin: 8px 0;
}
.service-tag {
  display: inline-block;
  border: 1px solid #253B7C;
  color: #253B7C;
  font-size: 12px;
  padding: 2px 6px;
  margin-right: 5px;
  margin-bottom: 5px;
  border-radius: 4px;
  background: transparent;
}

.exb-view-toggle {
  margin: 10px 0;
}
.view-toggle {
  display: inline-block;
  padding: 6px 12px;
  margin-right: 8px;
  background: #eee;
  border: 1px solid #ccc;
  cursor: pointer;
	color: #253B7C;
}
.view-toggle.active {
  background: #253B7C;
  color: white;
  border-color: #253B7C;
}


/* Page wrapper and content spacing */
.exb-project-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header banner styling */
.exb-project-header {
  width: 100vw;
  height: 200px; /* increase for desktop impact */
  background-size: cover;
  background-position: center center;
  position: relative;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 20px;
}

.exb-project-header-overlay {
  background: rgba(0, 0, 0, 0.4);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exb-project-title {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  padding: 0 20px;
}


/* Meta group already shared previously */
.exb-meta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 5px;
}

.exb-meta-item {
  flex: 1 1 45%;
  font-size: 15px;
}

/* Reference image gallery */
.exb-project-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.exb-project-gallery img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ccc;
}


.exb-project-actions-top {
  text-align: right;
  margin: 20px 0;
}
.exb-project-actions-top .um-button,
.exb-project-actions-top .exb-show-bid-form {
  margin-left: 10px;
}

.exb-project-actions-top {
  text-align: right;
  padding: 20px 20px 0;
  background: #fff;
}

.exb-project-buttons-wrap {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.exb-project-buttons-wrap .um-button,
.exb-project-buttons-wrap .exb-show-bid-form {
  background-color: #253B7C;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  line-height: 15px;
  font-weight: 400;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease-in-out;
}

.exb-project-buttons-wrap .um-button:hover,
.exb-project-buttons-wrap .exb-show-bid-form:hover {
  background-color: #183bb3;
}

@media (max-width: 768px) {
  .exb-project-buttons-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .exb-project-buttons-wrap .um-button,
  .exb-project-buttons-wrap .exb-show-bid-form {
    width: 100%;
    text-align: center;
  }
}

/* Fix UM button width on desktop inside our project view */
.exb-project-buttons-wrap .um-button {
    width: auto !important;
    display: inline-block !important;
}

.exb-project-buttons-wrap {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.exb-project-buttons-wrap button,
.exb-project-buttons-wrap .um-button {
    width: auto !important;
    display: inline-block !important;
    padding: 12px 20px !important;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
}


/* Default (desktop) */
.exb-meta-item {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

/* Label */
.exb-meta-item strong {
  flex: 0 0 auto;
  font-weight: 600;
}

/* Value */
.exb-meta-item span {
  flex: 1 1 auto;
}

/* Mobile Layout: Stack */
@media (max-width: 768px) {
  .exb-meta-item {
    display: block;
  }

  .exb-meta-item strong {
    display: block;
    margin-bottom: 2px;
  }

  .exb-meta-item span {
    display: block;
  }
}