/**
 * Bids Plugin Frontend Stylesheet
 * Author: Odyssey Mechanical
 * Version: 1.0.0
 */

/* Main container for the single bid view */
.omb-single-bid-container {
  font-family: sans-serif; /* A basic font stack */
  line-height: 1.6;
}

/* Wrapper for the non-repeating details like Status and Location */
.omb-bid-details-wrapper {
  margin-top: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
}

.omb-bid-details-wrapper h3 {
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #dddddd;
}

.omb-bid-details-wrapper p {
  margin: 10px 0 0;
}

/* Main wrapper for the list of PDF documents */
.omb-bid-documents {
  margin-top: 30px;
}

.omb-bid-documents h3 {
  border-bottom: 2px solid #cccccc;
  padding-bottom: 10px;
}

/* The list of documents */
.omb-bid-documents ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

/* A single list item (one PDF entry) */
.omb-bid-documents li {
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-left-width: 5px;
  border-left-color: #0073aa; /* WordPress blue */
  border-radius: 4px;
  background: #fff;
}

.omb-bid-documents li strong {
  font-size: 1.1em;
  display: block;
  margin-bottom: 5px;
}

.omb-bid-documents .bid-date {
  color: #555;
  font-style: italic;
  font-size: 0.9em;
}

/* The download and preview links */
.omb-bid-documents .bid-links {
  margin-top: 10px;
}

.omb-bid-documents .bid-links a {
  display: inline-block;
  padding: 8px 15px;
  background-color: #0073aa;
  color: #ffffff;
  text-decoration: none;
  border-radius: 3px;
  font-size: 14px;
  margin-right: 10px;
  transition: background-color 0.2s ease-in-out;
}

.omb-bid-documents .bid-links a:hover {
  background-color: #005f8c;
}

.omb-bid-filters {
  background: #2d468d21;
  padding: 30px;
}

.omb-bid-filters form {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.bid-filter-header h3 {
  margin-bottom: 7px !important;
  text-transform: uppercase;
  font-size: 22px !important;
}
.omb-bid-filters form > .filter-item {
  width: calc((100% / 2) - 120px);
}
.omb-bid-filters form > .filter-item select {
  border: 0px solid #fff;
  box-shadow: 0 0 0 transparent;
  height: 46px;
  padding: 6px 10px;
  border-radius: 4px;
  width: 100%;
  font-size: 16px;
}
.omb-bid-filters form button:hover {
  background: #2d468d;
  color: #fff;
}
.omb-bid-filters form label {
  display: block;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 18px;
}
.omb-bid-filters form button {
  text-transform: uppercase;
}
a.clear-filters {
  text-transform: uppercase;
}
ul.bids-wraper,
ul.bids-wraper ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.bids-wraper li.bd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  background: #f7f7f7;
  padding: 20px 30px;
  margin-top: 20px;
}
ul.bids-wraper li.bd-row a.bid-title {
  font-size: 20px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
  color: #2d468d;
  font-family: var(--font-heading);
}
li.bd-row a.bid-button {
  background: #2d468d;
  color: #fff;
  display: inline-block;
  padding: 8px 18px;
  border-radius: 8px;
  text-transform: uppercase;
}
li.bd-row a.bid-button:hover {
  background: #000;
}
ul.bid-data li strong {
  display: inline-block;
  min-width: 93px;
}
.single.single-bids header.ast-custom-header {
  background: #000;
}
#page .site-content div#secondary {
  display: none;
}
.odbid_container {
  max-width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.odbid_header {
  background: #294992;
  color: white;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.odbid_header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.odbid_header_content {
  position: relative;
  z-index: 1;
}

.odbid_project_title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color:#fff;
}

.odbid_meta_info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.odbid_meta_item {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.odbid_meta_label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.odbid_meta_value {
  font-size: 1.1rem;
  font-weight: 600;
}

.odbid_status_badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.odbid_status_badge::before {
  content: "●";
  animation: odbid_pulse 2s infinite;
}

@keyframes odbid_pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.odbid_content {
  padding: 40px;
}

.odbid_section_title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.odbid_header_content h1.odbid_project_title {
  font-size: 40px;
}
.odbid_section_title::before {
  content: "";
  width: 4px;
  height: 30px;
  background: #294992;
  border-radius: 2px;
  
}
.odbid_meta_value a {
  color: #fff;
}
span.odbid_status_badge {
  text-transform: capitalize;
}
a.odbid_action_btn.odbid_download_bt {
  background: #2d468d;
  color: #fff;
}
.odbid_date_status {
  display: flex;
  align-items: center;
}
.odbid_documents_grid {
  display: grid;
  gap: 20px;
}

.odbid_document_item {
  background: #fff;
  border: 2px solid #e8ecf3;
  border-radius: 16px;
  padding: 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.odbid_document_item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background:#294992;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.odbid_document_item:hover {
  border-color:#294992;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
  transform: translateY(-2px);
}

.odbid_document_item:hover::before {
  transform: scaleX(1);
}

.odbid_document_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0px;
}
h2.odbid_section_title {
  font-size: 30px !important;
  font-weight: 700 !important;
}
.odbid_document_details h3 {
  font-size: 25px !important;
  font-weight: 700 !important;
}
.odbid_document_info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.odbid_document_icon {
  width: 50px;
  height: 50px;
  background: #294992;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
}

.odbid_document_details h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.odbid_document_date {
  font-size: 0.9rem;
  color: #7f8c8d;
  display: flex;
  align-items: center;
  gap: 5px;
}

.odbid_document_actions {
  display: flex;
  gap: 12px;
}

.odbid_action_btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.odbid_download_btn {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.odbid_download_btn:hover {
  background: linear-gradient(135deg, #2980b9, #3498db);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
  transform: translateY(-1px);
}

.odbid_delete_btn {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.odbid_delete_btn:hover {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
  transform: translateY(-1px);
}

.odbid_status_indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0px;
  margin-left: 0px;
}
.odbid_status_indicator:before {
  content: "";
  width: 2px;
  height: 11px;
  display: inline-block;
  background: #2d468d;
  margin-left: 10px;
  top: 0px;
  position: relative;
}

.odbid_status_dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27ae60;
}

.odbid_status_text {
  font-size: 0.9rem;
  color: #27ae60;
  font-weight: 400;
}
.single.single-bids #page .site-content {
  background: #fff;
}
.single.single-bids div#primary {
  margin-top: 0;
}
.filter-submit {
  display: flex;
  align-items: stretch;
}
.filter-submit a.clear-filters {
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 8px;
  margin-left: 10px;
}
span.login-reqiredt-message {
  display: block;
  background: #db222a1f;
  color: #000;
  padding: 20px;
  border-left: 10px solid #db222a;
}
.omb-pagination {
  margin-top: 50px;
  text-align: center;
}

.omb-pagination .page-numbers {
  background: #ddd;
  min-width: 25px;
  display: inline-block;
  padding: 4px 14px;
  color: #000;
  font-weight: 400;
}
.omb-pagination .page-numbers.current {
  background: #2d468d;
  color: #fff;
}

.post-content-cus p {
  margin-bottom: 0px;
}
.post-content-cus h2 {
  color: #284a94;
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 30px;
}
.post-content-cus h3 {
  color: #284a94;
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 25px;
}
.post-content-cus h5 {
  color: #284a94;
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 18px;
}
.post-content-cus h6 {
  color: #284a94;
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 16px;
}
.post-content-cus ul {
  margin: 0 0 5px 3em;
}
.post-content-cus ol {
  margin: 0 0 5px 3em;
}
@media (max-width: 1024px) {
  .omb-bid-filters form {
    flex-wrap: wrap;
  }
  .omb-bid-filters form > .filter-item {
    width: calc((100% / 0) - 00px);
    margin-top: 11px;
  }
  .omb-bid-filters form .filter-submit {
    margin-top: 15px;
  }
  ul.bids-wraper li.bd-row {
    flex-direction: column;
    align-items: flex-start;
  }
  li.bd-row a.bid-button {
    margin-top: 18px;
  }
}
@media (max-width: 768px) {
  .odbid_container {
    margin: 10px;
    border-radius: 15px;
  }

  .odbid_header {
    padding: 20px;
  }

  .odbid_project_title {
    font-size: 1.8rem;
  }

  .odbid_content {
    padding: 20px;
  }

  .odbid_meta_info {
    grid-template-columns: 1fr;
  }

  .odbid_document_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .odbid_document_actions {
    width: 100%;
    justify-content: stretch;
  }

  .odbid_action_btn {
    flex: 1;
    justify-content: center;
  }
}
.ast-container {
  margin: 0 auto;
}
@media (max-width: 450px) {
  .ast-container .odbid_meta_info {
    grid-template-columns: 250px;
  }
}
@media (max-width: 544px) {
  .ast-container {
    max-width: 100%;
  }
  .ast-container .omb-single-bid-container {
    padding: 1.5em 0.5em;
  }
}

@media (min-width: 544px) {
  .ast-container {
    max-width: 100%;
  }
  .ast-container .omb-single-bid-container {
    padding: 1.5em 0.5em;
  }
}

@media (min-width: 922px) {
  .ast-container {
    max-width: 1240px;
  }
  .ast-container .omb-single-bid-container {
    padding: 2.5em;
  }
}
@media (min-width: 1201px) {
  .ast-container {
    max-width: 1240px;
  }
}
.ast-container a.odbid_action_btn.odbid_download_bt,
li.bd-row a.bid-button {
  background: #294992;
  color: #fff !important;
  text-decoration: none !important;
  font-family: var(--button-font-family);
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  text-transform:uppercase;
}

.ast-container a.odbid_action_btn.odbid_download_bt:hover,
li.bd-row a.bid-button:hover {
  background: #1a3166;
}
ul.bids-wraper li.bd-row a.bid-title {
  color: #294992;
}
.ast-container .content-area {
  margin-bottom: 4em;
}
@media (max-width: 768px) {
  .ast-container .odbid_header {
    padding: 15px;
  }
}

body.bids .content-area a:link:not(.btn, .ryno-coupon__phone, .category-pill) {
  text-decoration: none;
}
body.bids .content-area ul:not(.accordion) li::before {
  display: none;
}
ul.bid-data li {
  padding-left: 0 !important;
}
ul.bid-data li strong {
  min-width: 130px;
}
body.bids .omb-bid-filters form button[type="submit"] {
  background: #d92329;
  border: 0;
  color: #fff;
  border-radius: 8px;
  padding: 10px 30px;
  font-family: var(--button-font-family);
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
}
body.bids .omb-bid-filters form button[type="submit"]:hover {
  background-color: #851519;
}

body.bids .omb-bid-filters form .clear-filters {
  background: #95b3ce;
  color: #0f1c3a;
  font-family: var(--button-font-family);
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
}
body.bids .omb-bid-filters form .clear-filters:hover {
  background-color: #6889a6;
}
@media (min-width: 992px) {
body :focus-visible {
  outline: none !important;
}
}