  #bid-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  #bid-modal .modal-content {
    background: var(--color-white);
    width: 600px;
    margin: 80px auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  #bid-modal .modal-header {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #bid-modal .modal-body,
  #bid-modal .modal-footer {
    padding: 16px;
  }

  #bid-modal .modal-body h5 {
    font-size: 1.125rem;
    margin: 8px 0;
    color: var(--color-primary);
    font-weight: bold;
  }

  #bid-modal table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid var(--color-border-light);
    margin-bottom: 1rem;
  }

  #bid-modal th,
  #bid-modal td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--color-border-light);
    vertical-align: middle;
  }

  #bid-modal th {
    background: #f7f7f7;
    text-align: left;
    font-weight: bold;
    width: 25%;
    color: #444;
  }

  #bid-modal input[type="number"] {
    width: 130px;
    padding: 4px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 14px;
    margin-right: 5px;
  }

  #bid-modal .red {
    color: #d30008;
    font-weight: 500;
  }

  .warning {
    display: block;
    margin-top: 8px;
    background: #edf2fa;
    font-size: 0.875rem;
    color: #111;
    border-radius: 5px;
    padding: 6px 10px;
  }

  .close-btn {
    cursor: pointer;
    font-size: 1.25rem;
  }

  #bid-modal .btn {
    width: 200px;
    height: 48px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    background-color: var(--color-primary);
    color: #fff;
    transition: all 0.25s ease;
  }

  #bid-modal .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  #bid-modal .btn:active {
    transform: scale(0.96);
    box-shadow: none;
  }

  @media screen and (max-width: 640px) {
    #bid-modal .modal-content {
      width: 90%;
      margin: 50px auto;
    }

    #bid-modal h4 {
      font-size: 1rem;
    }

    #bid-modal h5,
    #bid-modal .warning,
    #bid-modal td span {
      font-size: 0.875rem;
    }

    #bid-modal input[type="number"] {
      width: 100%;
    }

    #bid-modal .btn {
      width: 100%;
      height: 40px;
    }
  }