body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.signup-container {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.signup-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #2a5298;
}

.signup-form {
  display: flex;
  flex-direction: column;
}

.form-column {
  opacity: 0;
  transform: translateX(-50px);
  margin-bottom: 15px;
}

.signup-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button {
  background: #2a5298;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #1e3c72;
}


/* LOGIN PAGE */

.signup-container {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.signup-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #2a5298;
}

.signup-form {
  display: flex;
  flex-direction: column;
}

.form-column {
  opacity: 0;
  transform: translateX(-50px);
  margin-bottom: 15px;
  transition: all 0.6s ease;
}

.signup-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button {
  background: #2a5298;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #1e3c72;
}

.form-column.visible {
  opacity: 1;
  transform: translateX(0);
}


/* shop */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.product-card h3 {
  margin: 10px 0;
  font-size: 18px;
  color: #333;
}

.product-card p {
  font-size: 14px;
  color: #666;
  min-height: 50px;
}

.price {
  display: block;
  margin: 10px 0;
  font-weight: bold;
  color: #007bff;
}

button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #0056b3;
}


/* cart */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

th {
  background: #f4f4f4;
}

button {
  background: #dc3545;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #a71d2a;
}

input[type="number"] {
  width: 60px;
  padding: 5px;
  text-align: center;
}
