:root{
  --brand:#0d6efd;
  --brand-600:#0b5ed7;
  --brand-700:#0a58ca;
  --brand-50:#e7f1ff;
  --ink:#0f172a;
  --ink-soft:#1f2937;
  --muted:#64748b;
  --muted-2:#94a3b8;
  --bg:#f5f7fb;
  --card:#ffffff;
  --border:rgba(2,6,23,.08);
}

/* Background gradient for the app */
.bg-app{
  background: radial-gradient(1200px 600px at 10% -10%, var(--brand-50), transparent 40%),
              radial-gradient(1200px 800px at 110% 10%, #eef6ff, transparent 40%),
              var(--bg);
  min-height: 100vh;
}

/* Navbar brand dot */
.brand-dot{
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  box-shadow: 0 0 0 3px rgba(13,110,253,.15);
}

/* Content container */
.content-area{
  margin-top: 1.25rem;
}

/* Cards */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(2,6,23,.05);
  border-radius: 14px;
  overflow: hidden;
}
.card:hover{ box-shadow: 0 14px 30px rgba(2,6,23,.08); transform: translateY(-1px); transition: all .2s ease; }
.card .card-title{
  color: var(--ink);
}
.card .card-text{
  color: var(--muted);
}

/* Navbar */
.navbar{ border-bottom: 1px solid rgba(255,255,255,.06); }
.navbar .nav-link{ color: rgba(255,255,255,.85); }
.navbar .nav-link:hover, .navbar .nav-link.active{ color:#fff; }

/* Buttons */
.btn-primary{
  background: linear-gradient(180deg, var(--brand), var(--brand-600));
  border: none;
}
.btn-primary:hover{ filter: brightness(.98); }
.btn-outline-light{ border-color: rgba(255,255,255,.6); color:#fff; }
.btn{ border-radius: 10px; }

/* Footer */
.app-footer{ opacity:.8; }

/* Forms */
.form-control{
  border-color: rgba(2,6,23,.12);
  border-radius: 10px;
}
.form-control:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.15);
}

/* Tables */
.table thead th{ color: var(--muted); font-weight: 600; border-bottom-color: var(--border); }
.table tbody td{ vertical-align: middle; }
.product-thumb{ width:56px; height:56px; object-fit:cover; border-radius:6px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.product-thumb.placeholder{ display:inline-block; background:#f0f3f9; width:56px; height:56px; border-radius:6px; }

/* Utilities */
.shadow-sm{ box-shadow: 0 10px 24px -12px rgba(0,0,0,.15)!important; }

/* Headings & text */
h1,h2,h3,h4,h5,h6{ color: var(--ink); }
p, .text-muted{ color: var(--muted); }

/* Pagination */
.pagination .page-link{ border: 1px solid var(--border); color: var(--ink-soft); }
.pagination .page-item.active .page-link{ background: var(--brand); border-color: var(--brand); }

/* Offcanvas */
.offcanvas{ border-left: 1px solid var(--border); }
.offcanvas .form-text{ color: var(--muted-2); }

/* Avatars */
.avatar-sm{
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
}
.avatar-fallback{ border-radius: 50%; box-shadow: 0 0 0 3px rgba(13,110,253,.15); }
.avatar-fallback-large{
  width: 120px; height: 120px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  color: #fff; font-size: 3rem; font-weight: 700;
}
