
/* =========================================================
   Modal
========================================================= */

.bid-modal[hidden] {
  display: none !important;
}

.bid-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.bid-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.bid-modal-inner {
  position: relative;
  z-index: 2;
  width: min(92vw, 520px);
  margin: 60px auto 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.bid-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 9999px;
  background: #f0f0f0;
  color: #333;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.bid-modal-body {
  padding: 24px 22px 22px;
}

.bid-modal-title {
  margin: 0 36px 18px 0;
  font-size: 22px;
  line-height: 1.4;
  color: #111;
}

.bid-modal-meta {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 14px 16px;
  background: #f7f7f7;
  border-radius: 8px;
}

.bid-meta-row {
  font-size: 14px;
  color: #333;
}

.bid-meta-row span {
  font-weight: 700;
}


.bid-step-guide {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  background: #f8f8f8;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
}

.bid-step-guide-title {
  font-weight: bold;
  margin-bottom: 6px;
}

.bid-step-guide-list {
  margin: 0;
  padding-left: 1.2em;
  list-style: none;
}

.bid-step-guide-list li {
  margin: 2px 0;
}


.bid-message {
  min-height: 24px;
  margin: 0 0 14px;
  font-size: 14px;
  color: #b00020;
}

.bid-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bid-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bid-form-row label {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.bid-form-row input[type="number"] {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  color: #111;
  background: #fff;
}

.bid-form-row input[type="number"]:focus {
  outline: none;
  border-color: #777;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.04);
}

.bid-form-actions {
  display: block;
}

.btn-bid-submit {
  width: 100%;
  min-height: 46px;
  border: none;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-bid-submit:hover {
  opacity: 0.88;
}

.btn-bid-submit:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-bid-back {
  width: 100%;
  min-height: 46px;
  border: none;
  border-radius: 6px;
  background: #ddd;
  color: #333;
  font-size: 15px;
  font-weight: 700;
  margin-top: 6px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-bid-back:hover {
  opacity: 0.88;
}

.btn-bid-back:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}


.lot-card.is-closed .lot-image {
  opacity: 0.3;
}

.lot-card.is-closed .lot-image-placeholder {
  opacity: 0.3;
}

.lot-price.is-leading span {
  color: #c40000;
}

.lot-price-note {
  margin-top: 4px;
  font-size: 11px;
  color: #c40000;
  line-height: 1.3;
}

.status-advance-closed {
  background: #ececec;
  color: #666;
  border: 1px solid #d0d0d0;
}

.price-hidden {
  color: #777;
  font-size: 14px;
  font-weight: 400;
}


.bid-input-note{
	font-size:13px;
	line-height: 24px;
	margin-top: 12px;
	margin-bottom: 3px;
}
.bid-input-note2{
	font-size:13px;
	line-height: 24px;
	margin-top: 0px;
	margin-bottom: 12px;
}




@media screen and (max-width: 560px) {

  .bid-modal-inner {
    width: calc(100vw - 24px);
    margin-top: 24px;
  }

  .bid-modal-body {
    padding: 20px 16px 18px;
  }

  .bid-modal-title {
    font-size: 20px;
  }
}

