/* ==========================================================================
   Modern layout overrides for the AdminLTE v2 shell (Bootstrap 3).

   Keeps the AdminLTE v2 structure (wrapper / main-header / main-sidebar /
   content-wrapper / main-footer) so existing views, the treeview sidebar
   and the Layout/PushMenu/Tree plugins keep working, but restyles the
   header, sidebar, content and footer with a cleaner, more modern look.

   Loaded LAST in application.css so it overrides AdminLTE and the skins.
   ========================================================================== */
/* line 21, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
body {
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px; }

/* ===================== Header ===================== */
/* line 27, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.main-header {
  background: #fff;
  border-bottom: 1px solid #e5e9f0;
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.08);
  z-index: 1040; }

/* line 34, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .main-header .logo {
  width: 230px;
  height: 50px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #fff !important;
  color: #111827 !important;
  border-right: 1px solid #e5e9f0;
  border-bottom: 0 !important;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: normal; }

/* line 51, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .main-header .logo:hover {
  background-color: #fff !important; }

/* line 54, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.main-header .logo img {
  height: 28px;
  width: auto;
  flex: none; }

/* line 59, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.main-header .logo .logo-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%; }

@media (min-width: 768px) {
  /* line 67, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .sidebar-mini.sidebar-collapse .main-header .logo > .logo-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin-left: 0;
    margin-right: 0; } }
/* line 77, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.main-header .navbar {
  background: #fff;
  min-height: 50px; }

/* line 82, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .main-header .navbar .sidebar-toggle {
  color: #475569;
  border-right: 1px solid #e5e9f0;
  padding: 15px 16px; }

/* line 87, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .main-header .navbar .sidebar-toggle:hover,
.skin-black-light .main-header .navbar .sidebar-toggle:focus {
  background: #f1f5f9;
  color: #111827; }

/* line 93, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .main-header .navbar .navbar-nav > li > a {
  border: 0;
  color: #475569;
  padding: 15px 14px;
  line-height: 20px; }

/* line 99, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .main-header .navbar .navbar-nav > li > a:hover,
.skin-black-light .main-header .navbar .navbar-nav > li > a:focus {
  background: #f1f5f9;
  color: #111827; }

/* Role switcher on the navbar */
/* line 106, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.main-header .navbar .navbar-nav > li.role-switch {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 10px; }

/* line 112, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.main-header .navbar .navbar-nav > li.role-switch select {
  min-width: 160px;
  height: 32px;
  font-size: 13px;
  color: #334155;
  background: #fff;
  border-color: #cbd5e1;
  border-radius: 6px;
  box-shadow: none; }

/* line 122, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.main-header .navbar .navbar-nav > li.role-switch select:focus {
  border-color: #2563eb; }

@media (max-width: 991px) {
  /* line 126, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .main-header .navbar .navbar-nav > li.role-switch {
    padding: 0 6px; }

  /* line 129, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .main-header .navbar .navbar-nav > li.role-switch select {
    min-width: 120px;
    height: 30px;
    font-size: 12px;
    padding: 0 8px; } }
/* Single-row header on phones: icon-only logo, compact items */
@media (max-width: 767px) {
  /* line 138, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .skin-black-light .main-header .logo {
    width: 50px;
    float: left;
    padding: 0;
    background-color: #fff !important;
    color: #111827 !important;
    border-right: 1px solid #e5e9f0; }

  /* line 146, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .main-header .logo .logo-lg {
    display: none; }

  /* line 149, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .main-header .logo .logo-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0; }

  /* line 156, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .main-header .navbar {
    margin-left: 50px;
    width: auto;
    float: none; }

  /* line 161, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .fixed .content-wrapper,
  .fixed .right-side {
    padding-top: 50px; }

  /* line 165, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .main-sidebar {
    padding-top: 50px; }

  /* line 168, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .main-header .navbar .navbar-custom-menu .navbar-nav > li.home-link {
    display: none; }

  /* line 171, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .main-header .navbar .navbar-custom-menu .navbar-nav > li > a {
    padding: 15px 8px; }

  /* line 174, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .main-header .navbar .navbar-nav > li.role-switch select {
    min-width: 90px; }

  /* line 177, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .main-header .navbar .navbar-nav > li.user-menu > a {
    padding: 9px 6px; }

  /* line 180, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .main-header .navbar .navbar-nav > li.user-menu > a .user-image {
    width: 28px;
    height: 28px;
    margin-right: 0; }

  /* line 185, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .navbar-nav > .user-menu > .dropdown-menu {
    width: 260px;
    min-width: 260px;
    max-width: calc(100vw - 16px);
    right: 4px;
    left: auto; }

  /* line 192, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .navbar-nav > .user-menu > .dropdown-menu > li.user-header {
    padding: 16px 12px 14px; }

  /* line 195, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .navbar-nav > .user-menu > .dropdown-menu > li.user-header > img {
    width: 64px;
    height: 64px; }

  /* line 199, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .navbar-nav > .user-menu > .dropdown-menu > li.user-header > p {
    font-size: 15px;
    margin-top: 10px; }

  /* line 203, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .main-header .navbar .sidebar-toggle {
    padding: 15px 12px; } }
/* User dropdown trigger */
/* line 209, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.main-header .navbar .navbar-nav > li.user-menu > a {
  display: flex;
  align-items: center;
  padding: 9px 12px; }

/* line 214, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.navbar-nav > .user-menu .user-image {
  width: 32px;
  height: 32px;
  margin-top: 0;
  margin-right: 8px; }

/* line 220, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.main-header .navbar .navbar-nav > li.user-menu > a .fa-caret-down {
  color: #94a3b8;
  margin-left: 4px; }

@media (max-width: 767px) {
  /* line 225, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .navbar-nav > .user-menu .user-image {
    float: none;
    margin-top: 0;
    margin-right: 0; } }
/* Dropdown panel */
/* line 233, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.navbar-nav > .user-menu > .dropdown-menu {
  width: 300px;
  padding: 0;
  border: 1px solid #e5e9f0;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.15);
  overflow: hidden; }

/* line 242, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .main-header li.user-header {
  height: auto;
  padding: 22px 16px 18px;
  background: linear-gradient(135deg, #1e2633 0%, #2563eb 100%); }

/* line 247, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.navbar-nav > .user-menu > .dropdown-menu > li.user-header > img {
  width: 80px;
  height: 80px;
  border: 3px solid rgba(255, 255, 255, 0.35); }

/* line 252, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.navbar-nav > .user-menu > .dropdown-menu > li.user-header > p {
  color: #fff;
  font-size: 16px;
  margin-top: 12px; }

/* line 257, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.navbar-nav > .user-menu > .dropdown-menu > li.user-header > p > small {
  color: rgba(255, 255, 255, 0.85); }

/* line 261, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.navbar-nav > .user-menu > .dropdown-menu > .user-footer {
  background: #fff;
  padding: 12px 16px; }

/* line 265, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.navbar-nav > .user-menu > .dropdown-menu > .user-footer .btn {
  border-radius: 6px; }

/* ===================== Sidebar (light) ===================== */
/* line 270, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .wrapper,
.skin-black-light .main-sidebar,
.skin-black-light .left-side {
  background-color: #f8fafc; }

/* line 275, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .main-sidebar {
  border-right: 1px solid #e5e9f0; }

/* line 278, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.main-sidebar {
  padding-top: 50px;
  box-shadow: 2px 0 6px rgba(16, 24, 40, 0.04); }

/* line 282, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.sidebar {
  padding-top: 10px;
  padding-bottom: 20px; }

/* Scroll the sidebar independently in the fixed layout */
/* line 288, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
body.fixed .main-sidebar {
  height: 100vh;
  overflow: hidden; }

/* line 292, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
body.fixed .main-sidebar .sidebar {
  height: calc(100vh - 50px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain; }

@media (max-width: 767px) {
  /* line 299, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  body.fixed .main-sidebar .sidebar {
    height: calc(100vh - 50px); } }
@media (min-width: 768px) {
  /* line 304, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  body.fixed.sidebar-mini.sidebar-collapse .main-sidebar {
    height: auto;
    overflow: visible; }

  /* line 308, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  body.fixed.sidebar-mini.sidebar-collapse .main-sidebar .sidebar {
    height: auto;
    overflow: visible; } }
/* line 313, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
body.fixed .main-sidebar .sidebar::-webkit-scrollbar {
  width: 6px; }

/* line 316, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
body.fixed .main-sidebar .sidebar::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.35);
  border-radius: 3px; }

/* line 320, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
body.fixed .main-sidebar .sidebar::-webkit-scrollbar-track {
  background: transparent; }

/* line 324, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .sidebar a {
  color: #475569; }

/* line 327, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .sidebar-menu > li.header {
  color: #94a3b8;
  background: transparent;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11px; }

/* line 335, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .sidebar-menu > li > a {
  border-left: 3px solid transparent;
  color: #475569;
  font-weight: 400;
  font-size: 14px;
  padding: 11px 15px;
  -webkit-transition: all 0.15s ease;
  transition: all 0.15s ease; }

/* line 344, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .sidebar-menu > li > a:hover,
.skin-black-light .sidebar-menu > li > a:focus {
  color: #0f172a;
  background: #eef2f7; }

/* line 349, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .sidebar-menu > li.active > a {
  color: #2563eb;
  background: #e8f0fe;
  border-left-color: #2563eb;
  font-weight: 600; }

/* line 355, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .sidebar-menu li > a > .fa {
  color: #64748b; }

/* line 358, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .sidebar-menu li > a:hover > .fa,
.skin-black-light .sidebar-menu li.active > a > .fa,
.skin-black-light .sidebar-menu li.menu-open > a > .fa {
  color: #2563eb; }

/* line 363, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .sidebar-menu > li > .treeview-menu {
  background: #f1f5f9; }

/* line 366, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .sidebar-menu .treeview-menu > li > a {
  color: #475569;
  padding: 9px 5px 9px 15px;
  font-size: 13.5px; }

/* line 371, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.skin-black-light .sidebar-menu .treeview-menu > li > a:hover,
.skin-black-light .sidebar-menu .treeview-menu > li.active > a {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.06); }

/* ===================== Content ===================== */
/* line 378, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.content-wrapper {
  background-color: #fff !important;
  z-index: 800; }

/* line 382, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.content {
  background: #fff;
  padding: 20px 22px;
  min-height: calc(70vh - 40px); }

/* ===================== Tabs (nav-tabs + tab-content) ===================== */
/* line 389, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.content .nav-tabs {
  border-bottom: 2px solid #e5e9f0;
  margin-bottom: 0; }

/* line 393, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.content .nav-tabs > li {
  margin-bottom: -2px; }

/* line 396, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.content .nav-tabs > li > a {
  margin-right: 4px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: #64748b;
  font-weight: 600;
  -webkit-transition: all 0.15s ease;
  transition: all 0.15s ease; }

/* line 407, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.content .nav-tabs > li > a:hover,
.content .nav-tabs > li > a:focus {
  border: 0;
  background: #f1f5f9;
  color: #2563eb; }

/* line 413, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.content .nav-tabs > li.active > a,
.content .nav-tabs > li.active > a:hover,
.content .nav-tabs > li.active > a:focus {
  border: 0;
  border-bottom: 3px solid #2563eb;
  background: #fff;
  color: #2563eb;
  font-weight: 700; }

/* AdminLTE .nav-tabs-custom: use the same modern styling */
/* line 423, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.content .nav-tabs-custom {
  border: 1px solid #e5e9f0;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); }

/* line 428, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.content .nav-tabs-custom > .nav-tabs {
  border-bottom: 2px solid #e5e9f0;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px; }

/* line 433, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.content .nav-tabs-custom > .nav-tabs > li.active,
.content .nav-tabs-custom > .nav-tabs > li.active > a {
  border-top-color: transparent; }

/* line 437, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.content .nav-tabs-custom > .nav-tabs > li.active > a,
.content .nav-tabs-custom > .nav-tabs > li.active:hover > a {
  background-color: #fff;
  border-bottom: 3px solid #2563eb;
  border-top-color: transparent;
  color: #2563eb;
  font-weight: 700; }

/* line 445, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.content .nav-tabs-custom > .tab-content {
  border-top: 0;
  padding: 20px 22px; }

/* line 449, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.content .tab-content {
  border: 1px solid #e5e9f0;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
  padding: 20px 22px; }

/* line 456, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.content .tab-content .tab-pane > *:first-child {
  margin-top: 0; }

@media (max-width: 767px) {
  /* line 460, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .content .nav-tabs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; }

  /* line 465, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .content .nav-tabs > li {
    float: none;
    display: inline-block; } }
/* ===================== Boxes ===================== */
/* line 472, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.box {
  border: 1px solid #e5e9f0;
  border-top: 3px solid #e5e9f0;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  overflow: hidden; }

/* ===================== Footer ===================== */
/* line 481, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.main-footer {
  background: #fff;
  border-top: 1px solid #e5e9f0;
  color: #64748b;
  padding: 12px 20px !important;
  margin-left: 230px !important; }

@media (max-width: 767px) {
  /* line 489, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
  .main-footer {
    margin-left: 0 !important; } }
/* ===================== Public / login ===================== */
/* line 495, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.login-body {
  background: linear-gradient(135deg, #eef2f7 0%, #e2e8f0 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 90px; }

/* line 504, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.login-body .public-wrap {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(16, 24, 40, 0.12);
  padding: 32px 36px; }

/* line 513, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.login-body .public-wrap h2 {
  margin-top: 0;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 20px; }

/* line 521, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.login-body .login-footer {
  position: static;
  width: 100%;
  text-align: center;
  margin-top: 24px;
  background: transparent;
  border-top: 0;
  color: #64748b;
  font-size: 13px; }

/* line 531, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.login-body .login-footer img {
  height: 20px;
  vertical-align: middle; }

/* line 535, /home/win/workspace/erp/app/assets/stylesheets/layout_modern.scss */
.login-body .login-version {
  margin-left: 8px;
  color: #94a3b8; }
