/* Auction Form Styles */
.auction-form-wrapper {
  margin: 20px 0;
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
}

.auction-price-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auction-current-bid {
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
}

.auction-bid-count {
  font-size: 14px;
  color: #666;
}

.auction-info {
  margin-bottom: 20px;
  padding: 15px;
  background: white;
  border-radius: 5px;
}

.auction-info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.auction-info-row:last-child {
  border-bottom: none;
}

.auction-info-row .label {
  font-weight: 600;
  color: #555;
}

.auction-info-row .value {
  color: #2c3e50;
}

.auction-bid-form {
  margin-bottom: 20px;
}

.bid-input-group {
  margin-bottom: 15px;
}

.bid-input-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.bid-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.bid-input-wrapper .currency-symbol {
  position: absolute;
  left: 12px;
  font-weight: bold;
  color: #666;
}

.bid-input-wrapper input[type="number"] {
  width: 100%;
  padding: 12px 12px 12px 35px;
  font-size: 18px;
  border: 2px solid #ddd;
  border-radius: 5px;
}

.bid-input-wrapper input[type="number"]:focus {
  border-color: #007cba;
  outline: none;
}

.bid-help-text {
  display: block;
  margin-top: 5px;
  color: #666;
  font-size: 12px;
}

.bid-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.auction-place-bid,
.auction-buy-now {
  flex: 1;
  min-width: 150px;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.auction-place-bid {
  background: #ff2800 !important;
  color: white;
  border: none;
}

.auction-place-bid:hover {
  background: #005a87;
}

.auction-buy-now {
  background: #ff6b35;
  color: white;
  border: none;
}

.auction-buy-now:hover {
  background: #e55a2b;
}

.auction-messages {
  margin-top: 15px;
}

.auction-message {
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.auction-message.success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.auction-message.error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.auction-login-required {
  text-align: center;
  padding: 20px;
}

.auction-bid-history {
  margin-top: 30px;
  display: none;
}

.auction-bid-history.active{
  display: block;
}

.auction-bid-history h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.auction-bid-history-table {
  width: 100%;
  background: white;
  border-collapse: collapse;
}

.auction-bid-history-table th,
.auction-bid-history-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.auction-bid-history-table th {
  background: #f5f5f5;
  font-weight: 600;
}

.no-bids {
  text-align: center;
  color: #999;
  padding: 20px;
}

.auction-ended-notice {
  text-align: center;
  padding: 15px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 5px;
}

.auction-ended-notice p:last-of-type {
  margin-bottom: 0;
}

.auction-not-active {
  text-align: center;
  padding: 15px;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
}

.auction-not-active p {
  margin: 0;
}

.auction-winner {
  text-align: center;
  padding: 15px;
  background: #87b884;
  border: 1px solid #507e4c;
  border-radius: 5px;
}

.auction-winner p {
  margin: 0;
}
