@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.auction-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auction-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}

.auction-item h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.auction-item p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.current-bid {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.neon-text {
	text-align: center;
    color: #555;
    text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
    }
    100% {
        text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 40px #00d4ff, 0 0 80px #00d4ff, 0 0 160px #00d4ff;
    }
}

form {
  display: grid;
  gap: 10px;
}

label {
  font-size: 0.9rem;
  font-weight: bold;
}

input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  background-color: #0070f3;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0051a2;
}

.error {
  color: #d32f2f;
  font-size: 0.9rem;
}

.success {
  color: #388e3c;
  font-size: 0.9rem;
}

.single-item {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.single-item-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.button {
  display: inline-block;
  background-color: #0070f3;
  color: #fff;
  padding: 10px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #0051a2;
}

/* ... (previous styles remain unchanged) */

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: spin 1s ease infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

footer {
	font-size: 0.9rem;
	color: #666;
	text-align: center;
/*	position: fixed;
	top: 98%;
	left: 50%;
	transform: translate(-50%, -50%);
*/
}

/* Overlay styles for bid submission success */
.overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.overlay.hidden {
  display: none;
}
.overlay-content {
  background: #fff;
  padding: 2em 3em;
  border-radius: 8px;
  text-align: center;
  max-width: 90vw;
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.overlay-content button {
  margin-top: 1.5em;
  padding: 0.5em 2em;
  font-size: 1.1em;
  border-radius: 4px;
  border: none;
  background: #2d8f5a;
  color: #fff;
  cursor: pointer;
}
.overlay-content button:hover {
  background: #237447;
}
