body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f4f6f9;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #34495e;
  padding: 15px 30px;
  color: white;
}

.logo {
  font-weight: 600;
  font-size: 24px;
}

.nav-links li {
  display: inline-block;
  margin-left: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.cart-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cart-container h1 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
}

.cart-item {
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.cart-item p {
  margin: 5px 0;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}

.quantity-controls button {
  padding: 6px 12px;
  font-size: 16px;
  background-color: #2980b9;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.quantity-controls button:hover {
  background-color: #3498db;
}

.quantity-controls span {
  font-weight: 600;
  font-size: 16px;
}

.total-container {
  text-align: right;
  font-size: 22px;
  font-weight: 600;
  color: #2c3e50;
  margin-top: 25px;
}

.back-btn {
  display: block;
  margin: 30px auto 0;
  width: fit-content;
  background-color: #27ae60;
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.back-btn:hover {
  background-color: #2ecc71;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-box {
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.3s ease;
}

.modal-message {
  font-size: 16px;
  margin-bottom: 25px;
}

.modal-actions {
  display: flex;
  justify-content: space-evenly;
  gap: 20px;
}

.modal-actions button {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

#go-login {
  background-color: #3498db;
  color: white;
}

#go-login:hover {
  background-color: #2980b9;
}

#cancel-login {
  background-color: #e0e0e0;
  color: #333;
}

#cancel-login:hover {
  background-color: #c5c5c5;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  background-color: #34495e;
  color: white;
  margin-top: 58px;
}

footer > p {
  font-size: 16px;
}