

/*--------------------------------------------------------------
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');
body {
  font-family: "Poppins", sans-serif;
  color: #444444;
  width: 100%;
  height: calc(100%);
  font-size: .813rem;
  background-color: #f9fafe;
}

a {
  color: #1977cc;
}

a:hover {
  color: #3291e6;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}


/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background: #1977cc;
  color: #fff;
  transition: all 0.4s;
}

.back-to-top i:hover {
  background: #1c84e3;
  color: #fff;
}

.datepicker-dropdown {
  padding: 20px !important;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
.navbar-light{
  background: #f9fafe;
}
#topbar {
  background: #fff;
  height: 40px;
  font-size: 14px;
  transition: all 0.5s;
}

#topbar.topbar-scrolled {
  top: -40px;
}

#topbar .contact-info a {
  line-height: 1;
  color: #444444;
  transition: 0.3s;
}

#topbar .contact-info a:hover {
  color: #1977cc;
}

#topbar .contact-info i {
  color: #1977cc;
  padding-right: 4px;
  margin-left: 15px;
}

#topbar .contact-info i:first-child {
  margin-left: 0;
}

#topbar .social-links a {
  color: #437099;
  padding-left: 15px;
  display: inline-block;
  line-height: 1px;
  transition: 0.3s;
}

#topbar .social-links a:hover {
  color: #1977cc;
}

#topbar .social-links a:first-child {
  border-left: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
  top: 40px;
  box-shadow: 0px 2px 15px rgba(25, 119, 204, 0.1);
}

#header.header-scrolled {
  top: 0;
}

#header .logo {
  font-size: 32px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: "Poppins", sans-serif;
}

#header .logo a {
  color: #2c4964;
}

#header .logo img {
  max-height: 40px;
}

@media (max-width: 992px) {
  #header {
    top: 0;
  }
  #header .logo {
    font-size: 28px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul {
  display: flex;
}

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
  padding: 8px 0 8px 20px;
}

.nav-menu a {
  display: block;
  position: relative;
  color: #2c4964;
  transition: 0.3s;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  padding: 5px 2px;
  border-bottom: 2px solid #fff;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  color: #1977cc;
  border-color: #1977cc;
}

.nav-menu .drop-down ul {
  display: block;
  position: absolute;
  left: 20px;
  top: calc(100% + 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.nav-menu .drop-down:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.nav-menu .drop-down li {
  min-width: 180px;
  position: relative;
}

.nav-menu .drop-down ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #082744;
  border: none;
}

.nav-menu .drop-down ul a:hover, .nav-menu .drop-down ul .active > a, .nav-menu .drop-down ul li:hover > a {
  color: #1977cc;
}

.nav-menu .drop-down > a:after {
  content: "\ea99";
  font-family: "Raleway", sans-serif;  
  padding-left: 5px;
}

.nav-menu .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
}

.nav-menu .drop-down .drop-down:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
}

.nav-menu .drop-down .drop-down > a {
  padding-right: 35px;
}

.nav-menu .drop-down .drop-down > a:after {
  content: "\eaa0";
  font-family: "Raleway", sans-serif;
  position: absolute;
  right: 15px;
}

@media (max-width: 1366px) {
  .nav-menu .drop-down .drop-down ul {
    left: -90%;
  }
  .nav-menu .drop-down .drop-down:hover > ul {
    left: -100%;
  }
  .nav-menu .drop-down .drop-down > a:after {
    content: "\ea9d";
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #1977cc;
}

.mobile-nav {
  position: fixed;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  z-index: 9999;
  overflow-y: auto;
  background: #fff;
  transition: ease-in-out 0.2s;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
  padding: 10px 0;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #2c4964;
  padding: 10px 20px;
  font-weight: 500;
  outline: none;
}

.mobile-nav a:hover, .mobile-nav .active > a, .mobile-nav li:hover > a {
  color: #1977cc;
  text-decoration: none;
}

.mobile-nav .drop-down > a:after {
  content: "\ea99";
  font-family: "Raleway", sans-serif;
  padding-left: 10px;
  position: absolute;
  right: 15px;
}

.mobile-nav .active.drop-down > a:after {
  content: "\eaa1";
}

.mobile-nav .drop-down > a {
  padding-right: 35px;
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
}

.mobile-nav .drop-down li {
  padding-left: 20px;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(28, 47, 65, 0.6);
  overflow: hidden;
  display: none;
  transition: ease-in-out 0.2s;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 90vh;
  background: url("../img/no-img.jpg") top center;
  background-size: cover;
  position: relative;
  margin-bottom: -200px;
}

#hero .container {
  position: relative;
}

#hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  text-transform: uppercase;
  color: #2c4964;
}

#hero h2 {
  color: #2c4964;
  margin: 10px 0 0 0;
  font-size: 24px;
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 35px;
  margin-top: 30px;
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  background: #1977cc;
}

#hero .btn-get-started:hover {
  background: #3291e6;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 992px) {
  #hero {
    margin-bottom: 0;
    height: 100vh;
  }
  #hero .container {
    padding-bottom: 63px;
  }
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

@media (max-height: 500px) {
  #hero {
    height: auto;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f1f7fd;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #2c4964;
}

.section-title h2::before {
  content: '';
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #1977cc;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background-color: #f1f7fd;
  min-height: 40px;
  margin-top: 120px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 63px;
  }
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 992px) {
  .breadcrumbs h2 {
    margin: 0 0 10px 0;
  }
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs ol {
    display: block;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}


/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  background: #f1f7fd;
  padding: 70px 0 60px;
}

.counts .count-box {
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  background: #fff;
}

.counts .count-box i {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  background: #1977cc;
  padding: 12px;
  color: #fff;
  border-radius: 50px;
}

.counts .count-box span {
  font-size: 36px;
  display: block;
  font-weight: 600;
  color: #082744;
}

.counts .count-box p {
  padding: 0;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    color: #444444;
    font-size: 14px;
    background: #f1f7fd;
    position: absolute;
    bottom: 0;
}
nav#sidebar {
    height: calc(95%);
    position: fixed;
    z-index: 99;
    left: 10px;
    width: 180px;
    font-size: 12px;
    top: 7.2em;
    padding: 10px 0 0 9px;
    border-radius: 12px;
}
a.nav-item {
    position: relative;
    display: block;
    padding: .90rem 1.25rem;
    background-color: #ffffffc4;
    color: #332e38;
    font-size: 16px;
    margin-bottom: 5px;
}
a.nav-item:hover, .nav-item.active {
    background-color: rgba(60, 33, 247, 0.15);
    border-radius: 12px 0 0 12px;
    border-right: 4px solid #3c21f7;
    color: #3c21f7;
}
main#view-panel{
    margin-left: 160px;
    width: calc(100% - 125px);
    margin-top: 4.8em;
    padding: 0.5em;
}

/*--------------------------------------------------------------
# Responsive layout adjustments
--------------------------------------------------------------*/
@media (max-width: 768px){
  /* Backdrop when the sidebar is open */
  body.sidebar-open::before{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.35);
    z-index: 98;
  }

  /* Make the sidebar an off-canvas drawer */
  nav#sidebar{
    left: 0;
    top: 4.4rem;
    width: 260px;
    height: calc(100% - 4.4rem);
    padding: 10px 0 0 10px;
    border-radius: 0;
    background: #fff;
    transform: translateX(-110%);
    transition: transform .2s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
  }
  body.sidebar-open nav#sidebar{
    transform: translateX(0);
  }

  /* Full-width content on mobile */
  main#view-panel{
    margin-left: 0;
    width: 100%;
    padding: .25rem;
  }

  /* Reduce excessive gutters/padding on small screens */
  .container,
  .container-fluid{
    padding-left: .5rem !important;
    padding-right: .5rem !important;
  }

  /* Cards/content blocks: tighter spacing on mobile */
  .card{
    margin-bottom: .5rem;
  }
  .card-body{
    padding: .75rem;
  }

  /* Form controls/buttons slightly tighter */
  .form-control{
    padding: .5rem .65rem;
  }

  /* Tables should scroll horizontally instead of breaking layout */
  table.table:not(.dataTable){
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dataTables_wrapper{
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Improve tap targets */
  .btn, .btn-sm{
    padding: .45rem .6rem;
    font-size: 0.95rem;
  }

  /* Modal sizing on small screens */
  .modal-dialog{
    width: 80vw !important;
    max-width: 80vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 1rem;
  }

  .modal-content{
    border-radius: 8px;
  }

  .modal-dialog.large, .modal-dialog.mid-large{
    width: 80vw !important;
    max-width: 80vw !important;
  }

  a.nav-item{
    font-size: 16px;
    padding: .85rem 1rem;
  }
}
.toast{
  display: none;
  min-width: 20vw
}
.toast.show {
    display: block;
    opacity: 1;
    position: fixed;
    z-index: 99999999;
    margin: 20px;
    right: 0;
    top: 3.5rem;
}
main#main.login {
    margin-top: unset;
}
.unselectable {
    z-index: 99;
}
a.jqte_tool_label.unselectable {
    height: auto !important;
    min-width: 4rem !important;
    padding:5px
}
#sidebar .collapse a{
  text-indent: 50px;
}
span.stat-icons {
    position: absolute;
    font-size: 3em;
    bottom: 0;
    color: #0000005c;
}

.btn span.fa {         
  opacity: 0;       
}
.btn.active span.fa {        
  opacity: 1;       
}
.laundry-logo {
    width: 1em;
    height: 1.3em;
    padding: unset;
    margin: unset;
}
.laundry-logo::before{
  content: url(../img/laundry.svg);
}
.justify-content-center {
    justify-content: center !important;
}
.align-items-center {
    align-items: center !important;
}
.align-self-end {
    align-self: flex-end !important;
}
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: smaller;
    color: #000000cf;
    font-style: italic;
}
hr.divider {
    border-top-color: #007bff;
    max-width: calc(30%);
}
span.select2-selection.select2-selection--single {
    min-height: 2.5rem;
    border-color: #ced4da;
    font-size: unset;
    padding: .3em .2em;
}
span.select2-selection__arrow {
    top: .3rem !important;
  }
  .btn-sm{
        padding: .0001rem .2rem;
  }
label{
  font-size: 14px;
}
.btn-primary {
    color: #fff;
    background-color: #3c21f7;
    border-color: #3c21f7;
}
.dashboard .card{
  border-radius: 20px;
}
.dashboard .card .text-white-75, .dashboard .card .text-lg, .dashboard .card .card-body .fa{
  font-size: 20px;
}
#page {
    display: none;
}
#loading {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1060;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    background-image: url("./assets/img/loader.gif");
    background-repeat: no-repeat;
    background-position: center;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{
    color: #fff !important;
    background: #3c21f7;
    border-color: #3c21f7;
}
.btn.edit_course, .btn.delete_course, .btn.view_payment, .btn.edit_fees, .btn.delete_fees, .btn.edit_student, .btn.delete_student,
.btn.edit_payment, .btn.delete_payment, .btn.delete_loan, .btn.edit_loan, .btn.delete_plan, .btn.edit_plan, .btn.delete_borrower, .btn.edit_borrower, .btn.edit_ltype, .btn.delete_ltype {
     padding: 4px 8px;
}
.display-6{
  font-size: 20px;
}
.table-bordered td, .table-bordered th{
  white-space: nowrap;
}



/* Responsive tables (mobile) */
.table-responsive{
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 768px){
  .table-responsive{ margin-bottom: 1rem; }
  .dataTables_wrapper{ overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 576px){
  /* Give tables a minimum width so they scroll instead of squishing columns */
  .table-responsive > table{ min-width: 720px; }
  .dataTables_wrapper table{ min-width: 720px; }
}


/* Mobile: use full screen width (no gutters) */
@media (max-width: 768px){
  body, #page-top, #wrapper, #content, main#view-panel{
    width: 100% !important;
    max-width: 100% !important;
  }
  main#view-panel{
    padding: 0 !important;
  }
  .container, .container-fluid{
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .row{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  [class^="col-"], [class*=" col-"]{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .card{
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
  }
  .card-body, .card-header, .card-footer{
    padding-left: .5rem !important;
    padding-right: .5rem !important;
  }
  .table-responsive{
    border-radius: 0 !important;
  }
}

/* Login logo sizing */
.login-logo-img{
  width: 220px;
  max-width: 70vw;
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;
}
@media (max-width: 420px){
  .login-logo-img{
    width: 180px;
    max-width: 70vw;
  }
}



/* Modal width (phones + tablets): centered 80% */
@media (max-width: 991.98px){
  .modal-dialog{
    width: 80vw !important;
    max-width: 80vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Modal width (uni_modal): centered, ~80% width on phone/tablet */
@media (max-width: 991.98px){
  /* higher specificity to beat Bootstrap defaults */
  .modal.show .modal-dialog,
  #uni_modal.show .modal-dialog{
    width: 80vw !important;
    max-width: 80vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
