*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background-color: #f1f5f9;
  color: #1e293b;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
}

a {
  color: #2563eb;
  text-decoration: none;
}
a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1e293b;
}

.navbar {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 0.75rem 0;
}
.navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: #2563eb !important;
  letter-spacing: -0.02em;
}
.navbar .navbar-brand:hover {
  color: #1d4ed8 !important;
  text-decoration: none;
}
.navbar .nav-link {
  color: #64748b !important;
  font-weight: 500;
  padding: 0.35rem 0.75rem !important;
  border-radius: 0.5rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.navbar .nav-link:hover {
  color: #2563eb !important;
  background: rgba(37, 99, 235, 0.06);
}
.navbar .nav-link.active {
  color: #2563eb !important;
  background: rgba(37, 99, 235, 0.1);
}
.navbar .badge-group {
  font-size: 0.72rem;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  padding: 0.2rem 0.5rem;
  border-radius: 2rem;
}

.container.mt-4 {
  padding-top: 1.75rem !important;
}

.card {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  background: #ffffff;
}
.card .card-body {
  padding: 1.25rem 1.5rem;
}
.card .card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.btn {
  border-radius: 0.5rem;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: #2563eb;
  border-color: #2563eb;
}
.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 0.3rem 0.65rem;
}

.category-list {
  margin: 0;
  padding: 0;
}
.category-list li {
  border-radius: 0.5rem;
  overflow: hidden;
}
.category-list li a {
  display: block;
  padding: 0.45rem 0.75rem;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.category-list li a:hover {
  background: rgba(37, 99, 235, 0.06);
  color: #2563eb;
  text-decoration: none;
}
.category-list li.active a {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-weight: 600;
}

.product-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #ffffff;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  margin-bottom: 1.25rem;
}
.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: #f8fafc;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.product-image:hover img {
  transform: scale(1.05);
}
.product-image .product-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.45));
  display: flex;
  gap: 0.35rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.product-image:hover .product-btn {
  opacity: 1;
}

.product-info {
  padding: 0.65rem 0.8rem 0.8rem;
}
.product-info .product-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}
.product-info .product-name a {
  color: #1e293b;
}
.product-info .product-name a:hover {
  color: #2563eb;
  text-decoration: none;
}
.product-info .product-price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #2563eb;
  margin-top: 0.3rem;
}
.product-info .small.text-muted {
  font-size: 0.75rem;
}

.thumb-wrap {
  position: relative;
  width: 130px;
  display: inline-block;
  border-radius: 0.5rem;
  overflow: hidden;
}
.thumb-wrap img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #ffffff;
  transition: opacity 0.2s ease;
}
.thumb-wrap .thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 10;
  border-radius: 0.5rem;
}
.thumb-wrap .thumb-overlay form {
  margin: 0;
}
.thumb-wrap .thumb-overlay .btn {
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  line-height: 1;
}
.thumb-wrap:hover .thumb-overlay {
  opacity: 1;
}

@media (max-width: 576px) {
  .thumb-wrap, .thumb-wrap img {
    width: 90px;
    height: 90px;
  }
}
.list-group-item {
  border-color: #e2e8f0;
  padding: 0.75rem 1rem;
  transition: background 0.2s ease;
}
.list-group-item:first-child {
  border-radius: 0.75rem 0.75rem 0 0;
}
.list-group-item:last-child {
  border-radius: 0 0 0.75rem 0.75rem;
}
.list-group-item:hover {
  background: #f8fafc;
}
.list-group-item.inactive {
  background-color: #f8fafc;
  color: #64748b;
}
.list-group-item.inactive .user-name, .list-group-item.inactive .user-name .small {
  color: #64748b;
}
.list-group-item.inactive .btn {
  opacity: 0.55;
}

.table {
  font-size: 0.875rem;
  border-color: #e2e8f0;
}
.table thead th {
  background: #f8fafc;
  color: #64748b;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid #e2e8f0;
  padding: 0.6rem 0.75rem;
}
.table tbody td {
  vertical-align: middle;
  padding: 0.65rem 0.75rem;
  border-color: #e2e8f0;
}
.table tbody tr:hover td {
  background: #f8fafc;
}

.badge {
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.3em 0.6em;
  border-radius: 0.35rem;
  letter-spacing: 0.02em;
}

.alert {
  border-radius: 0.5rem;
  border: 1px solid transparent;
  font-size: 0.875rem;
}

.form-control, .form-select {
  border-color: #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 0.35rem;
}

h2.mb-0 {
  font-size: 1.35rem;
  font-weight: 700;
}

.login-card {
  max-width: 420px;
  margin: 7vh auto;
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.login-card .card-body {
  padding: 2rem 2.25rem;
}
.login-card .login-logo {
  text-align: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}

footer {
  margin-top: 3rem;
  padding: 1.25rem 0;
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
}

.cke_notification_warning {
  display: none;
}

/*# sourceMappingURL=style.css.map */
