/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #f6f9fc;
  font-family: Arial, sans-serif;
  color: #333;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
}

/* Topbar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0077b6;
  padding: 15px 30px;
  color: white;
}
.topbar .left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar .logo {
  height: 50px;
}
.topbar .app-title {
  font-size: 24px;
  font-weight: bold;
}
.topbar .right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar .btn {
  padding: 6px 14px;
  font-size: 14px;
}

/* Page Layout */
.page-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
}
.centered {
  justify-content: center;
  align-items: center;
  height: calc(100vh - 80px);
}

/* Panels */
.panel {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.panel h2, .panel h3 {
  margin-bottom: 10px;
}

/* Forms */
.input-field {
  width: 100%;
  padding: 10px;
  margin: 10px 0 15px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.btn {
  background: #0077b6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.btn:hover {
  background: #023e8a;
}

/* Toast Notifications */
.toast-wrap {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}
.toast {
  padding: 12px 18px;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  animation: fadeIn 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
}
.toast.success {
  background: #28a745;
}
.toast.error {
  background: #dc3545;
}
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}
@keyframes fadeOut {
  to {opacity: 0; transform: translateY(-10px);}
}

/* Product Card */
.product-card {
  display: flex;
  gap: 20px;
  align-items: center;
}
.product-img {
  width: 200px;
  border-radius: 8px;
}
.offer {
  color: green;
  font-weight: bold;
}
.order-buttons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}
