.tender-list {
  margin: 0 auto;
  padding: 2rem 1rem;
  max-width: 960px;
}

.tender-item {
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: #f9f9f9;
  border-left: 4px solid #037b90;
}

.tender-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tender-number {
  font-size: 1.125rem;
  font-weight: bold;
  color: #037b90
}

.tender-status {
  font-size: 0.475rem;
  padding: 2px 4px;
  border-radius: 4px;
}

.tender-title {
  margin-top: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.tender-documents-section {
  margin-top: 1rem;
}

.tender-documents-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #037b90;
  margin-bottom: 0.5rem;
}

.tender-documents-list {
  list-style: disc;
  margin-left: 1.5rem;
  padding-left: 0;
}

.tender-documents-list li {
  margin-bottom: 0.4rem;
}

.tender-documents-list a {
  color: #000;
  box-shadow: inset 0 -1px 0 #ff7f50;
  background: linear-gradient(to bottom, #ff7f50 0%, #ff7f50 100%);
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 0 0;
  text-decoration: none;
  transition: background-size 0.2s;
}

.tender-documents-list a:hover {
  background-size: 4px 100%;
  color: #000;
}
.status-closed {
  background-color: rgba(255, 0, 0, 0.15);
  font-weight: bold;
  color: red;
}

.status-open {
  background-color: rgba(255, 127, 80, 0.15);
  font-weight: bold;
  color: #ff7f50
}

.tender-intro {
  margin: 2rem auto 1.5rem;
  max-width: 960px;
}

.tender-intro-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #000;
}

.tender-tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid #ddd;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.tender-tab {
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: 600;
  color: gray;
  position: relative;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-bottom 0.3s;
}

.tender-tab.active {
  color: #037b90;
  border-bottom: 2px solid #ff7f50;
}

.tender-tab:hover {
  color: #ff7f50;
}

/*OUK Uniqueness*/
.ouk-unique-grid {
  display: flex;
  align-items: flex-start; /* Align top */
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1rem; /* Adjusted for clarity (16px = 1rem) */
}

/* Odd rows: text left, image right */
.ouk-unique-odd .ouk-unique-grid {
  flex-direction: row;
}

/* Even rows: image left, text right */
.ouk-unique-even .ouk-unique-grid {
  flex-direction: row-reverse;
}

/* Equal column widths */
.ouk-unique-text,
.ouk-unique-image-wrapper {
  flex: 1 1 50%;
}

/* Image styles */
.ouk-unique-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Title (always aligned left outside the grid) */
.ouk-unique-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #000;
  text-align: left;
  margin-bottom: 1rem;
}

/* Body text */
.ouk-unique-body {
  margin-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}

/* Dash styling */
.ouk-unique-dash-line {
  width: 30px;
  height: 2px;
  background-color: #ff7f50;
  position: absolute;
}

.ouk-unique-odd .ouk-unique-dash-line {
  top: 0;
  right: 0;
}

.ouk-unique-even .ouk-unique-dash-line {
  bottom: 0;
  left: 0;
}

/* ✅ Keep horizontal layout on mobile screens */
@media (max-width: 768px) {
  .ouk-unique-grid {
    flex-direction: row; /* Maintain row layout */
    flex-wrap: wrap;
  }

  .ouk-unique-text,
  .ouk-unique-image-wrapper {
    flex: 1 1 50%;
  }

  .ouk-unique-title {
    text-align: left;
    font-size: 1.5rem;
  }
}


/*Downloads*/
.ouk-downloads-list a {
  color: #000;
  box-shadow: inset 0 -1px 0 #ff7f50;
  background: linear-gradient(to bottom, #ff7f50 0%, #ff7f50 100%);
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 0 0;
  text-decoration: none;
  transition: background-size 0.2s;
}

.ouk-downloads-list a:hover {
  background-size: 4px 100%;
  color: #000;
}

.ouk-downloads-wrapper {
  max-width: 600px; /* Optional: to limit width */
  margin: 0 auto;    /* Optional: to center the box */
}

.ouk-downloads-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/*Service Charter*/

.ouk-service-charter {
  margin: 0 auto;
  font-family: "Segoe UI", Tahoma, sans-serif;
  padding: 1rem;
}

.ouk-service-charter-title {
  font-size: 2rem;
  color: #000;
  margin-bottom: 1rem;
}

.ouk-service-charter-intro {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #333;
  line-height: 1.6;
}

.ouk-tabs-container {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ouk-tabs-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 150px;
  border-right: 2px solid #ddd;
}

.ouk-tab-button {
  background: none;
  border: none;
  color: gray;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 16px;
  cursor: pointer;
  text-align: left;
  position: relative;
  transition: color 0.3s;
}

.ouk-tab-button::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 4px;
  background-color: transparent;
  border-radius: 2px;
  transition: background-color 0.3s;
}

.ouk-tab-button.active {
  color: #037b90;
  font-weight: bold;
}

.ouk-tab-button.active::before {
  background-color: #ff7f50;
}

.ouk-tab-content-wrapper {
  flex: 1;
}

.ouk-tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.ouk-tab-content.active {
  display: block;
}

/* Optional: smooth fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .ouk-tabs-container {
    flex-direction: column;
  }

  .ouk-tabs-sidebar {
    flex-direction: row;
    border-right: none;
    border-bottom: 2px solid #ddd;
    justify-content: space-around;
  }

  .ouk-tab-button {
    text-align: center;
    padding: 8px 12px;
  }

  .ouk-tab-button::before {
    top: auto;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    width: auto;
  }
}
.ouk-pdf-frame-wrapper {
  background-color: #fff;
  padding: 1rem;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}



