/* =========================================================
   Pages
   ========================================================= */

.checkout-page {
  max-width: 600px;
  margin: auto;
  padding: 20px;
}

.checkout-page form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.checkout-page label {
  display: flex;
  flex-direction: column;
  font-weight: bold;
}

.checkout-page input, .checkout-page textarea {
  padding: 8px;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.checkout-summary {
  background: #f4f4f4;
  padding: 10px;
  border-radius: var(--radius);
}

.checkout-summary ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

.checkout-page button {
  padding: 12px;
  background: var(--success);
  transition: background-color 0.2s;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.cart-page {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.cart-item img {
  border-radius: 10px;
}

.cart-summary {
  margin-top: 20px;
  text-align: right;
}

.cart-summary button {
  padding: 10px 15px;
  background: var(--success);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.auth-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-container input {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.auth-container button {
  padding: 10px;
  font-weight: bold;
  border-radius: var(--radius);
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
}

.admin-container {
  max-width: 500px;
  margin: 40px auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.admin-container input, .admin-container select {
  padding: 8px 12px;
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.admin-container button {
  padding: 12px 18px;
  background: var(--success);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  margin-top: 15px;
}

.cart-page button {
  transition: background-color 0.2s;
}

.cart-page button:hover, .checkout-page button:hover {
  background-color: #e5e7eb;
}