body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.product-container {
    background: white;
    max-width: 450px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    padding: 20px;
}

.product-header {
    text-align: center;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.product-header img {
    width: 100%;
    border-radius: 10px;
}

.price {
    color: #e67e22;
    font-size: 24px;
    margin: 10px 0;
}

.input-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
}

#submit-btn {
    width: 100%;
    background-color: #2ecc71;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

#submit-btn:hover {
    background-color: #27ae60;
}

#submit-btn:disabled {
    background-color: #95a5a6;
}

.free-delivery-badge {
    background-color: #d4edda; /* হালকা সবুজ রঙ */
    border: 1px solid #c3e6cb;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    animation: pulse 2s infinite; /* নড়াচড়া করবে কাস্টমারের নজর কাড়তে */
}

.free-delivery-badge p {
    margin: 0;
    color: #155724;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
    margin-left: 10px;
}

.free-info {
    font-size: 14px;
    color: #27ae60;
    font-weight: bold;
    margin-top: -10px;
}

/* পালস অ্যানিমেশন */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.summary-container {
  width: 100%;
  max-width: 520px;
}

.summary-card {
  background: #fff;
  border-radius: 15px;
  padding: 22px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.summary-card h1 {
  font-size: 24px;
  margin-top: 0;
  color: #1f8f4d;
}

.summary-subtitle {
  color: #555;
  margin-top: -5px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px dashed #ddd;
  padding: 10px 0;
}

.summary-row span { color: #666; }

.summary-row strong {
  text-align: right;
  color: #222;
}

.summary-note {
  margin-top: 18px;
  font-weight: 600;
  color: #2d3748;
}

.back-link {
  display: inline-block;
  margin-top: 10px;
  color: #2b6cb0;
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover { text-decoration: underline; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f7f6;
  color: #1f2937;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  gap: 18px;
}

.hero {
  background: #111827;
  color: white;
  padding: 20px;
  border-radius: 12px;
}

.admin-link {
  display: inline-block;
  margin-top: 10px;
  background: #10b981;
  color: white;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 5px 16px rgba(0,0,0,0.08);
}

.auth-panel {
  display: grid;
  gap: 10px;
}
.auth-form {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: #f9fafb;
  border-radius: 8px;
}

input, select, textarea, button {
  font: inherit;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
}

button {
  background: #2563eb;
  color: white;
  border: 0;
  cursor: pointer;
}

.ghost-btn {
  display: none;
  background: #4b5563;
}

.danger-btn {
  background: #dc2626;
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.product-card img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.input-group { margin-bottom: 10px; }
.muted { color: #6b7280; }
.current-user { font-weight: 600; color: #0f766e; }

.order-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  background: #f9fafb;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
th, td {
  border: 1px solid #e5e7eb;
  padding: 8px;
  text-align: left;
}
th {
  background: #111827;
  color: white;
}

.summary-container {
  width: 100%;
  max-width: 600px;
  margin: 40px auto;
  padding: 0 16px;
}

.summary-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px dashed #ddd;
  padding: 9px 0;
}

.summary-subtitle, .summary-note { color: #4b5563; }
.back-link { color: #2563eb; text-decoration: none; }
