.ccvc-vendor-dashboard .card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}
.ccvc-vendor-dashboard .list-group-item.active {
  background-color: #003366;
  border-color: #003366;
}


/* ================================
   Vendor Dashboard UI Styling
   ================================ */
.page-id-48 {
    background: #f7f7f7;
}

/* General layout */
.ccvc-vendor-dashboard {
  color: #333;
}

.ccvc-vendor-dashboard h3 {
  color: #003366;
  font-weight: 600;
}

.ccvc-vendor-dashboard .list-group-item {
  border: none;
  padding: 14px 18px;
  font-weight: 500;
  color: #003366;
  background: #f8f9fb;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.ccvc-vendor-dashboard .list-group-item:hover {
  background: #f1f5ff;
  color: #003366;
}

.ccvc-vendor-dashboard .list-group-item.active {
  background: linear-gradient(90deg, #003366, #004b8a);
  color: #fff !important;
  border-left: 4px solid #ff7700;
  font-weight: 600;
}

/* Top Stat Cards */
.ccvc-vendor-dashboard .card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ccvc-vendor-dashboard .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.ccvc-vendor-dashboard .card h6 {
  color: #666;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 5px;
}

.ccvc-vendor-dashboard .card h3 {
  font-size: 26px;
  color: #003366;
  font-weight: 600;
}

/* Gradient Cards (Top Summary) */
.ccvc-vendor-dashboard #tab-dashboard .card {
  background: linear-gradient(145deg, #003366, #ff7700);
  color: #fff;
}

.ccvc-vendor-dashboard #tab-dashboard .card:nth-child(2) {
  background: linear-gradient(145deg, #ff7700, #ff9933);
}

.ccvc-vendor-dashboard #tab-dashboard .card:nth-child(3) {
  background: linear-gradient(145deg, #003366, #ff7700);
}

.ccvc-vendor-dashboard #tab-dashboard .card:nth-child(4) {
  background: linear-gradient(145deg, #666, #999);
}

.ccvc-vendor-dashboard #tab-dashboard .card h6 {
  color: #fff;
  opacity: 0.85;
}

.ccvc-vendor-dashboard #tab-dashboard .card h3 {
  color: #fff;
}

/* Add Offer button */
.ccvc-vendor-dashboard .btn.btn-primary {
  background: linear-gradient(90deg, #ff7700, #ff9933);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  padding: 8px 20px;
  transition: background 0.3s ease;
}

.ccvc-vendor-dashboard .btn.btn-primary:hover {
  background: linear-gradient(90deg, #ff6600, #ff8800);
}

/* Filter dropdown styling */
#vd-filter-status {
  border-radius: 6px;
  border-color: #ddd;
  color: #003366;
}

/* Table styling */
#vd-offer-list table {
  border-collapse: separate;
  border-spacing: 0 8px;
  width: 100%;
}

#vd-offer-list table th {
  background: #003366;
  color: #fff;
  padding: 12px;
  font-weight: 500;
  border: none;
}

#vd-offer-list table td {
  background: #fff;
  padding: 12px;
  vertical-align: middle;
  border-top: 1px solid #eee;
  max-width: 200px !important;
    white-space: normal;
}

#vd-offer-list table tr {
  border-radius: 10px;
}

#vd-offer-list table tr:hover td {
  background: #f8faff;
}

/* Stat Cards for Pageviews & Clicks */
#tab-pageviews .card,
#tab-clicks .card {
  border-radius: 12px;
  background: #fff;
  color: #003366;
  transition: all 0.3s ease;
}

#tab-pageviews .card:hover,
#tab-clicks .card:hover {
  background: linear-gradient(145deg, #003366, #004b8a);
  color: #fff;
}

#tab-pageviews .card h6,
#tab-clicks .card h6 {
  font-weight: 500;
  margin-bottom: 5px;
  color: inherit;
}

#tab-pageviews .card h3,
#tab-clicks .card h3 {
  font-size: 24px;
  font-weight: 600;
  color: inherit;
}

/* Profile Form */
#tab-profile .card {
  border-radius: 10px;
  border: 1px solid #eee;
}

#tab-profile label {
  font-weight: 500;
  color: #003366;
}

#tab-profile input,
#tab-profile textarea,
#tab-profile select {
  border-radius: 6px;
  border-color: #ccc;
}

#vendor-avatar-preview {
  border: 2px solid #ddd;
  transition: all 0.3s ease;
}

#vendor-avatar-preview:hover {
  border-color: #ff7700;
  transform: scale(1.05);
}

/* Modal Styling */
#vd-edit-modal > div,
#vd-add-modal > div {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

#vd-edit-modal h4,
#vd-add-modal h4 {
  color: #003366;
  font-weight: 600;
}

#vd-edit-modal label,
#vd-add-modal label {
  color: #003366;
  font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .ccvc-vendor-dashboard .list-group-item {
    font-size: 14px;
    padding: 10px 12px;
  }
  .ccvc-vendor-dashboard .card h3 {
    font-size: 22px;
  }
  #vd-offer-list table th,
  #vd-offer-list table td {
    font-size: 14px;
  }
}
