
.auction-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 10px auto;
  border-top-left-radius: 15px !important;
  border-top-right-radius: 15px !important;
    background:white;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        

} 
.auction-wrapper:hover{
    box-shadow: 0px 6px 20px rgba(255, 178, 0, 0.3);

}


/* Tabs */
.auction-wrapper .tabs{
  display:flex;
    border-top-left-radius: 15px !important;
  border-top-right-radius: 15px !important;
  margin-bottom:20px;
  border: 1px solid rgb(118, 115, 115);
}

.auction-wrapper .tabs button{
  padding:10px !important;
  border-radius:0px !important;
border:none;
    border-top-left-radius: 15px !important;

}

/* List */



.card .status{
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 20px;
    color: white;
    text-transform: uppercase;
}

/* Status colors */
.card .status.live{ background: #28a745; color:white;}
.card .status.upcoming{ background: #ff9800; color:white; }
.card .status.closed{ background: #d32f2f;  color:white;}

.card {
  display: flex;              /* 🔑 row layout */
  gap: 40px;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgb(169, 170, 168);
    margin-top: 5px;
    padding:12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
             transition: transform 0.4s ease, box-shadow 0.4s ease;


}
 .card:hover {
    transform: translatex(-7px);
        box-shadow: 4px 2px 8px rgb(131, 130, 130);

}

/* Image */
.card-content .card-img {
  width: 200px;
  height:150px;
  overflow: hidden;
  border-radius: 10px;
  margin:auto;
  padding: 0px;
}

.card-content .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
 transition: 0.4s ease;
 border:1px solid grey;
 
}
.card-img img:hover {
  transform: scale(1.07);
}

/* Content right side */
.card-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 4px;
  flex: 1;
}
.card-content .card-text{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width:100%;
  margin:auto;
}
.card-content a{
  text-decoration: none;
  padding:7px 
}
/* Button */
.join-btn {
  align-self: flex-start;
  border-radius:4px !important;
  width:12%;
  font-size: 12px;
}


/* Text */
.card h3 {
 
  margin: 6px;
  font-size: 16px;
  font-weight: 400;
  width:200px;
  text-align:left;
}

.card p {
  margin: 6px 12px;
  font-size: 14px;
  color: #555;
}


/*filteration*/

.filter-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 16px;

}

.filter-bar input,
.filter-bar select {
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid #dcdcdc;
  font-size: 15px;
  color: #333;
  outline: none;
  background: #fff;
  min-width: 220px;
}
.filter-bar input {
  min-width: 280px;
}

.filter-bar select {
  cursor: pointer;
}

.filter-bar input::placeholder {
  color: #9aa0a6;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: #4f46e5;
}

.clear-btn {
  height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid #dcdcdc;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  color: #1f2937;
  transition: all 0.2s ease;
}

.clear-btn:hover {
  background: #f3f4f6;
}
table th{
  font-weight: 400 !important;
}
/* =========================
   RESPONSIVE (300px–700px)
========================= */

@media (max-width: 700px) {
.table-container{
  display: none;
}
  .card {
   width: 350px;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.4s;
  justify-content: center !important;
  text-align: center;
  display: flex;
  padding:0;
  margin:5px auto;
  
  
  }
.car-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
  /* BIG IMAGE */


  .card-img img {
  
 border:1px solid grey;
  transition:none;
  transform:none;
  }

  /* Content */
  .card-content {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    display: flex;
    text-align: center;
  }

 .card-content .card-text {
    flex-direction:column;
    display: flex;
    margin-top: 0;
      text-align: center;
    align-items:center;
  }

  /* Text */
  .card h3 {
    font-size: 15px;
    margin:0 !important;
    text-align: center;font-weight: 400;
  }

  .card p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Button */
  .join-btn {
    width:60%;
    padding: 12px;
    font-size: 15px;
    margin: auto;
  }
  .filter-bar {
 flex-direction: column;
 gap:5px;

}

}
