/* =============================================
  DINE-SYNC CAFETERIA MANAGEMENT SYSTEM
   Shared Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

/* ---- CSS Variables ---- */
:root {
  --crimson:       #000000;
  --crimson-dark:  #0023a1;
  --crimson-light: #9d97ea;
  --gold:          #7bff00;
  --gold-dark:     #0008ff;
  --gold-light:    #ff624d;
  --dark:          #1a1a2e;
  --dark-2:        #16213e;
  --dark-3:        #0f3460;
  --surface:       #ffffff;
  --surface-2:     #f8f9fa;
  --surface-3:     #f0f2f5;
  --border:        #e2e8f0;
  --border-2:      #cbd5e0;
  --text-primary:  #1a202c;
  --text-secondary:#4a5568;
  --text-muted:    #718096;
  --text-light:    #a0aec0;
  --success:       #38a169;
  --success-light: #c6f6d5;
  --warning:       #d69e2e;
  --warning-light: #fefcbf;
  --danger:        #e53e3e;
  --danger-light:  #fed7d7;
  --info:          #3182ce;
  --info-light:    #bee3f8;
  --sidebar-w:     260px;
  --header-h:      70px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-sm:     8px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:        0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.06);
  --shadow-md:     0 8px 30px rgba(0,0,0,.12);
  --shadow-lg:     0 20px 60px rgba(0,0,0,.15);
  --transition:    all .25s cubic-bezier(.4,0,.2,1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-primary);
  background: var(--surface-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface-3); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--crimson); }

/* =============================================
   LAYOUT
   ============================================= */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ---- Sidebar ---- */
.sidebar {
  width: var(--sidebar-w);
  background: linear-gradient(160deg, var(--crimson-dark) 0%, var(--dark) 100%);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: var(--transition);
  overflow: hidden;
}
.sidebar::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 20%, rgba(255,215,0,.06) 0%, transparent 60%);
  pointer-events: none;
}
.sidebar-brand {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255,215,0,.3);
  overflow: hidden;
}
.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ছবি পুরো বক্স কভার করবে, বিকৃতি এড়াতে */
  object-position: center;
  display: block;
}

.brand-text { flex: 1; overflow: hidden; }
.brand-name {
  font-size: 13px; font-weight: 700;
  color: #fff; letter-spacing: .5px;
  white-space: nowrap;
}
.brand-sub {
  font-size: 10px; color: rgba(255,255,255,.5);
  letter-spacing: .3px;
}
.sidebar-nav { flex: 1; padding: 16px 0; overflow-y: auto; }
.nav-section-label {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,.3);
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 8px 20px 4px;
  margin-top: 8px;
}
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 20px;
  color: rgba(255,255,255,.65);
  font-size: 13.5px; font-weight: 500;
  border-radius: 0;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}
.nav-item:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.nav-item.active {
  color: var(--gold);
  background: rgba(255,215,0,.1);
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px;
  background: var(--gold);
  border-radius: 0 3px 3px 0;
}
.nav-item i { width: 18px; text-align: center; font-size: 15px; }
.nav-badge {
  margin-left: auto;
  background: var(--gold);
  color: var(--crimson);
  font-size: 10px; font-weight: 700;
  padding: 1px 7px; border-radius: 20px;
}
.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.user-card {
  display: flex; align-items: center; gap: 10px;
}
.user-avatar {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--crimson);
  flex-shrink: 0;
}
.user-info { flex: 1; overflow: hidden; }
.user-name {
  font-size: 12.5px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.user-role { font-size: 10.5px; color: rgba(255,255,255,.4); }
.btn-logout {
  background: none; border: none;
  color: rgba(255,255,255,.4);
  font-size: 16px; padding: 4px;
  transition: var(--transition);
}
.btn-logout:hover { color: var(--danger); }

/* ---- Main Content ---- */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex; flex-direction: column;
  min-height: 100vh;
}
.topbar {
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 32px;
  gap: 16px;
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow-sm);
}
.topbar-title {
  flex: 1;
  font-size: 17px; font-weight: 700; color: var(--text-primary);
}
.topbar-subtitle {
  font-size: 12px; color: var(--text-muted); font-weight: 400;
}
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.btn-icon {
  width: 38px; height: 38px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-icon:hover { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.topbar-date {
  font-size: 12px; color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
}
.page-body { padding: 28px 32px; flex: 1; }
.hamburger {
  display: none;
  background: none; border: none;
  font-size: 20px; color: var(--text-secondary);
  cursor: pointer;
}

/* =============================================
   COMPONENTS
   ============================================= */

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 600;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--crimson);
  color: #fff;
  border-color: var(--crimson);
  box-shadow: 0 4px 12px rgba(139,0,0,.25);
}
.btn-primary:hover {
  background: var(--crimson-dark);
  border-color: var(--crimson-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(139,0,0,.35);
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(255,215,0,.3);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--crimson);
  border-color: var(--crimson);
}
.btn-outline:hover {
  background: var(--crimson);
  color: #fff;
}
.btn-danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.btn-danger:hover { background: #c53030; }
.btn-ghost {
  background: var(--surface-2);
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--border); color: var(--text-primary); }
.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: var(--radius); }
.btn-full { width: 100%; }
.btn-loading { pointer-events: none; opacity: .7; }
.btn-loading .btn-text { display: none; }
.btn-loading::after {
  content: '';
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

/* ---- Cards ---- */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.card-title {
  font-size: 15px; font-weight: 700; color: var(--text-primary);
}
.card-subtitle {
  font-size: 12px; color: var(--text-muted); margin-top: 2px;
}

/* ---- Stat Cards ---- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: flex-start; gap: 16px;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  border-radius: 0 var(--radius-lg) 0 80px;
  opacity: .06;
}
.stat-card.crimson::after { background: var(--crimson); }
.stat-card.gold::after { background: var(--gold); }
.stat-card.green::after { background: var(--success); }
.stat-card.blue::after { background: var(--info); }
.stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.stat-card.crimson .stat-icon { background: rgba(139,0,0,.1); color: var(--crimson); }
.stat-card.gold .stat-icon { background: rgba(255,215,0,.15); color: #b8860b; }
.stat-card.green .stat-icon { background: rgba(56,161,105,.1); color: var(--success); }
.stat-card.blue .stat-icon { background: rgba(49,130,206,.1); color: var(--info); }
.stat-body { flex: 1; }
.stat-value {
  font-size: 28px; font-weight: 800; line-height: 1;
  color: var(--text-primary); margin-bottom: 4px;
}
.stat-label { font-size: 12.5px; color: var(--text-muted); font-weight: 500; }
.stat-change {
  font-size: 11px; margin-top: 6px;
  display: flex; align-items: center; gap: 3px;
}
.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* ---- Tables ---- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
table {
  width: 100%; border-collapse: collapse;
  font-size: 13.5px;
}
thead {
  background: var(--surface-2);
}
th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11.5px; font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .5px; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--surface-2); }

/* ---- Badges ---- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 600;
}
.badge-confirmed, .badge-success { background: var(--success-light); color: #276749; }
.badge-cancelled, .badge-danger { background: var(--danger-light); color: #9b2c2c; }
.badge-pending, .badge-warning { background: var(--warning-light); color: #744210; }
.badge-info { background: var(--info-light); color: #2c5282; }

/* ---- Forms ---- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 12.5px; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 7px; letter-spacing: .2px;
}
.form-label span { color: var(--danger); }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text-primary);
  background: #fff;
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(139,0,0,.1);
}
.form-control.error { border-color: var(--danger); }
.form-control::placeholder { color: var(--text-light); }
.form-hint { font-size: 11.5px; color: var(--text-muted); margin-top: 5px; }
.form-error { font-size: 11.5px; color: var(--danger); margin-top: 5px; }
.input-group {
  display: flex; position: relative;
}
.input-icon {
  position: absolute;
  left: 13px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 14px;
  pointer-events: none;
}
.input-icon-right {
  position: absolute;
  right: 13px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 14px;
  cursor: pointer;
}
.input-group .form-control { padding-left: 40px; }
.input-group.has-right .form-control { padding-right: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- Alerts ---- */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 16px;
  border-left: 4px solid;
}
.alert-success { background: var(--success-light); border-color: var(--success); color: #276749; }
.alert-danger { background: var(--danger-light); border-color: var(--danger); color: #9b2c2c; }
.alert-warning { background: var(--warning-light); border-color: var(--warning); color: #744210; }
.alert-info { background: var(--info-light); border-color: var(--info); color: #2c5282; }
.alert i { margin-top: 1px; font-size: 15px; }

/* ---- Modals ---- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%; max-width: 480px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.97);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal-header {
  padding: 24px 24px 0;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.modal-title { font-size: 18px; font-weight: 700; }
.modal-close {
  background: none; border: none;
  font-size: 20px; color: var(--text-muted);
  cursor: pointer; padding: 2px;
  transition: var(--transition);
}
.modal-close:hover { color: var(--danger); }
.modal-body { padding: 20px 24px; }
.modal-footer {
  padding: 0 24px 24px;
  display: flex; gap: 12px; justify-content: flex-end;
}

/* ---- Loader ---- */
.loader-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
}
.loader {
  width: 48px; height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--crimson);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.loader-text { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ---- Toast ---- */
.toast-container {
  position: fixed; top: 20px; right: 20px;
  z-index: 10000;
  display: flex; flex-direction: column; gap: 10px;
  max-width: 340px;
}
.toast {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid;
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px;
  transform: translateX(100%);
  animation: slideInRight .3s ease forwards;
}
.toast.removing { animation: slideOutRight .3s ease forwards; }
.toast-success { border-color: var(--success); }
.toast-danger, .toast-error { border-color: var(--danger); }
.toast-warning { border-color: var(--warning); }
.toast-info { border-color: var(--info); }
.toast-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.toast-success .toast-icon { color: var(--success); }
.toast-danger .toast-icon, .toast-error .toast-icon { color: var(--danger); }
.toast-warning .toast-icon { color: var(--warning); }
.toast-info .toast-icon { color: var(--info); }
.toast-message { flex: 1; }
.toast-title { font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.toast-body { color: var(--text-muted); font-size: 12px; }
.toast-close { color: var(--text-muted); background: none; border: none; font-size: 14px; cursor: pointer; }

/* ---- Toggle / Switch ---- */
.toggle-wrap {
  display: flex; align-items: center; gap: 12px;
}
.toggle {
  position: relative; width: 44px; height: 24px; flex-shrink: 0;
}
.toggle input { display: none; }
.toggle-slider {
  position: absolute; inset: 0;
  background: var(--border-2);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 3px; left: 3px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.toggle input:checked + .toggle-slider { background: var(--crimson); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-label { font-size: 13.5px; font-weight: 500; color: var(--text-secondary); }

/* ---- Empty State ---- */
.empty-state {
  text-align: center; padding: 60px 20px;
}
.empty-icon {
  font-size: 56px; color: var(--text-light);
  margin-bottom: 16px;
}
.empty-title { font-size: 17px; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; }
.empty-text { font-size: 13.5px; color: var(--text-muted); max-width: 320px; margin: 0 auto 20px; }

/* ---- Availability Indicator ---- */
.availability-bar { margin: 8px 0; }
.avail-track {
  height: 8px; border-radius: 4px;
  background: var(--surface-3);
  overflow: hidden;
}
.avail-fill {
  height: 100%; border-radius: 4px;
  transition: width .5s ease;
}
.avail-fill.high { background: var(--success); }
.avail-fill.medium { background: var(--warning); }
.avail-fill.low { background: var(--danger); }
.avail-label {
  font-size: 11px; color: var(--text-muted);
  display: flex; justify-content: space-between;
  margin-top: 4px;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(110%); opacity: 0; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.fade-up { animation: fadeUp .4s ease both; }
.fade-up-1 { animation-delay: .05s; }
.fade-up-2 { animation-delay: .1s; }
.fade-up-3 { animation-delay: .15s; }
.fade-up-4 { animation-delay: .2s; }
.fade-up-5 { animation-delay: .25s; }

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, #f0f2f5 25%, #e2e8f0 50%, #f0f2f5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }
  .sidebar {
    transform: translateX(-260px);
    width: 260px;
  }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .hamburger { display: block; }
  .page-body { padding: 20px 16px; }
  .topbar { padding: 0 16px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* =============================================
   UTILITY
   ============================================= */
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-sm { font-size: 12px; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.font-700 { font-weight: 700; }
.w-100 { width: 100%; }
.hidden { display: none !important; }
.overlay-blocker {
  position: fixed; inset: 0; z-index: 90;
  display: none;
}
.overlay-blocker.active { display: block; }

.food-item-card {
  transition: all 0.2s ease;
}
.food-item-card:hover {
  border-color: var(--crimson) !important;
  background: rgba(139,0,0,0.05);
}
.food-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.total-amount {
  border-top: 2px dashed var(--border);
  padding-top: 12px;
}

/* Enhanced Tips Section – attention card */
.tips-box {
  background: linear-gradient(135deg, #ffffff 0%, #0039bd 100%);
  border-left: px solid var(--crimson);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-top: 24px;
  box-shadow: 0 8px 20px rgba(255, 0, 170, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tips-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgb(50, 42, 42);
}
.tips-box h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--crimson);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 6px;
}
.tips-box ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.tips-box li {
  font-size: 13px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1e1515;
}
.tips-box li i {
  width: 24px;
  color: var(--crimson);
  font-size: 16px;
  text-align: center;
}
.tips-box li:last-child {
  margin-bottom: 0;
}

.tips-box li .emoji {
  display: inline-block;
  width: 28px;          /* ইমোজিগুলির জন্য ফিক্সড প্রস্থ */
  text-align: center;
  font-size: 1.1rem;
}