.vob-board-intro { margin: 0 0 20px; }
.vob-board-intro h2 { margin: 0 0 8px; font-size: 32px; line-height: 1.2; }
.vob-board-intro p { margin: 0; color: #5c6470; }

.vob-archive-wrap { margin: 20px 0; }

.vob-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 20px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e6e8ee;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(20,20,43,.05);
}

.vob-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.vob-filter-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
}

.vob-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #ffeeee;
  color: #1b2a52;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.vob-filter-pill.is-active {
  background: #4d0d21;
  color: #FEF9E7;
}

.vob-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap: 22px;
  margin: 20px 0;
}

.vob-card,
.vob-single-box {
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(20,20,43,.06);
}

.vob-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 22px 22px;
  border-radius: 22px;
}

.vob-card-head {
  display: block;
  margin-bottom: 14px;
}

.vob-card-head-main {
  min-width: 0;
}

.vob-card-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.25rem !important;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.vob-card-title a {
  color: #4f1027;
  text-decoration: none;
  font-size: 20px;
}

.vob-card-title a:hover {
  text-decoration: none;
}

.vob-card-ref {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #475569;
  font-weight: 600;
}

.vob-card-status-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 16px;
}

.vob-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border: 0;
  box-shadow: none;
  text-transform: none;
}

.vob-status-open {
  /*background: #dff1db;*/
  color: #47ba4f;
}

.vob-status-fulfilled {
  background: #f6d7c8;
  color: #9a4f2a;
}

.vob-status-responses {
  background: #ececec;
  color: #111827;
}

.vob-status-owner-mine {
  background: #e8eef5;
  color: #22356f;
}

.vob-status-owner-others {
  background: #e8eef5;
  color: #475569;
}

.vob-card-type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 10px 14px;
  background: #eef3ff;
  color: #1b2a52;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.vob-card-specs {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.vob-card-spec {
  background: #f8fafc;
  border: 1px solid #e8edf4;
  border-radius: 14px;
  padding: 12px 14px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.vob-card-spec-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}

.vob-card-spec-value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.vob-card-excerpt {
  color: #31363f;
  margin: 0 0 18px;
  min-height: 82px;
  line-height: 1.75;
  font-size: 15px;
}

.vob-card-actions,
.vob-single-actions,
.vob-table-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.vob-card-actions {
  margin-top: 22px;
}

.vob-link,
.vob-bid-btn,
.vob-submit-bid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 12px 18px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-weight: 700;
  transition: .2s ease;
}

.vob-link {
  /*background: #eef3ff;*/
  color: #1b2a52;
}

.vob-bid-btn,
.vob-submit-bid {
  background: #4f1027;
  color: #fff;
  opacity: .75;
}

.vob-bid-btn:hover,
.vob-submit-bid:hover,
.vob-link:hover {
  opacity: .95;
}

.vob-table-wrap {
  overflow: auto;
  margin: 20px 0;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(20,20,43,.05);
}

.vob-table,
.vob-single-table {
  width: 100%;
  border-collapse: collapse;
}


.vob-table td,
.vob-single-table th,
.vob-single-table td {
  border-bottom: 1px solid #e6e8ee;
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}


.vob-single-table th {
  background: #f8fafc;
}

.vob-table th{
  background: #4f1027;
  color:#FEF9E7;
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.vob-table-title-wrap strong a {
  font-size: 18px;
  line-height: 1;
  color:#4f1027 !important;
  font-weight: 600;
}

.vob-table-title-wrap .vob-table-ref {
  font-size: 12px;
  color:#808080;
}

.vob-table tr:hover{
  background-color:#fbfbfb;
}


.vob-message {
  background: #fff8dc;
  border: 1px solid #f0d98b;
  padding: 14px;
  border-radius: 12px;
}

.vob-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: none;
  z-index: 99999;
  padding: 20px;
}

.vob-modal-inner {
  max-width: 680px;
  margin: 6vh auto;
  background: #fff;
  border-radius: 18px;
  padding: 24px;
}

.vob-modal-close {
  float: right;
  cursor: pointer;
  font-size: 22px;
}

.vob-modal-title {
  margin: 0 0 18px;
}

.vob-modal-fields input,
.vob-modal-fields textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d0d7e2;
  border-radius: 10px;
  margin-bottom: 12px;
}

.vob-bid-feedback {
  margin-top: 10px;
}

.vob-single-note {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
}

.vob-ajax-region.vob-is-loading{transition:opacity .18s ease;}

.vob-empty-state {
    margin-top: 24px;
    width: 100%;
    justify-content: center;
    display: flex;
    margin-bottom: 20px; !important
}

.vob-empty-state-box {
    max-width: 620px;
    margin: 0 auto;
    padding: 60px 40px; 
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
    position: relative;
    margin-bottom: 20px; !important
}

.vob-empty-state-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    font-size: 48px;
    line-height: 1;
    color: #94a3b8;
}

.vob-empty-state-title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: #334155;
    text-align: center;
}

.vob-empty-state-text {
    margin: 0 auto 28px;
    max-width: 480px;
    font-size: 16px;
    line-height: 1.6;
    color: #64748b;
    text-align: center;
}

.vob-empty-state-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    min-height: 44px;
    border-radius: 6px;
    background: #0071ad;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s ease;
    margin-bottom: 20px; !important
}

.vob-empty-state-btn:hover {
    background: #005f91;
    color: #fff !important;
}

/* Dashboard Opportunities alignment only */
.vob-dashboard-mode {
  margin: 0 !important;
  padding: 0 !important;
}

.vob-dashboard-right,
.vob-dashboard-right .vob-ajax-region,
.vob-dashboard-right .vob-archive-wrap {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.vob-dashboard-right .vob-board-intro {
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
}

.vob-dashboard-right .vob-board-intro h2 {
  margin: 0 !important;
  font-size: 32px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #1f2d3d !important;
  letter-spacing: 0 !important;
}

.vob-dashboard-right .vob-table-wrap {
  margin: 0 !important;
}

.vob-dashboard-mode .vob-table th,
.vob-dashboard-mode .vob-table td {
  padding: 16px 14px;
}

.vob-dashboard-mode .vob-table-title-wrap strong a {
  font-size: 16px;
  line-height: 1.45;
}

.vob-dashboard-mode .vob-table-ref {
  margin-top: 8px;
  font-size: 13px;
  color: #000000;
}

@media (max-width: 768px) {
  .vob-card,
  .vob-single-box,
  .vob-modal-inner {
    padding: 18px;
  }

  .vob-board-intro h2 {
    font-size: 26px;
  }

  .vob-card-title {
    font-size: 18px;
  }

  .vob-card-specs {
    grid-template-columns: 1fr;
  }

  .vob-filters {
    align-items: flex-start;
    flex-direction: column;
  }

  .vob-card-top {
    flex-direction: column;
  }

  .vob-empty-state-box {
    padding: 40px 20px;
    margin: 0 15px;
  }

  .vob-empty-state-title {
    font-size: 20px;
  }

  .vob-empty-state-text {
    font-size: 15px;
  }
  
  /* Fallback if class is not added */
.fusion-builder-row > .fusion-layout-column:last-child {
  align-content: flex-start !important;
  justify-content: flex-start !important;
}

.fusion-builder-row > .fusion-layout-column:last-child .vob-ajax-region,
.fusion-builder-row > .fusion-layout-column:last-child .vob-archive-wrap,
.fusion-builder-row > .fusion-layout-column:last-child .vob-dashboard-mode {
  margin: 0 !important;
  padding: 0 !important;
}

.fusion-builder-row > .fusion-layout-column:last-child .vob-board-intro {
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
}

.fusion-builder-row > .fusion-layout-column:last-child .vob-board-intro h2 {
  margin: 0 !important;
  font-size: 32px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #1f2d3d !important;
}

.fusion-builder-row > .fusion-layout-column:last-child .vob-table-wrap {
  margin: 0 !important;
}
}