:root {
    --primary-color: #6b38fb;
    --primary-btn-color: #3498db;
    --text-color: #333;
    --card-bg: #fff;
    --border-radius: 8px;
    --card-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }
  
  .item-details {
    padding: 2rem 1rem;
  }
  
  .item-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
  }
  
  .item-image {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
  }
  
  .item-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
  }
  
  .item-image img:hover {
    transform: scale(1.05);
  }
  
  .item-description {
    flex: 2;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }
  
  .item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
  }
  
  .item-name h1 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
  }
  
  .item-name p {
    font-size: 1rem;
    color: #666;
  }
  
  .item-like a {
    color: #ff4757;
    font-size: 1.5rem;
    transition: var(--transition);
  }
  
  .item-like a:hover {
    color: #e84118;
  }
  
  .item-about h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
  }
  
  .item-about p {
    font-size: 1rem;
    color: #555;
  }
  
  .item-bid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
  }
  
  .current-bid h1 {
    font-size: 2rem;
    color: var(--primary-color);
  }
  
  .item-time p {
    font-size: 1rem;
    color: #888;
  }
  
  .item-bid-button {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  #submit-bid-btn{
    width: 100%;

  }
  
  .item-bid-button button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-btn-color);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
  }
  
  .item-bid-button button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
  }
  
  .item-bid-button button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }
  
  .item-resent-bid h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
  }
  
  .item-bid-record ul {
    list-style: none;
    padding: 0;
  }
  
  .item-bid-record li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    transition: var(--transition);
  }
  
  .item-bid-record li:hover {
    background-color: #eaeaea;
  }
  
  .bidder-name {
    font-weight: bold;
    color: #444;
  }
  
  .bid-record {
    text-align: right;
  }
  
  .bid-record p {
    font-size: 0.9rem;
    color: #666;
  }
  
  @media (max-width: 768px) {
    .item-container {
      flex-direction: column;
    }
  
    .item-image,
    .item-description {
      width: 100%;
    }
  
    .item-bid {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
  
    .item-bid-button button {
      max-width: 100%;
    }
  }
  
  @media (max-width: 480px) {
    .item-name h1 {
      font-size: 1.5rem;
    }
  
    .current-bid h1 {
      font-size: 1.5rem;
    }
  
    .item-bid-record li {
      flex-direction: column;
      gap: 0.5rem;
    }
  
    .bid-record {
      text-align: left;
    }
  }
  
  