/*
 * ==================================
 * Jamuna Admin - Light Mode Override
 * Jamuna Design System
 * ==================================
 */

/* ── Fonts ── */
@font-face {
  font-family: "Shurjo";
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url(https://assets.prothomalo.com/prothomalo/assets/ShurjoWeb_400_v5_1.woff2) format('woff2'),
       url(https://assets.prothomalo.com/prothomalo/assets/ShurjoWeb_400_v5_1.woff) format("woff");
}
@font-face {
  font-family: "Shurjo";
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: url(https://assets.prothomalo.com/prothomalo/assets/ShurjoWeb_700_v5_1.woff2) format('woff2'),
       url(https://assets.prothomalo.com/prothomalo/assets/ShurjoWeb_400_v5_1.woff) format("woff");
}

/* ── CSS Variables ── */
:root {
  --j-brand: #9b090d;
  --j-brand-dark: #7a0709;
  --j-brand-light: #c41015;
  --j-brand-soft: rgba(155, 9, 13, 0.08);
  --j-brand-soft2: rgba(155, 9, 13, 0.15);
  --j-bg: #f4f6f9;
  --j-bg-card: #ffffff;
  --j-text: #2d3436;
  --j-text-secondary: #636e72;
  --j-text-muted: #b2bec3;
  --j-border: #e9ecef;
  --j-border-light: #f1f3f5;
  --j-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --j-shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.03);
  --j-shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
  --j-radius: 10px;
  --j-radius-sm: 6px;
  --j-sidebar-w: 260px;
  --j-header-h: 64px;
  --j-transition: all 0.2s ease;
}

/* ── Base ── */
html {
  font-family: "Shurjo", "Roboto", "Segoe UI", sans-serif !important;
}
body {
  font-family: "Shurjo", "Roboto", "Segoe UI", sans-serif !important;
  background: var(--j-bg) !important;
  color: var(--j-text) !important;
  font-size: 14px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Shurjo", "Roboto", sans-serif !important;
  color: var(--j-text) !important;
}
p {
  font-family: "Shurjo", "Roboto", sans-serif !important;
  color: var(--j-text-secondary) !important;
}

/* ── Page Container ── */
.page {
  background: var(--j-bg) !important;
}

/* ══════════════════════════════════════
   HEADER — Modern Clean
   ══════════════════════════════════════ */
.header, .j-header {
  background: var(--j-bg-card) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04) !important;
  border-bottom: none !important;
  height: var(--j-header-h);
  z-index: 100 !important;
  position: sticky !important;
  top: 0 !important;
}

.header .container-fluid { height: 100%; }
.header .container-fluid > .d-flex { height: 100%; }

a.admin-logo img {
  max-height: 46px !important;
  width: auto !important;
  transition: var(--j-transition);
}

/* Hamburger */
.j-hamburger {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  color: var(--j-text-secondary) !important;
  transition: all 0.2s !important;
  padding: 0 !important;
  position: static !important;
  left: auto !important;
  transform: none !important;
}
.j-hamburger:hover {
  background: var(--j-brand-soft) !important;
  color: var(--j-brand) !important;
}

/* Hide old hamburger bars if present */
.j-hamburger .my-toggl-icon { display: none; }

/* Header actions */
.j-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.j-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--j-text-secondary) !important;
  text-decoration: none !important;
  transition: all 0.2s;
  border: 1px solid var(--j-border);
}
.j-header-btn:hover {
  background: var(--j-brand-soft);
  color: var(--j-brand) !important;
  border-color: rgba(155,9,13,0.2);
}

.j-header-divider {
  width: 1px;
  height: 28px;
  background: var(--j-border);
  margin: 0 4px;
}

/* Profile trigger */
.j-profile-trigger {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 6px 10px 6px 6px !important;
  border-radius: 10px !important;
  transition: all 0.2s !important;
  text-decoration: none !important;
}
.j-profile-trigger:hover {
  background: #f8f9fa !important;
}

.j-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.j-avatar img {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  object-fit: cover;
  border: 2px solid var(--j-border) !important;
}
.j-avatar-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid #fff;
}

.j-profile-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.j-profile-name {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--j-text) !important;
}
.j-profile-role {
  font-size: 11px !important;
  color: var(--j-text-muted) !important;
  font-weight: 400;
}

.j-profile-trigger svg {
  color: var(--j-text-muted);
  margin-left: 2px;
}

/* Dropdown */
.j-dropdown {
  border-radius: 14px !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06) !important;
  border: 1px solid var(--j-border) !important;
  width: 260px !important;
  margin-top: 8px !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.j-dropdown .dropdownmenu-wrapper {
  padding: 0 !important;
}

.j-dropdown-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #fafbfc;
  border-bottom: 1px solid var(--j-border-light);
}
.j-dropdown-profile img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}
.j-dropdown-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--j-text);
}
.j-dropdown-email {
  font-size: 11.5px;
  color: var(--j-text-muted);
}

.j-dropdown-menu {
  padding: 8px;
}
.j-dropdown-menu a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  font-size: 13.5px !important;
  color: var(--j-text-secondary) !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  transition: all 0.15s !important;
}
.j-dropdown-menu a:hover {
  background: var(--j-brand-soft) !important;
  color: var(--j-brand) !important;
}
.j-dropdown-menu a i {
  width: 18px;
  text-align: center;
  color: var(--j-text-muted);
  font-size: 13px;
}

.j-dropdown-footer {
  padding: 8px;
  border-top: 1px solid var(--j-border-light);
}
.j-logout-btn {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  font-size: 13.5px !important;
  color: #dc2626 !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  transition: all 0.15s !important;
  width: 100%;
}
.j-logout-btn:hover {
  background: #fef2f2 !important;
}
.j-logout-btn i {
  width: 18px;
  text-align: center;
  font-size: 13px;
}

/* ══════════════════════════════════════
   SIDEBAR — Dark Premium
   ══════════════════════════════════════ */
#sidebar, .j-sidebar {
  min-width: var(--j-sidebar-w) !important;
  max-width: var(--j-sidebar-w) !important;
  background: #1e293b !important;
  box-shadow: 2px 0 8px rgba(0,0,0,0.1) !important;
  border-right: none !important;
  display: flex;
  flex-direction: column;
}

#sidebar::after {
  background: #1e293b !important;
}

/* Sidebar brand */
.j-sidebar-brand {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.j-sidebar-logo {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}
.j-sidebar-close {
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: all 0.2s;
}
.j-sidebar-close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Navigation list */
#sidebar ul.components {
  background: transparent !important;
  padding: 8px 0 16px !important;
  flex: 1;
  overflow-y: auto;
}

/* Section labels */
.j-sidebar-section {
  pointer-events: none;
  padding: 20px 20px 6px !important;
  list-style: none;
}

.j-sidebar-section:first-child {
  padding-top: 14px !important;
}

.j-section-label {
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: rgba(255,255,255,0.3) !important;
  font-family: "Shurjo", sans-serif !important;
}

/* Nav links */
#sidebar ul li a {
  color: rgba(255,255,255,0.6) !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  padding: 9px 16px 9px 20px !important;
  border-radius: 0 !important;
  transition: all 0.2s ease !important;
  border-left: 3px solid transparent;
  display: flex;
  align-items: center;
}

#sidebar ul li a i {
  color: rgba(255,255,255,0.35) !important;
  width: 22px;
  font-size: 14px;
  text-align: center;
  margin-right: 10px !important;
  transition: all 0.2s;
}

/* Hover state */
#sidebar ul li > a:hover {
  background: rgba(255,255,255,0.05) !important;
  color: rgba(255,255,255,0.95) !important;
  border-left-color: transparent !important;
}

#sidebar ul li > a:hover i {
  color: rgba(255,255,255,0.7) !important;
}

/* Active state */
#sidebar ul li > a.active,
#sidebar ul li.active > a {
  background: rgba(155,9,13,0.2) !important;
  color: #fff !important;
  font-weight: 500 !important;
  border-left-color: var(--j-brand) !important;
}

#sidebar ul li > a.active i,
#sidebar ul li.active > a i {
  color: var(--j-brand-light) !important;
}

/* Submenu items */
#sidebar ul ul {
  background: rgba(0,0,0,0.1) !important;
}

#sidebar ul ul a {
  font-size: 12.5px !important;
  padding: 8px 20px 8px 50px !important;
  color: rgba(255,255,255,0.45) !important;
}

#sidebar ul > li > ul > li a:hover {
  background: rgba(255,255,255,0.03) !important;
  color: rgba(255,255,255,0.9) !important;
}

#sidebar ul > li > ul > li a:hover span {
  color: rgba(255,255,255,0.9) !important;
}

#sidebar ul.collapse li a:hover {
  color: rgba(255,255,255,0.9) !important;
}

/* Collapse arrows */
#sidebar li a[aria-expanded="false"]::before,
#sidebar li a[aria-expanded="true"]::before {
  color: rgba(255,255,255,0.25) !important;
  right: 16px !important;
  font-size: 14px !important;
}

#sidebar li a[aria-expanded="true"]::before {
  color: var(--j-brand-light) !important;
}

/* Sidebar footer */
.j-sidebar-footer {
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: auto;
}
.j-sidebar-footer-info {
  font-size: 10px;
  color: rgba(255,255,255,0.2);
}

/* Sidebar overlay */
#sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  cursor: pointer;
  backdrop-filter: blur(2px);
}

/* Sidebar toggle position — needs to work with dark sidebar */
.page .header .menu-toggle-button .nav-link {
  left: auto !important;
  position: static !important;
  transform: none !important;
}

#sidebar.active {
  margin-left: calc(-1 * var(--j-sidebar-w)) !important;
}

/* ══════════════════════════════════════
   CONTENT AREA
   ══════════════════════════════════════ */
.wrapper {
  overflow-x: hidden;
}

.content-area {
  padding: 20px 24px 30px !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow-x: hidden !important;
}

/* ── Modern Page Header (jd- prefix) ── */
.jd-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.jd-page-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1a1a2e !important;
  margin: 0 0 2px !important;
}

.jd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #8c8c9a;
}

.jd-breadcrumb a {
  color: #8c8c9a;
  text-decoration: none;
  transition: color 0.2s;
}

.jd-breadcrumb a:hover {
  color: var(--j-brand);
}

.jd-breadcrumb span.active {
  color: var(--j-brand);
  font-weight: 500;
}

.jd-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  overflow: hidden;
}

/* ── Breadcrumb (global — affects all pages) ── */
.mr-breadcrumb {
  padding: 0 0 16px !important;
  margin-bottom: 20px;
  border-bottom: none !important;
}

.mr-breadcrumb .heading {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--j-text) !important;
  margin-bottom: 2px !important;
}

.mr-breadcrumb .links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.mr-breadcrumb .links li a {
  color: var(--j-text-muted) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

.mr-breadcrumb .links li a:hover {
  color: var(--j-brand) !important;
}

.mr-breadcrumb .links li a::after {
  color: var(--j-text-muted) !important;
  content: '/' !important;
  margin: 0 4px !important;
}

.mr-breadcrumb .links li:last-child a {
  color: var(--j-brand) !important;
  font-weight: 500 !important;
}

.mr-breadcrumb .links li:last-child a::after {
  content: '' !important;
}

/* ── Product area (list pages global) ── */
.product-area {
  background: var(--j-bg-card) !important;
  border-radius: var(--j-radius) !important;
  border: 1px solid var(--j-border) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;
  overflow: hidden;
}

.product-area .btn-area {
  padding: 16px 24px !important;
  border-bottom: 1px solid var(--j-border-light) !important;
  background: transparent !important;
}

.product-area .btn-area .add-btn {
  background: var(--j-brand) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  border: none !important;
  box-shadow: 0 2px 8px rgba(155,9,13,0.15) !important;
}

.product-area .btn-area .add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(155,9,13,0.25) !important;
}

.product-area .mr-table {
  padding: 0 !important;
}

/* ── Form pages (add/edit) global ── */
.add-product-content {
  background: var(--j-bg-card) !important;
  border-radius: var(--j-radius) !important;
  border: 1px solid var(--j-border) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;
  overflow: hidden;
}

.product-description .body-area {
  padding: 28px 32px !important;
}

/* Form field labels */
.left-area h4.heading {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--j-text) !important;
  margin-bottom: 4px !important;
}

.left-area .sub-heading {
  font-size: 11.5px !important;
  color: var(--j-text-muted) !important;
  font-weight: 400 !important;
}

/* Form inputs */
.input-field,
.product-description .body-area input[type="text"],
.product-description .body-area input[type="email"],
.product-description .body-area input[type="number"],
.product-description .body-area input[type="password"],
.product-description .body-area input[type="url"] {
  border: 1.5px solid #e4e7ec !important;
  border-radius: 10px !important;
  padding: 10px 16px !important;
  font-size: 13.5px !important;
  color: var(--j-text) !important;
  background: #fff !important;
  transition: all 0.2s !important;
  height: 44px !important;
}

.input-field:focus,
.product-description .body-area input:focus {
  border-color: var(--j-brand) !important;
  box-shadow: 0 0 0 3px rgba(155,9,13,0.06) !important;
  outline: none !important;
}

/* Textareas */
.product-description .body-area textarea,
.tawk-area textarea {
  border: 1.5px solid #e4e7ec !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: 13.5px !important;
  color: var(--j-text) !important;
  background: #fff !important;
  transition: all 0.2s !important;
  min-height: 100px;
  resize: vertical;
  width: 100%;
}

.product-description .body-area textarea:focus,
.tawk-area textarea:focus {
  border-color: var(--j-brand) !important;
  box-shadow: 0 0 0 3px rgba(155,9,13,0.06) !important;
  outline: none !important;
}

/* Select dropdowns */
.product-description .body-area select,
.nice-select {
  border: 1.5px solid #e4e7ec !important;
  border-radius: 10px !important;
  padding: 10px 16px !important;
  font-size: 13.5px !important;
  color: var(--j-text) !important;
  background: #fff !important;
  height: 44px !important;
}

/* Submit button */
.addProductSubmit-btn {
  background: var(--j-brand) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 12px 32px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.2s !important;
  box-shadow: 0 2px 8px rgba(155,9,13,0.15) !important;
}

.addProductSubmit-btn:hover {
  background: #800008 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(155,9,13,0.25) !important;
}

/* Toggle droplinks */
.droplinks {
  border-radius: 8px !important;
  font-size: 13px !important;
  padding: 6px 14px !important;
}

/* ══════════════════════════════════════
   CARDS
   ══════════════════════════════════════ */
.card {
  background: var(--j-bg-card) !important;
  border: 1px solid var(--j-border) !important;
  border-radius: var(--j-radius) !important;
  box-shadow: var(--j-shadow) !important;
  transition: var(--j-transition);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--j-shadow-md) !important;
}

.card-header {
  background: var(--j-bg-card) !important;
  border-bottom: 1px solid var(--j-border) !important;
  padding: 14px 20px !important;
}

.content-area h5.card-header {
  color: var(--j-text) !important;
  background: var(--j-bg-card) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 14px 20px !important;
  border-bottom: 2px solid var(--j-brand-soft2) !important;
}

.card-body {
  padding: 16px 20px !important;
}

/* ── Special Box ── */
.special-box {
  border-radius: var(--j-radius) !important;
  box-shadow: var(--j-shadow) !important;
  border: 1px solid var(--j-border) !important;
  background: var(--j-bg-card) !important;
  overflow: hidden;
}

.special-box .heading-area {
  background: var(--j-bg) !important;
  border-bottom: 1px solid var(--j-border) !important;
  padding: 12px 20px !important;
}

.special-box .heading-area .title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--j-text) !important;
}

/* ══════════════════════════════════════
   TABLES
   ══════════════════════════════════════ */
.table {
  margin-bottom: 0 !important;
}

.table thead th {
  background: var(--j-bg) !important;
  color: var(--j-text) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 10px 14px !important;
  border-bottom: 2px solid var(--j-border) !important;
  white-space: nowrap;
}

.table tbody td {
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  color: var(--j-text-secondary) !important;
  border-bottom: 1px solid var(--j-border-light) !important;
  vertical-align: middle !important;
}

.table tbody tr:hover {
  background: var(--j-brand-soft) !important;
}

.table tbody tr:last-child td {
  border-bottom: none !important;
}

/* DataTable pagination */
.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: var(--j-radius-sm) !important;
  margin: 0 2px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--j-brand) !important;
  color: #fff !important;
  border-color: var(--j-brand) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: var(--j-brand-soft) !important;
  color: var(--j-brand) !important;
  border-color: var(--j-brand-soft2) !important;
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.mybtn1,
.add-btn,
a.btn-back {
  background: var(--j-brand) !important;
  box-shadow: 0 2px 8px rgba(155,9,13,0.2) !important;
  border-radius: var(--j-radius-sm) !important;
  font-weight: 600 !important;
  transition: var(--j-transition) !important;
  font-family: "Shurjo", sans-serif !important;
}

.mybtn1:hover,
.add-btn:hover,
a.btn-back:hover {
  background: var(--j-brand-dark) !important;
  box-shadow: 0 4px 12px rgba(155,9,13,0.3) !important;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--j-brand) !important;
  border-color: var(--j-brand) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--j-brand-dark) !important;
  border-color: var(--j-brand-dark) !important;
  box-shadow: 0 4px 12px rgba(155,9,13,0.3) !important;
}

.btn-info {
  background: #0ea5e9 !important;
  border-color: #0ea5e9 !important;
}

.btn-success {
  background: #22c55e !important;
  border-color: #22c55e !important;
}

.btn-danger {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
}

.btn-warning {
  background: #f59e0b !important;
  border-color: #f59e0b !important;
}

.special-box .footer-area .process,
.special-box .footer-area .mybtn1 {
  background: var(--j-brand) !important;
  border-radius: var(--j-radius-sm) !important;
}

.godropdown .go-dropdown-toggle {
  background: var(--j-brand) !important;
  border-radius: var(--j-radius-sm) !important;
}

/* ══════════════════════════════════════
   FORMS
   ══════════════════════════════════════ */
.input-field {
  border: 1px solid var(--j-border) !important;
  border-radius: var(--j-radius-sm) !important;
  padding: 8px 14px !important;
  font-size: 14px !important;
  color: var(--j-text) !important;
  background: var(--j-bg-card) !important;
  transition: var(--j-transition) !important;
  height: 40px !important;
}

.input-field:focus {
  border-color: var(--j-brand) !important;
  box-shadow: 0 0 0 3px var(--j-brand-soft) !important;
}

textarea.input-field {
  height: auto !important;
  min-height: 100px !important;
}

.form-control {
  border: 1px solid var(--j-border) !important;
  border-radius: var(--j-radius-sm) !important;
  font-size: 14px !important;
  color: var(--j-text) !important;
  transition: var(--j-transition) !important;
}

.form-control:focus {
  border-color: var(--j-brand) !important;
  box-shadow: 0 0 0 3px var(--j-brand-soft) !important;
}

select.form-control,
select.input-field {
  appearance: auto;
}

/* ── Labels ── */
label {
  font-weight: 600;
  font-size: 13px;
  color: var(--j-text) !important;
  margin-bottom: 5px;
}

/* ══════════════════════════════════════
   DASHBOARD CARDS
   ══════════════════════════════════════ */
.dashboard-header {
  background: linear-gradient(135deg, var(--j-brand), var(--j-brand-light)) !important;
  border-radius: var(--j-radius) !important;
  box-shadow: 0 4px 15px rgba(155,9,13,0.25) !important;
  padding: 24px 28px !important;
}

.dashboard-header h2 {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.dashboard-header p {
  color: rgba(255,255,255,0.85) !important;
  font-size: 14px !important;
}

.dashboard-card {
  border-radius: var(--j-radius) !important;
  padding: 18px 20px !important;
  box-shadow: var(--j-shadow-md) !important;
  transition: var(--j-transition) !important;
}

.dashboard-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--j-shadow-lg) !important;
}

.dashboard-card h5 {
  font-size: 14px !important;
  font-weight: 500 !important;
  opacity: 0.9;
}

.dashboard-card h2 {
  font-size: 28px !important;
  font-weight: 700 !important;
}

.dashboard-card .icon {
  font-size: 34px !important;
  opacity: 0.7;
}

/* Jamuna brand gradient for first card */
.gradient-blue { background: linear-gradient(135deg, var(--j-brand), var(--j-brand-light)) !important; }
.gradient-orange { background: linear-gradient(135deg, #e67e22, #f39c12) !important; }
.gradient-purple { background: linear-gradient(135deg, #8b5cf6, #a78bfa) !important; }
.gradient-green { background: linear-gradient(135deg, #059669, #34d399) !important; }
.gradient-red { background: linear-gradient(135deg, #dc2626, #f87171) !important; }
.gradient-dark { background: linear-gradient(135deg, #334155, #64748b) !important; }

/* ══════════════════════════════════════
   MODALS
   ══════════════════════════════════════ */
.modal-content {
  border-radius: var(--j-radius) !important;
  border: none !important;
  box-shadow: var(--j-shadow-lg) !important;
}

.modal-header {
  background: var(--j-bg) !important;
  border-bottom: 1px solid var(--j-border) !important;
  border-radius: var(--j-radius) var(--j-radius) 0 0 !important;
  padding: 14px 20px !important;
}

.modal-title {
  font-weight: 700 !important;
  font-size: 16px !important;
  color: var(--j-text) !important;
}

.sub-categori .modal .modal-dialog .modal-header {
  background: var(--j-brand) !important;
}

.sub-categori .modal .contact-form .submit-btn {
  background: var(--j-brand) !important;
  border-radius: var(--j-radius-sm) !important;
}

.sub-categori .modal .contact-form .submit-btn:hover {
  background: var(--j-brand-dark) !important;
}

/* ══════════════════════════════════════
   BADGES & LABELS
   ══════════════════════════════════════ */
.badge {
  font-weight: 600 !important;
  font-size: 11px !important;
  padding: 4px 10px !important;
  border-radius: 50px !important;
}

.pending { background: #f59e0b !important; }
.completed { background: #22c55e !important; }
.processing { background: #3b82f6 !important; }
.declined { background: #ef4444 !important; }

/* ══════════════════════════════════════
   TABS
   ══════════════════════════════════════ */
.add_lan_tab .nav {
  background: var(--j-bg) !important;
  border-radius: var(--j-radius) !important;
  padding: 10px !important;
}

.add_lan_tab .nav-tabs .nav-link.active,
.add_lan_tab .nav-tabs .nav-link:hover {
  background: var(--j-brand) !important;
  color: #fff !important;
}

/* ══════════════════════════════════════
   MISC OVERRIDES
   ══════════════════════════════════════ */

/* Blue accent colors → Jamuna Red */
.bg-primary {
  background: var(--j-brand) !important;
}

.text-primary {
  color: var(--j-brand) !important;
}

/* Card header overrides for tables */
h5.card-header.bg-primary,
h5.card-header.bg-success,
h5.card-header.bg-info,
h5.card-header.bg-warning {
  background: var(--j-bg-card) !important;
  color: var(--j-text) !important;
  font-weight: 700 !important;
  border-bottom: 2px solid var(--j-brand-soft2) !important;
}

/* Product description panels */
.product-description .panel-heading.text-center h3 {
  background: var(--j-brand) !important;
}

/* Profile button */
.profile-btn {
  background: var(--j-brand) !important;
  box-shadow: 0 2px 8px rgba(155,9,13,0.2) !important;
  border-radius: var(--j-radius-sm) !important;
}

/* View details button */
.customar-details-area .view-details {
  background: var(--j-brand) !important;
  border-radius: var(--j-radius-sm) !important;
}

/* Send email button */
.btn.sendEmail {
  background: var(--j-brand) !important;
  border-radius: var(--j-radius-sm) !important;
}
.btn.sendEmail:hover {
  background: var(--j-brand-dark) !important;
}

/* Nice select */
.nice-select .list {
  background: var(--j-bg-card) !important;
  border: 1px solid var(--j-border) !important;
  border-radius: var(--j-radius-sm) !important;
  box-shadow: var(--j-shadow-md) !important;
}

.nice-select .option {
  color: var(--j-text) !important;
}

.nice-select .option:hover,
.nice-select .option.selected {
  background: var(--j-brand-soft) !important;
  color: var(--j-brand) !important;
}

/* ── Row cards ── */
.row-cards-one .mycard {
  border-radius: var(--j-radius) !important;
  box-shadow: var(--j-shadow) !important;
  border: 1px solid var(--j-border) !important;
}

/* Version text */
.version-name {
  padding-left: 22px !important;
  font-size: 11px !important;
  color: var(--j-text-muted) !important;
}

/* Link override inside sidebar */
a:not([href]) {
  color: var(--j-text-secondary) !important;
}

/* Scrollbar styling */
.my-table-responsiv::-webkit-scrollbar-thumb {
  background: var(--j-brand) !important;
  border-radius: 10px !important;
}

/* Info box areas */
.c-info-box-area {
  background: var(--j-bg-card);
  border-radius: var(--j-radius);
  border: 1px solid var(--j-border);
}

/* ══════════════════════════════════════
   PRODUCT / LIST PAGES
   ══════════════════════════════════════ */
.product-area {
  background: var(--j-bg-card);
  border-radius: var(--j-radius);
  border: 1px solid var(--j-border);
  box-shadow: var(--j-shadow);
  padding: 0 !important;
  overflow: hidden;
}

.product-area .row {
  margin: 0;
}

.mr-table.allproduct {
  padding: 0 !important;
}

.table-responsiv {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* DataTable controls */
.dataTables_wrapper {
  padding: 16px 20px !important;
}

.dataTables_wrapper .dataTables_filter input {
  border: 1px solid var(--j-border) !important;
  border-radius: var(--j-radius-sm) !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
  transition: var(--j-transition);
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--j-brand) !important;
  box-shadow: 0 0 0 3px var(--j-brand-soft) !important;
  outline: none !important;
}

.dataTables_wrapper .dataTables_length select {
  border: 1px solid var(--j-border) !important;
  border-radius: var(--j-radius-sm) !important;
  padding: 4px 8px !important;
  font-size: 13px !important;
}

.dataTables_wrapper .dataTables_info {
  color: var(--j-text-secondary) !important;
  font-size: 12.5px !important;
  padding: 8px 0 !important;
}

.dataTables_wrapper .dataTables_paginate {
  padding: 8px 0 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 4px 12px !important;
  font-size: 13px !important;
}

/* Action dropdown in DataTables */
.godropdown {
  position: relative;
}

.godropdown .go-dropdown-toggle {
  background: var(--j-brand) !important;
  color: #fff !important;
  border-radius: var(--j-radius-sm) !important;
  padding: 4px 14px !important;
  font-size: 12px !important;
  border: none;
  cursor: pointer;
  transition: var(--j-transition);
}

.godropdown .go-dropdown-toggle:hover {
  background: var(--j-brand-dark) !important;
}

.godropdown .action-list {
  background: var(--j-bg-card) !important;
  border: 1px solid var(--j-border) !important;
  border-radius: var(--j-radius-sm) !important;
  box-shadow: var(--j-shadow-lg) !important;
  z-index: 50;
  min-width: 140px;
}

.godropdown .action-list li a {
  padding: 7px 14px !important;
  font-size: 13px !important;
  color: var(--j-text) !important;
  transition: var(--j-transition);
  display: block;
}

.godropdown .action-list li a:hover {
  background: var(--j-brand-soft) !important;
  color: var(--j-brand) !important;
}

/* Add button area */
.btn-area {
  padding: 14px 20px !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--j-border);
}

.btn-area .add-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 18px !important;
  font-size: 13px !important;
}

/* Filter area */
.product-area .selectPost .btn {
  border-radius: var(--j-radius-sm) !important;
  font-size: 12px !important;
  padding: 5px 12px !important;
}

/* ══════════════════════════════════════
   FORM PAGES (Settings, Edit, Create)
   ══════════════════════════════════════ */
.add-product-content {
  background: var(--j-bg-card);
  border-radius: var(--j-radius);
  border: 1px solid var(--j-border);
  box-shadow: var(--j-shadow);
  overflow: hidden;
}

.product-description {
  background: var(--j-bg-card) !important;
}

.product-description .body-area {
  padding: 20px !important;
}

.product-description .body-area .row {
  padding: 8px 0;
}

.left-area {
  padding: 4px 0 !important;
}

.left-area h4.heading {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--j-text) !important;
  margin-bottom: 4px;
}

.left-area .sub-heading {
  font-size: 11.5px !important;
  color: var(--j-text-muted) !important;
  font-weight: 400 !important;
}

/* Submit button */
.addProductSubmit-btn {
  background: var(--j-brand) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--j-radius-sm) !important;
  padding: 10px 32px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: var(--j-transition);
  box-shadow: 0 2px 8px rgba(155,9,13,0.2) !important;
  font-family: "Shurjo", sans-serif !important;
}

.addProductSubmit-btn:hover {
  background: var(--j-brand-dark) !important;
  box-shadow: 0 4px 12px rgba(155,9,13,0.3) !important;
  transform: translateY(-1px);
}

/* Textarea  */
.tawk-area textarea {
  border: 1px solid var(--j-border) !important;
  border-radius: var(--j-radius-sm) !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  width: 100% !important;
  min-height: 120px;
  color: var(--j-text) !important;
  background: var(--j-bg-card) !important;
  transition: var(--j-transition);
  font-family: monospace;
}

.tawk-area textarea:focus {
  border-color: var(--j-brand) !important;
  box-shadow: 0 0 0 3px var(--j-brand-soft) !important;
  outline: none !important;
}

/* Action list / droplinks */
.action-list select.process {
  border: 1px solid var(--j-border) !important;
  border-radius: var(--j-radius-sm) !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
  background: var(--j-bg-card) !important;
  color: var(--j-text) !important;
  cursor: pointer;
}

.drop-success {
  border-color: #22c55e !important;
  color: #059669 !important;
}

.drop-danger {
  border-color: #ef4444 !important;
  color: #dc2626 !important;
}

/* Go cover overlay */
.gocover {
  border-radius: var(--j-radius) !important;
  z-index: 50;
}

/* ══════════════════════════════════════
   ALERTS (Form Success/Error)
   ══════════════════════════════════════ */
.alert-success {
  background: rgba(5, 150, 105, 0.08) !important;
  border: 1px solid rgba(5, 150, 105, 0.2) !important;
  color: #059669 !important;
  border-radius: var(--j-radius-sm) !important;
  padding: 12px 18px !important;
  margin: 12px 20px !important;
  font-size: 13.5px !important;
}

.alert-danger {
  background: rgba(220, 38, 38, 0.06) !important;
  border: 1px solid rgba(220, 38, 38, 0.2) !important;
  color: #dc2626 !important;
  border-radius: var(--j-radius-sm) !important;
  padding: 12px 18px !important;
  margin: 12px 20px !important;
  font-size: 13.5px !important;
}

.alert-info {
  background: rgba(37, 99, 235, 0.06) !important;
  border: 1px solid rgba(37, 99, 235, 0.2) !important;
  color: #2563eb !important;
  border-radius: var(--j-radius-sm) !important;
  padding: 12px 18px !important;
  margin: 12px 20px !important;
  font-size: 13.5px !important;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.08) !important;
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
  color: #d97706 !important;
  border-radius: var(--j-radius-sm) !important;
  padding: 12px 18px !important;
  margin: 12px 20px !important;
  font-size: 13.5px !important;
}

/* ══════════════════════════════════════
   IMAGE UPLOAD / PREVIEW
   ══════════════════════════════════════ */
.img-upload #image-preview {
  border: 2px dashed var(--j-border) !important;
  border-radius: var(--j-radius) !important;
  background: var(--j-bg) !important;
  transition: var(--j-transition);
}

.img-upload #image-preview:hover {
  border-color: var(--j-brand) !important;
  background: var(--j-brand-soft) !important;
}

/* Color picker */
.colorpicker-component.cp .input-group-addon {
  border: 1px solid var(--j-border) !important;
  border-radius: 0 var(--j-radius-sm) var(--j-radius-sm) 0 !important;
  background: var(--j-bg) !important;
}

/* ══════════════════════════════════════
   TABS & LANGUAGE TABS
   ══════════════════════════════════════ */
.nav-tabs {
  border-bottom: 2px solid var(--j-border) !important;
}

.nav-tabs .nav-link {
  color: var(--j-text-secondary) !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  padding: 8px 18px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  margin-bottom: -2px !important;
  transition: var(--j-transition);
}

.nav-tabs .nav-link:hover {
  color: var(--j-brand) !important;
  border-bottom-color: var(--j-brand-soft2) !important;
}

.nav-tabs .nav-link.active {
  color: var(--j-brand) !important;
  border-bottom-color: var(--j-brand) !important;
  background: transparent !important;
  font-weight: 600 !important;
}

/* ══════════════════════════════════════
   PANEL HEADING (for settings)
   ══════════════════════════════════════ */
.product-description .panel-heading {
  background: var(--j-bg) !important;
  border-bottom: 1px solid var(--j-border) !important;
  padding: 14px 20px !important;
  border-radius: var(--j-radius) var(--j-radius) 0 0 !important;
}

.product-description .panel-heading h3 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--j-text) !important;
  margin: 0;
  background: transparent !important;
  padding: 0 !important;
}

/* ══════════════════════════════════════
   TOGGLE SWITCH
   ══════════════════════════════════════ */
.onoffswitch-label {
  border: 1px solid var(--j-border) !important;
  border-radius: 20px !important;
}

.onoffswitch-inner::before {
  background: var(--j-brand) !important;
}

/* ══════════════════════════════════════
   MODAL FOOTER
   ══════════════════════════════════════ */
.modal-footer {
  border-top: 1px solid var(--j-border) !important;
  padding: 12px 20px !important;
  background: var(--j-bg) !important;
}

.modal-footer .btn-secondary {
  background: #f1f3f5 !important;
  border-color: var(--j-border) !important;
  color: var(--j-text-secondary) !important;
  border-radius: var(--j-radius-sm) !important;
  font-weight: 500;
}

.modal-footer .btn-secondary:hover {
  background: #e9ecef !important;
  color: var(--j-text) !important;
}

/* ══════════════════════════════════════
   CHECKBOX / RADIO STYLING
   ══════════════════════════════════════ */
.form-check-input:checked {
  background-color: var(--j-brand) !important;
  border-color: var(--j-brand) !important;
}

/* ══════════════════════════════════════
   PROGRESS BAR
   ══════════════════════════════════════ */
.progress-bar {
  background: var(--j-brand) !important;
}

/* ══════════════════════════════════════
   SCROLLBAR
   ══════════════════════════════════════ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--j-bg);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--j-brand);
}

/* ══════════════════════════════════════
   RESPONSIVE — TABLET & MOBILE
   ══════════════════════════════════════ */

/* Tablet */
@media (max-width: 991px) {
  .content-area {
    padding: 16px 16px 24px !important;
  }

  .special-box .table-responsive-sm {
    padding: 0 14px 10px !important;
  }

  .my-table-responsiv {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Header */
  .header {
    height: auto !important;
    min-height: 52px;
    padding: 6px 0 !important;
    position: sticky !important;
    top: 0 !important;
  }

  a.admin-logo img {
    max-height: 36px !important;
  }

  a.admin-logo {
    padding-left: 10px !important;
  }

  .page .header .menu-toggle-button .nav-link {
    left: auto !important;
    right: 10px;
    position: relative !important;
    transform: none !important;
    top: auto !important;
  }

  .header .right-eliment .list li.login-profile-area .user-img img {
    width: 32px !important;
    height: 32px !important;
  }

  /* Header mobile */
  .j-profile-info { display: none !important; }
  .j-profile-trigger svg:last-child { display: none !important; }
  .j-btn-text { display: none !important; }
  .j-header-btn { padding: 8px !important; }
  .j-header-divider { display: none !important; }
  .j-avatar { width: 34px; height: 34px; }
  .j-avatar img { width: 34px !important; height: 34px !important; }

  /* Sidebar — dark overlay, hidden by default on mobile */
  #sidebar,
  .nav-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    height: 100vh !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    background: #1e293b !important;
    box-shadow: 4px 0 24px rgba(0,0,0,0.3) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-left: 0 !important;
  }

  /* Show sidebar when NOT .active */
  #sidebar:not(.active) {
    transform: translateX(0) !important;
  }

  /* Hide sidebar when .active */
  #sidebar.active {
    transform: translateX(-100%) !important;
    margin-left: 0 !important;
  }

  /* Show close button on mobile */
  .j-sidebar-close { display: flex !important; }

  /* Content */
  .content-area {
    padding: 12px 10px 20px !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  .wrapper {
    flex-direction: column !important;
  }

  /* Breadcrumb */
  .mr-breadcrumb .heading {
    font-size: 16px !important;
  }

  .mr-breadcrumb .links li a {
    font-size: 12px !important;
  }

  /* Cards */
  .card-body {
    padding: 12px !important;
  }

  .content-area h5.card-header {
    padding: 12px 14px !important;
    font-size: 14px !important;
  }

  /* Tables — horizontal scroll */
  .table-responsive,
  .my-table-responsiv,
  .card-body {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .table {
    min-width: 500px;
  }

  .table thead th {
    font-size: 11px !important;
    padding: 8px 10px !important;
    white-space: nowrap;
  }

  .table tbody td {
    font-size: 12.5px !important;
    padding: 8px 10px !important;
  }

  td img {
    max-width: 50px !important;
    max-height: 50px !important;
  }

  /* Special box */
  .special-box .heading-area {
    padding: 10px 12px !important;
  }

  .special-box .table-responsive-sm {
    padding: 0 10px 10px !important;
  }

  .special-box .footer-area {
    padding: 0 12px 16px !important;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Forms */
  .input-field {
    font-size: 13px !important;
    height: 38px !important;
  }

  .form-control {
    font-size: 13px !important;
  }

  /* Modals */
  .modal-dialog {
    margin: 10px !important;
    max-width: calc(100vw - 20px) !important;
  }

  .sub-categori .modal .modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Buttons */
  .mybtn1, .add-btn, a.btn-back {
    font-size: 13px !important;
    padding: 6px 16px !important;
  }

  /* Product area / List pages */
  .product-area {
    border-radius: var(--j-radius-sm) !important;
  }

  .dataTables_wrapper {
    padding: 12px !important;
  }

  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_length {
    float: none !important;
    text-align: left !important;
    margin-bottom: 8px;
  }

  .dataTables_wrapper .dataTables_filter input {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .btn-area {
    padding: 10px 12px !important;
    gap: 6px;
  }

  .btn-area .add-btn {
    font-size: 12px !important;
    padding: 6px 12px !important;
  }

  .selectPost .btn {
    font-size: 11px !important;
    padding: 4px 8px !important;
  }

  /* Form pages */
  .add-product-content {
    border-radius: var(--j-radius-sm) !important;
  }

  .product-description .body-area {
    padding: 12px !important;
  }

  .left-area h4.heading {
    font-size: 13px !important;
    margin-bottom: 2px;
  }

  .addProductSubmit-btn {
    width: 100% !important;
    padding: 10px !important;
  }

  .tawk-area textarea {
    min-height: 80px;
    font-size: 12px !important;
  }

  /* Image upload */
  .img-upload #image-preview {
    width: 100% !important;
    height: 180px !important;
  }

  /* Dropdown menu */
  .header .right-eliment .list li .dropdown-menu {
    width: 240px !important;
    right: 0 !important;
  }

  /* NicEdit */
  .nicEdit-main {
    min-height: 150px !important;
  }

  /* Info boxes */
  .c-info-box-area .c-info-box {
    width: 140px !important;
    height: 140px !important;
  }
  .c-info-box-area .c-info-box p {
    font-size: 22px !important;
    line-height: 100px !important;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .content-area {
    padding: 8px 6px 16px !important;
  }

  a.admin-logo img {
    max-height: 30px !important;
  }

  .mr-breadcrumb .heading {
    font-size: 14px !important;
  }

  .table {
    min-width: 400px;
  }

  .table thead th {
    font-size: 10px !important;
    padding: 6px 6px !important;
  }

  .table tbody td {
    font-size: 11.5px !important;
    padding: 6px 6px !important;
  }

  .card-body {
    padding: 8px !important;
  }

  .modal-dialog {
    margin: 5px !important;
  }
}

/* ══════════════════════════════════════
   PRINT STYLES
   ══════════════════════════════════════ */
@media print {
  #sidebar,
  .header,
  .menu-toggle-button {
    display: none !important;
  }

  .content-area {
    padding: 0 !important;
    margin: 0 !important;
  }
}
