:root{
  --dals-bg1:#0b1220;
  --dals-bg2:#0a2a3a;
  --dals-cyan:#52d7ff;
  --dals-mint:#7affba;

  --dals-page:#f6f8fb;
  --dals-page2:#eef4f8;
  --dals-border: rgba(15, 23, 42, .10);
  --dals-text:#0f172a;
}

/* =========================
   Base
   ========================= */
body{
  color: var(--dals-text);
  background:
    radial-gradient(900px 500px at 15% 15%, rgba(82,215,255,.10), transparent 55%),
    radial-gradient(900px 500px at 85% 85%, rgba(122,255,186,.08), transparent 60%),
    linear-gradient(180deg, var(--dals-page), var(--dals-page2));
}

/* Make AdminLTE content backgrounds transparent */
.content-wrapper,
.main-footer{
  background: transparent;
}

/* Give content a consistent padding (LTR/RTL) */
.content > .container-fluid{
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Cards */
.card{
  border-radius: 0px;
  border: 0px solid var(--dals-border);
  box-shadow: 0 12px 30px rgba(2, 6, 23, .05);
}

.card-body{
  font-size: .75rem;
}

.table-responsive{
  font-size: .75rem;
}

.form-control{
  font-size: .75rem !important;
}

.d-block{
  font-size: .75rem;
}

.custom-select{
  font-size: .75rem !important;
}

.card-title{
  font-size: .95rem !important;
}

.btn{
  font-size: .75rem !important;
  border: 1px solid rgb(230, 224, 224) !important;
}

.btn:hover{
  background: rgba(3, 39, 70, 0.904) !important;
}

.badge{
  font-size: .70rem !important;
  padding: .4rem !important;
}

.mb-3{
  font-size: .75rem !important;
}

.form-group{
  font-size: .75rem !important;
}

html[dir="rtl"] .small-box:hover .icon>i,
html[dir="rtl"] .small-box:hover .icon>i.fa,
html[dir="rtl"] .small-box:hover .icon>i.fab,
html[dir="rtl"] .small-box:hover .icon>i.fad,
html[dir="rtl"] .small-box:hover .icon>i.fal,
html[dir="rtl"] .small-box:hover .icon>i.far,
html[dir="rtl"] .small-box:hover .icon>i.fas,
html[dir="rtl"] .small-box:hover .icon>i.ion {
    -webkit-transform: scale(0.97) !important;
    transform: scale(0.97)
}

.pagination {
/*    direction: ltr;              /* خلي ترتيب الأزرار من اليسار لليمين */
    justify-content: flex-end;     /* في النص، تقدر تخليها flex-end لو عايزها يمين */
    gap: 0.30rem;
}

.pagination .page-link {
    color: rgb(0, 31, 63);
    font-size: 0.75rem;
}

.pagination .page-link:hover {
    font-size: 0.75rem;
    color: rgba(255,255,255,.92);
    background-color: rgb(0, 31, 63); 
}

.pagination .page-item.active .page-link {
    background-color: rgb(0, 31, 63);
    color: #ffffff;
}

.form-label {
    font-size: .75rem !important;
}

.col-form-label {
    font-size: .75rem !important;
}

.col-form-label-sm {
    font-size: .75rem !important;
}

/* =========================
   Titlebar (Shared)
   ========================= */
.dals-titlebar{
  background: linear-gradient(135deg, rgb(0, 31, 63), rgb(0, 31, 63));
  color: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.dals-titlebar .card-title,
.dals-titlebar h3,
.dals-titlebar h2,
.dals-titlebar h1{
  color: #fff !important;
  margin: 0;
}

.dals-titlebar .btn{
  border-color: rgba(255,255,255,.22) !important;
  color: rgba(255,255,255,.92) !important;
}

.dals-titlebar .btn:hover{
  background: rgba(255,255,255,.08) !important;
}

/* RTL fix for titlebar floats */
html[dir="rtl"] .dals-titlebar .card-title{ float: right !important; }
html[dir="rtl"] .dals-titlebar .btn{ float: left !important; }

/* =========================
   Navbar
   ========================= */
.dals-navbar{
  background: rgba(255,255,255,.86) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--dals-border);
}

/* RTL: push navbar actions to LEFT */
html[dir="rtl"] .dals-rtl .navbar-nav.dals-nav-actions{
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* RTL width fix (prevents boxed look) */
html[dir="rtl"] .dals-rtl .content-wrapper,
html[dir="rtl"] .dals-rtl .main-header,
html[dir="rtl"] .dals-rtl .main-footer{
  margin-left: 0 !important;
}

/* =========================
   Sidebar Premium Kit (AdminLTE v3)
   ========================= */
.main-sidebar.dals-sidebar{
  background: linear-gradient(135deg, var(--dals-bg1), var(--dals-bg2)) !important;
  border-right: 1px solid rgba(255,255,255,.50);
}

html[dir="rtl"] .dals-rtl .main-sidebar.dals-sidebar{
  border-right: 0;
  border-left: 1px solid rgba(255,255,255,.08);
}

/* ===== Brand (Logo + Name under it) ===== */
.main-sidebar.dals-sidebar .brand-link.dals-brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.main-sidebar.dals-sidebar .brand-link.dals-brand .brand-image{
  float:none !important;
  margin:0 !important;
  max-height: 55px;
  width:auto;
}

.main-sidebar.dals-sidebar .brand-link.dals-brand .brand-text{
  display:block;
  margin-top: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .3px;
  opacity: .95;
  white-space: normal;
}

/* Nav container padding */
.main-sidebar.dals-sidebar .nav-sidebar{
  padding: 10px 0px 0px 0px;
}

/* Any nav link */
.main-sidebar.dals-sidebar .nav-sidebar .nav-link{
  border-radius: 0px;
  margin: 5px 0px 0px 5px;
  color: rgba(255,255,255,.86) !important;
  border: 1px solid transparent;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
  font-size: .75rem;
}

.main-sidebar.dals-sidebar .nav-sidebar .nav-link:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.10);
  transform: translateY(-1px);
}

/* ===== Section header link (fix icon/caret swap) ===== */
.main-sidebar.dals-sidebar .dals-sec-link{
  background: rgba(255,255,255,.04);
  padding: 8px 12px;
  display:flex;
  align-items:center;
  gap: 10px;
}

/* Section text */
.main-sidebar.dals-sidebar .dals-sec-text{
  flex: 1;
  font-size: .75rem;
  font-weight: 500;
  margin: 0;
}

html[dir="rtl"] .dals-rtl .main-sidebar.dals-sidebar .dals-sec-text{
  text-align: right;
}

/* Section Icon pill */
.main-sidebar.dals-sidebar .dals-sec-ico{
  width: 23px;
  height: 23px;
  border-radius: 0px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: rgba(255,255,255,.92);
}

.main-sidebar.dals-sidebar .dals-sec-ico .nav-icon{
  margin: 0 !important;
  font-size: .60rem;
}

/* Caret pill (Arrow) */
.main-sidebar.dals-sidebar .dals-caret{
  width: 15px;
  height: 15px;
  border-radius: 0px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: rgba(255,255,255,.88);
}

.main-sidebar.dals-sidebar .dals-caret2{
  margin: 0px 0px 0px 20px !important;
}

.main-sidebar.dals-sidebar .dals-caret i{
  transition: transform .15s ease;
}

/* Open section glow */
.main-sidebar.dals-sidebar .nav-item.menu-open > .dals-sec-link{
  background: rgba(255,255,255,.06);
  box-shadow:
    0 10px 30px rgba(0,0,0,.22),
    0 0 0 1px rgba(82,215,255,.10) inset;
}

/* Active section */
.main-sidebar.dals-sidebar .dals-sec-link.active{
  background: rgba(82,215,255,.14) !important;
  border-color: rgba(82,215,255,.20) !important;
}

/* Rotate caret when open */
.main-sidebar.dals-sidebar .nav-item.menu-open > .dals-sec-link .dals-caret i{
  transform: rotate(90deg);
}
html[dir="rtl"] .dals-rtl .main-sidebar.dals-sidebar .nav-item.menu-open > .dals-sec-link .dals-caret i{
  transform: rotate(-90deg);
}

/* Subnav container + connector line */
.main-sidebar.dals-sidebar .dals-subnav{
  margin-top: 5px;
  padding-left: 15px;
  position: relative;
}

html[dir="rtl"] .dals-rtl .main-sidebar.dals-sidebar .dals-subnav{
  padding-left: 0;
  padding-right: 15px;
}

.main-sidebar.dals-sidebar .dals-subnav::before{
  content:"";
  position:absolute;
  top: 8px;
  bottom: 8px;
  left: 10px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.12), rgba(255,255,255,0));
}

html[dir="rtl"] .dals-rtl .main-sidebar.dals-sidebar .dals-subnav::before{
  left: auto;
  right: 10px;
}

/* Dot icon */
.main-sidebar.dals-sidebar .dals-dot-ico{
  font-size: .50rem !important;
  opacity: .7;
  color: rgba(255,255,255,.45);
  text-shadow: none;
  padding-left: 13px;
  padding-right: 0px;
    margin: 0px 0px 0px 0px;
}

html[dir="rtl"] .main-sidebar.dals-sidebar .dals-dot-ico{
  padding-left: auto;
  padding-right: 13px;
}

/* Active dot glow */
.main-sidebar.dals-sidebar .dals-sub-link.active .dals-dot-ico{
  color: var(--dals-mint) !important;
  font-size: .50rem;
  opacity: 1;
  text-shadow: 0 0 12px rgba(122,255,186,.85);
    margin: 0px 0px 0px 0px;
}

/* Active item indicator */
.main-sidebar.dals-sidebar .dals-sub-link.active{
  background: rgba(82,215,255,.16) !important;
  border-color: rgba(82,215,255,.20) !important;
  position: relative;
  margin: 0px 0px 0px 0px;
}

.main-sidebar.dals-sidebar .dals-sub-link.active::before{
  content:"";
  position:absolute;
  top: 10px;
  bottom: 10px;
  left: 17px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(82,215,255,.95), rgba(122,255,186,.90));
}

html[dir="rtl"] .dals-rtl .main-sidebar.dals-sidebar .dals-sub-link.active::before{
  left: auto;
  right: 17px;
}

/* =========================
   Dashboard Charts
   (Append only - do not edit existing CSS above)
   ========================= */
.dashboard-chart{
  position: relative;
  height: 240px;
  width: 100%;
}
.dashboard-chart canvas{
  max-height: 240px !important;
}

/* For “Top Employees” charts */
.dashboard-chart-lg{
  position: relative;
  height: 320px;
  width: 100%;
}
.dashboard-chart-lg canvas{
  max-height: 320px !important;
}

/* =========================
   Employee Show RTL Fix
   (force proper column order)
   ========================= */


/* keep text aligned nicely in RTL */
html[dir="rtl"] body.dals-rtl dl.emp-show-dl dt,
html[dir="rtl"] body.dals-rtl dl.emp-show-dl dd{
  text-align: right !important;
}


/* ===== Dals Sidebar 3-Level Menu Fix ===== */

/* 7) الرابط الاكتيف بدل الخلفية الرمادي */
.dals-sidebar .dals-subnav .nav-treeview > .nav-item > .nav-link.active {
  background: linear-gradient(90deg, rgba(14,88,114,.98), rgba(11,115,129,.98)) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  border-inline-start: 3px solid #5eead4 !important;
}



/* =========================
   Searchable Select (Select2)
   ========================= */
.select2-container{
  width: 100% !important;
}

.select2-container--bootstrap4 .select2-selection{
  min-height: calc(0rem + 0px);
  border-radius: 25 !important;
  border-color: #ced4da;
  font-size: .75rem !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered{
  line-height: calc(2rem + 0px) !important;
  padding-left: .75rem;
  padding-right: 2rem;
  color: var(--dals-text);
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow{
  height: calc(0.10rem + 0px);
}

.select2-container--bootstrap4 .select2-dropdown,
.select2-container--bootstrap4 .select2-results__option,
.select2-container--bootstrap4 .select2-search__field{
  font-size: .75rem !important;
}

.select2-container--bootstrap4 .select2-search__field:focus,
.select2-container--bootstrap4.select2-container--focus .select2-selection{
  border-color: rgba(3, 39, 70, 0.55) !important;
  box-shadow: 0 0 0 .08rem rgba(3, 39, 70, 0.12) !important;
}

.select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected]{
  background: rgb(0, 31, 63) !important;
  color: #fff !important;
}

.select2-container--bootstrap4 .select2-selection__clear{
  margin-right: .35rem;
  margin-left: .35rem;
  margin-top: .70rem;
}

html[dir="rtl"] .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered{
  padding-right: .75rem;
  padding-left: 2rem;
  text-align: right;
}

html[dir="rtl"] .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow{
  right: auto;
  left: 3px;
}

html[dir="rtl"] .select2-container--bootstrap4 .select2-search__field,
html[dir="rtl"] .select2-container--bootstrap4 .select2-results__option{
  text-align: right;
}

/* =========================
   Help Tooltip / Info Icon
   ========================= */
.dals-help-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin: 0 .2rem;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #0d6efd !important;
  text-decoration: none !important;
  vertical-align: middle;
  box-shadow: none !important;
}

.dals-help-trigger:hover,
.dals-help-trigger:focus {
  color: #ffffff !important;
  text-decoration: none !important;
  outline: 0;
}

.dals-help-trigger i {
  font-size: .80rem;
  line-height: 1;
}

.dals-help-tooltip {
  opacity: 1 !important;
}

.dals-help-tooltip .tooltip-inner {
  max-width: 320px;
  padding: .65rem .8rem;
  border-radius: .55rem;
  background: #0b2545;
  color: #fff;
  font-family: "Droid Arabic Kufi", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: .75rem;
  font-weight:400;
  line-height: 1.65;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .22);
  text-align: left;
  white-space: normal;
}

html[dir="rtl"] .dals-help-tooltip .tooltip-inner {
  text-align: right;
}

.dals-help-tooltip.bs-tooltip-right .arrow::before,
.dals-help-tooltip.bs-tooltip-auto[x-placement^="right"] .arrow::before {
  border-right-color: #0b2545;
}

.dals-help-tooltip.bs-tooltip-left .arrow::before,
.dals-help-tooltip.bs-tooltip-auto[x-placement^="left"] .arrow::before {
  border-left-color: #0b2545;
}

.dals-help-tooltip.bs-tooltip-top .arrow::before,
.dals-help-tooltip.bs-tooltip-auto[x-placement^="top"] .arrow::before {
  border-top-color: #0b2545;
}

.dals-help-tooltip.bs-tooltip-bottom .arrow::before,
.dals-help-tooltip.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
  border-bottom-color: #0b2545;
}


/* =========================
   Attendance Module Polish
   ========================= */
.dals-att-shell{ 
  overflow:hidden; 
}
.dals-att-form{ 
  padding:0rem 0.15rem 0.25rem; 
}
.dals-att-banner{
  background: linear-gradient(135deg, rgb(0, 31, 63), rgb(0, 31, 63));
  border: 1px solid rgba(11,18,32,.08);
  color: #0f172a;
  padding: .80rem 1rem;
  border-radius: 0;
  font-size:.75rem;
  color:#ffffff;
  font-weight: 600;
}
.dals-att-meta-row,
.dals-att-stat-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .75rem;
}
.dals-att-meta-pill,
.dals-att-stat-card{
  background: linear-gradient(180deg, rgb(0, 31, 63), rgb(0, 31, 63));
  border: 1px solid var(--dals-border);
  box-shadow: 0 10px 25px rgba(2, 6, 23, .04);
  padding: .85rem 1rem;
}
.dals-att-meta-pill span,
.dals-att-stat-card span{
  display:block;
  text-align:center;
  font-size:.80rem;
  color:#ffffff;
  margin-bottom:.22rem;
  font-weight: 500;
}
.dals-att-meta-pill strong,
.dals-att-stat-card strong{
  display:block;
  text-align:center;
  font-size:.85rem;
  color:#ffffff;
  font-weight:400;
}
.dals-att-section{
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.74));
  border: 1px solid var(--dals-border);
  box-shadow: 0 12px 30px rgba(2, 6, 23, .04);
  padding: 1rem 1rem .9rem;
}
.dals-att-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:1rem;
  padding-bottom:.8rem;
  margin-bottom:1rem;
  border-bottom:1px dashed rgba(15,23,42,.12);
}
.dals-att-section-title{
  color:#0b1220;
  font-size:.80rem;
  font-weight:800;
}
.dals-att-section-sub{
  font-size:.73rem;
  color: rgba(15,23,42,.60);
  line-height:1.55;
}
.dals-att-section-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 96px;
  padding: .5rem .7rem;
  background: rgba(3, 39, 70, 0.08);
  color: rgba(3, 39, 70, 0.92);
  border: 1px solid rgba(3, 39, 70, 0.12);
  font-weight: 700;
  font-size: .72rem;
}
.dals-att-form .form-group > label,
.dals-att-form .form-label{
  display:flex;
  align-items:center;
  gap:.35rem;
  font-size:.75rem;
  font-weight:400;
  color: rgb(0, 31, 63);
  margin-bottom:.45rem;
}
.dals-att-form .form-control,
.dals-att-form .custom-select{
  border-color: rgba(15,23,42,.10);
  box-shadow:none;
}
.dals-att-form .form-control:focus,
.dals-att-form .custom-select:focus{
  border-color: rgba(3,39,70,.35);
  box-shadow: 0 0 0 .1rem rgba(3,39,70,.08);
}
.dals-att-form .btn.btn-outline-danger,
.dals-att-form .btn.btn-outline-primary,
.dals-att-form .btn.btn-outline-secondary{
  border-width:1px !important;
}
#fridayBonusPreviewBox{
  border:1px dashed rgba(3,39,70,.18);
  background: linear-gradient(135deg, rgba(82,215,255,.12), rgba(122,255,186,.10));
}
#fridayBonusPreviewBox strong{
  display:block;
  font-size:1rem;
  color: rgba(3, 39, 70, 0.92);
  letter-spacing:.02em;
}
.dals-att-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:.75rem;
  border-top:1px dashed rgba(15,23,42,.12);
  padding-top:0.5rem;
}
.dals-att-table-card .card-header,
.dals-att-filter-card .card-header{
  background: transparent;
  border-bottom:0;
  padding: .9rem 1rem 0;
}
.dals-att-table thead th{
  background: linear-gradient(180deg, rgb(0, 31, 63), rgb(0, 31, 63));
  color:#fff;
  text-align:center;
  font-weight:500;
  border-top:0;
  white-space:nowrap;
}
.dals-att-table tbody td{
  vertical-align:middle;
  border-color: rgba(180, 187, 204, 0.534);
  text-align:center;
}
.dals-att-row-main{ font-weight:700; color:#0b1220; }
.dals-att-row-sub{ display:block; font-size:.75rem; color: rgba(15,23,42,.55); margin-top:.16rem; }
.dals-att-alloc-list div{ padding:.2rem 0; }
.dals-att-alloc-list div + div{ border-top:1px dashed rgba(15,23,42,.08); }
.dals-att-action-stack{
  display:flex;
  align-items:center;
  gap:.5rem;
  justify-content:flex-end;
  flex-wrap:wrap;
}
html[dir="rtl"] .dals-att-action-stack{ justify-content:flex-start; }
.dals-att-page .alert{ border-radius:0; }
@media (max-width: 767.98px){
  .dals-att-section-head,
  .dals-att-footer{
    flex-direction:column;
    align-items:stretch;
  }
  .dals-att-form{ padding: .95rem; }
}


/* =========================
   Attendance Days Index Enhancements
   ========================= */
.dals-att-table-tools{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.75rem;
  flex-wrap:wrap;
}
html[dir="rtl"] .dals-att-table-tools{
  justify-content:flex-start;
}
.dals-att-page-size{
  display:flex;
  align-items:center;
  gap:.45rem;
  min-width: 185px;
}
.dals-att-page-size label{
  margin:0;
  font-weight:700;
  color:#0b1220;
  white-space:nowrap;
}
.dals-att-page-size .custom-select{
  min-width: 92px;
  font-weight:700;
}
.dals-sort-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.38rem;
  width:100%;
  color:#fff !important;
  text-decoration:none !important;
  font-weight:700;
}
.dals-sort-link:hover{
  color:#fff !important;
  text-decoration:none !important;
  opacity:.92;
}
.dals-sort-link i{
  font-size:.70rem;
  opacity:.95;
}
.dals-att-table-footer{
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
  background: linear-gradient(180deg, rgb(248, 249, 255), rgba(248, 249, 255));
  border-top:2px solid rgba(15,23,42,.08);
}
html[dir="rtl"] .dals-att-table-footer{
  flex-direction: row-reverse;
}
.dals-att-table-info{
  font-size:.80rem;
  font-weight:500;
  color: rgba(15,23,42,.70);
  margin: 0px 0px 0px 3rem !important;
}
.dals-att-table-pagination .pagination{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  margin: .5rem 0rem .5rem 0rem !important;
}
.dals-att-table-pagination .page-item .page-link{
  border-color: rgba(15,23,42,.08);
  min-width: 34px;
  text-align:center;
}
@media (max-width: 767.98px){
  .dals-att-table-tools,
  .dals-att-table-footer{
    flex-direction:column;
    align-items:stretch;
  }

  .dals-att-page-size{
    justify-content:space-between;
  }

  .dals-att-table-pagination{
    overflow-x:auto;
  }
}

/* =========================
   permission
   ========================= */

.permission-toolbar {
  gap: .5rem;
}

.permission-module-card .card-header {
  border-bottom: 0;
}

.permission-group {
  border: 1px solid #e9ecef;
  border-radius: .5rem;
  background: #fff;
  padding: 1rem;
}

.permission-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #eef1f4;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .75rem;
}

.permission-item {
  border: 1px solid #e9ecef;
  border-radius: .5rem;
  background: #fafbfc;
  padding: .75rem .85rem;
  height: 100%;
}

.permission-item .custom-control-label {
  cursor: pointer;
  padding-top: 1px;
}

.permission-item .custom-control-label::before,
.permission-item .custom-control-label::after {
  top: .15rem;
}

.permission-item .permission-label {
  font-weight: 600;
  color: #212529;
}

.permission-module-title {
  font-weight: 600;
  margin-bottom: 0;
}

.permission-module-subtitle {
  font-size: .8rem;
  color: #6c757d;
}

@media (max-width: 767.98px) {
  .permission-grid {
    grid-template-columns: 1fr;
  }
}