:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #182230;
  --muted: #6b7280;
  --line: #e6ebf2;
  --green: #12b347;
  --green-dark: #0f9b3d;
  --green-soft: #edfdf3;
  --orange: #ff9800;
  --orange-dark: #f27d0c;
  --red-soft: #fff1f2;
  --red: #ef4444;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(180deg, #f7f9fc 0%, #f2f5fa 100%);
  color: var(--text);
}

.full-width-page {
  width: 100%;
  max-width: 100%;
  margin: 1rem;
  padding: 24px;
  background: #f2f2f2;
  border-radius: 1rem;
  border: 1px solid #d9d9d9;
}

.page-shell {
  width: 100%;
  padding-top: 1rem;
}

.top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.left-stack,
.side-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-card {
  padding: 22px;
}

.hero-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.vehicle-brand-wrap {
  display: flex;
  gap: 18px;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.brand-logo {
  width: 128px;
  min-width: 128px;
  height: 92px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.brand-badge {
  width: 96px;
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(135deg, #163f8c 0%, #2458b5 100%);
  position: relative;
  transform: skewX(-12deg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(22, 63, 140, 0.22);
}
.price_tag_v1 {
  display: inline-flex;
  width: auto;
  /* height: 38px; */
  background-color: #ff9800;
  -webkit-border-radius: 3px 4px 4px 3px;
  -moz-border-radius: 3px 4px 4px 3px;
  border-radius: 3px 4px 4px 3px;
  border-left: 1px solid #ff9800;
  margin-left: 19px;
  color: white;
  font-weight: 300;
  font-size: 2rem;
  line-height: 38px;
  padding: 0 10px 0 10px;
}
/*
.brand-badge::before,
.brand-badge::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
}*/

.brand-badge span {
  transform: skewX(12deg);
  position: relative;
  z-index: 1;
}

.vehicle-meta-block {
  flex: 1;
  min-width: 0;
}

.vehicle-title {
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #0f172a;
  text-transform: uppercase;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--line);
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.pill .ico {
  font-size: 15px;
  line-height: 1;
}

.pill.used {
  color: #166534;
  background: var(--green-soft);
  border-color: #d8f5e3;
}

.pill.auction {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border: none;
  box-shadow: 0 10px 20px rgba(242, 125, 12, 0.22);
  font-size: 15px;
  padding: 11px 18px;
}

.quick-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.summary-box {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.summary-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 6px;
  font-weight: 700;
}

.summary-value {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.gallery-card {
  padding: 20px;
}

.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-soft) 0%, #f8fafc 100%);
  color: #166534;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
  border: 1px solid #daf7e4;
}

.gallery-stage {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    #d9d2bd 0%,
    #f5ebd3 28%,
    #b6a88b 52%,
    #e8dcc3 100%
  );
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.gallery-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0 2px, transparent 2px 28%),
    linear-gradient(
      90deg,
      transparent 0 43%,
      rgba(0, 0, 0, 0.26) 43% 45%,
      transparent 45%
    ),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.55) 0 2px,
      rgba(255, 255, 255, 0) 2px 42px
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.04));
  opacity: 0.9;
}

.gallery-stage::after {
  content: 'Trailer Interior Preview';
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
}

.gallery-toolbar {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}

.tool-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #0f172a;
  font-size: 26px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
  z-index: 2;
}

.gallery-nav.left {
  left: 16px;
}
.gallery-nav.right {
  right: 16px;
}

.gallery-counter {
  margin: 14px 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.thumb-list {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-behavior: smooth;
}

.thumb-list::-webkit-scrollbar {
  height: 8px;
}

.thumb-list::-webkit-scrollbar-thumb {
  background: #d3dbe7;
  border-radius: 999px;
}

.thumb {
  width: 118px;
  min-width: 118px;
  height: 82px;
  border-radius: 12px;
  border: 2px solid transparent;
  overflow: hidden;
  background: #e5e7eb;
  position: relative;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.thumb::before {
  content: '';
  position: absolute;
  inset: 0;
}

.thumb:nth-child(1)::before {
  background: linear-gradient(135deg, #b31818, #ed4c4c 38%, #7f1313 100%);
}
.thumb:nth-child(2)::before {
  background: linear-gradient(135deg, #d31f1f, #ff5e5e 35%, #aa1a1a 100%);
}
.thumb:nth-child(3)::before {
  background: linear-gradient(135deg, #4f2135, #9a4568 40%, #341220 100%);
}
.thumb:nth-child(4)::before {
  background: linear-gradient(
    135deg,
    #d9d2bd 0%,
    #f5ebd3 28%,
    #b6a88b 52%,
    #e8dcc3 100%
  );
}
.thumb:nth-child(5)::before {
  background: linear-gradient(
    135deg,
    #ebe6d0 0%,
    #f7efd8 28%,
    #c8baa0 52%,
    #ede4ce 100%
  );
}
.thumb:nth-child(6)::before {
  background: linear-gradient(135deg, #5f5f5f, #bbbbbb 45%, #7e7e7e 100%);
}

.thumb.active {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(18, 179, 71, 0.12);
}

.side-card,
.seller-card,
.comments-card,
.ownership-card {
  padding: 18px 18px 14px;
}

.card-title {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.card-title .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 0 0 6px rgba(18, 179, 71, 0.12);
  flex: 0 0 auto;
}

.card-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  scroll-behavior: smooth;
}

.card-scroll::-webkit-scrollbar {
  width: 8px;
}

.card-scroll::-webkit-scrollbar-thumb {
  background: #d3dbe7;
  border-radius: 999px;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: 12px;
  padding: 13px 14px;
}

.spec-label {
  color: #556070;
  font-size: 14px;
  font-weight: 700;
}

.spec-value {
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  word-break: break-word;
}

.bottom-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
  align-items: stretch;
}

.ownership-card,
.seller-card,
.comments-card {
  min-height: 460px;
  height: 100%;
}

.comment-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  /*border: 1px solid #dce8ef;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef9fc 0%, #f8fdff 100%);*/
  min-height: 82px;
}
.comment-text > ul li {
  list-style-type: none;
  font-weight: normal;
}
.comment-text > ul li:before {
  content: '* ';
  color: green;
  margin-right: 0.25rem;
  font-size: 1.25rem;
  vertical-align: middle;
}
.comment-logo {
  max-width: 120px;
  height: auto;
  border-radius: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #fff;
  /* border: 1px solid var(--line); */
  /* font-weight: 900; */
  /* color: #d65d18; */
  /* font-size: 22px; */
  /* box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06); */
  /* border: 2px solid #eff2f6; */
  /*padding: 2px;*/
  width: 120px;
}

.comment-text {
  font-size: 16px;
  font-weight: 700;
  color: #43606f;
  padding-top: 20px;
  height: 450px;
}

.cta-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  letter-spacing: 0.1px;
}

.btn-back {
  background: var(--red-soft);
  color: #d62839;
  border-color: #ffd6dc;
  box-shadow: 0 8px 18px rgba(214, 40, 57, 0.1);
}

.btn-contact {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  box-shadow: 0 10px 22px rgba(18, 179, 71, 0.22);
}

.btn-watch {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 10px 22px rgba(242, 125, 12, 0.22);
}

.sticky-side {
  position: sticky;
  top: 20px;
}

@media (max-width: 1280px) {
  .bottom-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1180px) {
  .top-grid,
  .bottom-grid-3 {
    grid-template-columns: 1fr;
  }

  .sticky-side {
    position: static;
  }

  .quick-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .ownership-card,
  .seller-card,
  .comments-card {
    min-height: auto;
  }

  .card-scroll {
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .full-width-page {
    padding: 12px;
  }

  .hero-card,
  .gallery-card,
  .side-card,
  .seller-card,
  .comments-card,
  .ownership-card {
    padding: 16px;
  }

  .vehicle-brand-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .vehicle-title {
    font-size: 28px;
  }

  .quick-summary {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-stage {
    height: 380px;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .btn {
    width: 100%;
    min-width: unset;
  }
}

@media (max-width: 520px) {
  .hero-head {
    flex-direction: column;
    align-items: stretch;
  }

  .meta-row {
    gap: 8px;
  }

  .pill {
    font-size: 13px;
    padding: 9px 12px;
  }

  .gallery-stage {
    height: 300px;
  }

  .thumb {
    width: 98px;
    min-width: 98px;
    height: 72px;
  }

  .quick-summary {
    grid-template-columns: 1fr;
  }
}

.content-area-v1 {
  flex: 1;
  min-width: 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 2rem;
  background: #ffffff;
  border-radius: 1rem;
  margin: 1rem 0rem;
}
.content-heading-v1 {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.content-section-v1 {
  padding: 2rem;
}

.items-listing-page {
  width: 100%;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.items-listing-inner {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

/* ====== LEFT FILTER SIDEBAR ====== */
.left-sidebar-v1 {
  width: 20%;
  min-width: 340px;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 2rem;
}

.filter-block {
  margin-bottom: 26px;
}

.filter-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.filter-title {
  font-size: 26px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.reset-filters-link {
  font-size: 12px;
  color: #1e2d7d;
  text-decoration: underline;
  cursor: pointer;
}

.filter-search-box {
  position: relative;
  margin-bottom: 16px;
}

.filter-search-box input {
  width: 100%;
  height: 42px;
  border: 1px solid #cfcfcf;
  background: #fff;
  padding: 0 44px 0 12px;
  font-size: 15px;
  color: #333;
  outline: none;
  box-sizing: border-box;
}

.filter-search-box .search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #999;
}

.filter-group {
  border-top: 1px solid #d8d8d8;
  padding-top: 14px;
  margin-top: 14px;
}

.filter-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding-bottom: 10px;
}

.filter-group-title {
  font-size: 18px;
  font-weight: 500;
  color: #333;
}

.filter-group-toggle {
  width: 20px;
  height: 20px;
  border: 1px solid #4a8df0;
  color: #4a8df0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  background: #fff;
}

.filter-options {
  padding-top: 8px;
  display: none;
  overflow: hidden;
  transition: all 0.3s ease;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #555;
  padding: 2px 6px 2px 18px;
  /* min-width: 95px; */
  /* border: 1px solid; */
  width: stretch;
}
.pure-tabs .filter-options {
  display: flex !important;
}
.filter-group.special-1 {
  background: #f6f6f6;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px dashed #c5c5c5;
}
.filter-group.special-1 .filter-group-title {
  cursor: default !important;
}
.filter-group.special-1 .group-header-1 {
  border-bottom: 1px solid #cccfd6;
  margin-bottom: 1rem;
}
.filter-group.special-1 .group-header-1 .group-title-1 {
  font-weight: 600;
  font-size: 1rem;
}
.filter-group.special-1 .filter-group-title {
  font-weight: normal;
  font-size: 1rem;
}
.pure-tabs .filter-option input[type='checkbox'],
.pure-tabs .filter-option input[type='radio'] {
  display: flex !important;
  width: 14px;
  height: 14px;
  accent-color: #16125c;
}

.filter-group.active .filter-options {
  display: block;
}

.filter-group-toggle {
  transition: transform 0.2s ease;
}

/* rotate icon if needed */
.filter-group.active .filter-group-toggle {
  transform: rotate(0deg); /* optional style */
}

.filter-option input[type='checkbox'],
.filter-option input[type='radio'] {
  width: 22px;
  height: 22px;
  accent-color: #16125c;
}

/* ====== RIGHT PRODUCT AREA ====== */
.items-grid-area {
  flex: 1;
  min-width: 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 2rem;
  background: #ffffff;
  border-radius: 1rem;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 25px;
}
.items-grid.four-columns {
  grid-template-columns: repeat(4, minmax(260px, 1fr));
}
.items-grid.six-columns {
  grid-template-columns: repeat(6, minmax(260px, 1fr));
}

/* ====== PRODUCT CARD ====== */
.item-card {
  background: transparent;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 1rem;
  border: 1px solid #ebebeb;
  border-radius: 0.45rem;
  text-align: center;
}

.item-card-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.item-card-image-wrap img {
  max-width: 97%;
  max-height: 95%;
  /*object-fit: contain;*/
  display: block;
  border-radius: 0.45rem;
}

.compare-box {
  position: absolute;
  top: 14px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #444;
}

.compare-box input[type='checkbox'] {
  width: 14px;
  height: 14px;
}

/* ====== TITLE ====== */
.item-card-title {
  margin: 14px 0 10px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
  color: #009688;
  border-bottom: 1px solid #d8d8d8;
  padding-bottom: 10px;
  text-align: center;
}

/* ====== METRICS ====== */
.item-card-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.item-spec {
  text-align: center;
}
.item-spec.v2 {
  border: 1px solid #15bb30;
  border-radius: 9px;
  padding: 9px;
  box-shadow: 0 4px 6px #d1f2aa;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-align: center;
  background: linear-gradient(45deg, #f6ffec, #d3ecd6);
}

.item-spec-value {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}

.item-spec-label {
  font-size: 12px;
  color: #009688;
}

/* ====== ACTIONS ====== */
.item-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-know-more {
  flex: 1;
  height: 39px;
  border: 0;
  background: #00b518;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  border-radius: 0.25rem;
}

.btn-know-more:hover {
  background: #009688;
}
.btn-apply4-job {
  background: #2196f3;
}
.btn-apply4-job:hover {
  background: #0462ad;
}
.pdf-icon-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  border: 1px solid #6aa0ef;
  background: #fff;
  color: #6aa0ef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1280px) {
  .items-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

@media (max-width: 991px) {
  .items-listing-inner {
    flex-direction: column;
  }

  .left-sidebar-v1 {
    width: 100%;
    min-width: 100%;
  }

  .items-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 640px) {
  .items-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .item-card-image-wrap {
    height: 220px;
  }

  .item-card-specs {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.back-link {
  position: absolute;
  right: 3rem;
}
.back-link a {
  color: #0ea943;
  font-size: 1.25rem;
  border-bottom: 1px solid #0ea943;
  font-family: cursive;
}

.pure-tabs {
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  font-family: Arial, sans-serif;
  position: relative;
}

.pure-tabs input[type='radio'] {
  display: none;
}

.tab-heads {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid #ddd;
  margin-bottom: 0px;
}

.tab-heads label {
  padding: 12px 22px;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  background: #f3f3f3;
  color: #333;
  font-weight: 600;
  /*transition: all 0.35s ease;*/
  position: relative;
}

.tab-heads label:hover {
  background: #e9e9e9;
}

.tab-panels {
  position: relative;
  min-height: 180px;
}

.tab-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  /* border: 1px solid #e3e3e3; */
  border-radius: 0 0px 12px 12px;
  padding: 30px 15px 15px 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  border-left: 1px solid #dadada;
  border-bottom: 1px solid #dadada;
  border-right: 1px solid #dadada;
}

#tab1:checked ~ .tab-heads label[for='tab1'],
#tab2:checked ~ .tab-heads label[for='tab2'],
#tab3:checked ~ .tab-heads label[for='tab3'] {
  background: #ffffff;
  color: #111;
  border: 1px solid #e3e3e3;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
}

#tab1:checked ~ .tab-panels .panel-1,
#tab2:checked ~ .tab-panels .panel-2,
#tab3:checked ~ .tab-panels .panel-3 {
  opacity: 1;
  visibility: visible;
  /*transform: translateY(0);*/
  position: relative;
}

.btn.btn-v2 {
  padding: 0.25rem !important;
  width: 100%;
  /* margin-top: 2rem; */
  /* margin-bottom: -2rem; */
}
button.btn-know-more a {
  color: #ffffff !important;
  text-shadow: -1px 1px black;
}

.badge-tab-circle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-left: 5px solid #00b935;
  border-radius: 10px;
  padding: 6px 6px 6px 12px;
  min-width: 110px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.25s ease;
}

/* Label */
.badge-label {
  font-size: 12px;
  font-weight: 700;
  color: #00a130;
  letter-spacing: 0.4px;
}

/* Right circle */
.badge-count {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00b935, #008f2c);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 185, 53, 0.3);
  margin-left: 10px;
  animation: popIn 0.4s ease;
}

/* Hover effect */
.badge-tab-circle:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.badge-tab-circle:hover .badge-count {
  transform: scale(1.08);
}

/* Animation */
@keyframes popIn {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.badge-tab-circle.dark {
  background: #263238;
  border-left-color: #00e676;
}

.badge-tab-circle.dark .badge-label {
  color: #a5d6a7;
}
.cat_title {
  padding: 2px 6px;
  border-radius: 0.25rem;
  font-size: 1rem;
  letter-spacing: 1.2px;
}
.cat_title.main {
  color: #068317;
  /* background: #0e9213; */
  text-shadow: 1px 1px 2px #aed581;
}
.cat_title.sub {
  color: #e8731e;
  /* background: #0e9213; */
  text-shadow: 1px 1px 2px #dcd7d4;
}
.card-title-mini {
  margin: 0 0 14px;
  display: flex;
  text-align: center;
  gap: 10px;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.result-points.mini li {
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 8px;
  padding-left: 22px;
  position: relative;
}
.spec-row-mini {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: 9px;
  padding: 6px 9px;
}
.spec-label-mini {
  color: #11661c;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}
.spec-value-mini {
  color: #111827;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  word-break: break-word;
}
.results-grid.three-column {
  grid-template-columns: repeat(3, minmax(260px, 1fr)) !important;
}

.text-link-holder a {
  font-size: 1rem;
  font-weight: normal;
  color: green;
  text-decoration: underline;
}

.breadcrumb_panel {
  padding: 0.25rem 1rem;
  border-radius: 0.25rem;
  font-size: 0.85rem;
  background-image: linear-gradient(to left, rgba(255, 0, 0, 0), rgb(0 0 0));
  line-height: 45px;
}
.card:has(.breadcrumb_panel) {
  border: none !important;
}
.vmpanel-header {
  padding: 6px 15px 6px 15px !important;
  font-size: 0.9rem !important;
  font-weight: normal !important;
  line-height: 45px;
}
.content-section-v1,
.content-section-v1 p,
.content-section-v1 span {
  font-family: Helvetica !important;
  text-align: justify;
  font-size: 12pt;
}
.content-section-v1.pad-v1 {
  padding: 0.5rem !important;
}
.btn:not(.btnSwitcher):not(.btn-success):not(.btn-primary):not(.btn-danger) {
  min-width: 160px;
  min-height: 48px;
  padding: 12px 2px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: 0.22s ease;
}
.btn:not(.btnSwitcher):not(.btn-success):not(.btn-primary):not(
    .btn-danger
  ):hover {
  transform: translateY(-2px);
}

.action-btns-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.action-btns-row button {
  flex: 1 1 calc(25% - 15px);
}
@media (max-width: 576px) {
  .action-btns-row button {
    flex: 1 1 100%;
  }
}
.action-btns-row .btn {
  border-radius: 0.25rem !important;
  padding: 0.75rem !important;
  min-height: 45px !important;
  transition: none !important;
}
.action-btns-row .btn:hover {
  transition: none !important;
}

.pad-0 {
  padding: 0 !important;
}
.full-width-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 24px;
}
.group-btns-row .btn {
  padding: 0.6rem !important;
  border-radius: 0.6rem !important;
  color: #fff;
  min-height: 36px !important;
  max-width: 120px !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
}

/*** Jobs Page ****/
.notice-card {
  position: relative;
  max-width: 760px;
  margin: 20px auto;
  padding: 24px;
  overflow: hidden;
  border-radius: 18px;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
}

.notice-card::before {
  content: '';
  position: absolute;
  top: -45px;
  right: -35px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.notice-card::after {
  content: '';
  position: absolute;
  right: 70px;
  bottom: -70px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.notice-card h3 {
  position: relative;
  z-index: 1;
  margin: 10px 0 7px;
  font-size: 24px;
  line-height: 1.25;
}

.notice-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

.notice-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.notice-action {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 17px;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.notice-action::after {
  content: ' →';
}

.notice-action:hover {
  text-decoration: underline;
}

/* Special offer */

.notice-offer {
  color: #ffffff;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.22),
      transparent 34%
    ),
    linear-gradient(135deg, #7c3aed 0%, #db2777 55%, #f97316 100%);
}

/* Breaking news */

.notice-breaking {
  color: #ffffff;
  border-left: 7px solid #ffffff;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 12px,
      transparent 12px,
      transparent 24px
    ),
    linear-gradient(135deg, #991b1b, #dc2626);
}

.notice-breaking .notice-badge {
  color: #b91c1c;
  background: #ffffff;
}

/* Important update */

.notice-important {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  color: #713f12;
  border: 1px solid #facc15;
  background: linear-gradient(120deg, #fff7cc 0%, #fffbeb 65%, #fef3c7 100%);
}

.notice-important::before,
.notice-important::after {
  background: rgba(245, 158, 11, 0.1);
}

.notice-important .notice-badge {
  color: #92400e;
  background: #fde68a;
}

.notice-icon {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f59e0b;
  color: #ffffff;
  font-size: 25px;
  font-weight: 900;
}

/* Exciting note */

.notice-excited {
  color: #ffffff;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 255, 255, 0.25),
      transparent 25%
    ),
    linear-gradient(135deg, #0891b2 0%, #2563eb 48%, #7c3aed 100%);
}

.notice-excited {
  animation: excitedGlow 3s ease-in-out infinite;
}

@keyframes excitedGlow {
  0%,
  100% {
    box-shadow: 0 14px 35px rgba(37, 99, 235, 0.18);
  }

  50% {
    box-shadow: 0 18px 45px rgba(124, 58, 237, 0.32);
  }
}

/* Job offer */

.notice-job {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #16324f;
  border: 1px solid #bfdbfe;
  background: linear-gradient(100deg, #eff6ff 0%, #ffffff 58%, #ecfeff 100%);
}

.notice-job::before {
  background: rgba(14, 165, 233, 0.09);
}

.notice-job::after {
  background: rgba(37, 99, 235, 0.06);
}

.notice-job .notice-badge {
  color: #1d4ed8;
  background: #dbeafe;
}

.job-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  font-size: 27px;
  box-shadow: 0 9px 20px rgba(37, 99, 235, 0.23);
}

.notice-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 13px;
}

.job-meta span {
  padding: 7px 11px;
  border-radius: 50px;
  background: #ffffff;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.07);
}

.job-apply-button {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 12px 19px;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
  transition:
    transform 0.2s,
    background 0.2s;
}

.job-apply-button:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

@media (max-width: 650px) {
  .notice-card {
    padding: 20px;
    border-radius: 15px;
  }

  .notice-card h3 {
    font-size: 20px;
  }

  .notice-job {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .notice-content {
    width: calc(100% - 76px);
  }

  .job-apply-button {
    width: 100%;
    text-align: center;
  }
}
.date-note-badge {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.date-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  white-space: nowrap;
}
.flash-3 {
  color: #78350f;
  border: 1px solid #f59e0b;
  background: #fef3c7;
  animation: warningFlash 1.2s infinite;
}
@keyframes warningFlash {
  0%,
  100% {
    background: #fef3c7;
  }

  50% {
    background: #fbbf24;
  }
}
.job-time-left {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border: 1px solid transparent;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.time-left-label {
  font-weight: 600;
}

.time-left-green {
  color: #166534;
  border-color: #86efac;
  background: linear-gradient(145deg, #dcfce7, #bbf7d0);
}

.time-left-amber {
  color: #854d0e;
  border-color: #fde047;
  background: linear-gradient(145deg, #fef9c3, #fef08a);
}

.time-left-orange {
  color: #9a3412;
  border-color: #fdba74;
  background: linear-gradient(145deg, #ffedd5, #fed7aa);
}

.time-left-red {
  color: #991b1b;
  border-color: #fca5a5;
  background: linear-gradient(145deg, #fee2e2, #fecaca);
  animation: time-left-pulse 1.4s ease-in-out infinite;
}

.time-left-closed {
  color: #ffffff;
  border-color: #7f1d1d;
  background: linear-gradient(145deg, #dc2626, #991b1b);
}

.time-left-default {
  color: #475569;
  border-color: #cbd5e1;
  background: #f1f5f9;
}

@keyframes time-left-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(220, 38, 38, 0.13);
  }
}
