
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    background-color: #F4F5F6 !important;
    font-family: 'Open Sans';
    box-sizing: border-box;
}

body.g-sidenav-hidden .custom-logo {
  transform: scale(0.6);
  transition: transform 0.3s ease;
}

.custom-all-notifications {
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  z-index: 1000;
  width: 320px;
}


.navbar-vertical.navbar-expand-xs .navbar-collapse {
  overflow: hidden;
}

.form-check label {
  font-weight: normal;
}

.dataTable-bottom {
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  margin-top: 32px !important;
}

.dataTable-container {
  margin-bottom: 64px;
}

h6 {
  font-weight: bold;
  font-size: 18px;
}

nav[aria-label="breadcrumb"] > h6 {
  display: none;
}

.sidenav-togglers {
  margin-bottom: 0 !important;
}

ol .breadcrumb-item.text-dark {
  margin-top: 0 !important;
}

.navbar.navbar-main {
  padding: 24px 16px !important;
}

.text-sm {
  font-size: 16px !important;
}

.dropdown .dropdown-menu-end li a {
  font-size: 16px !important;
}

.custom-tabs-container button:not(.custom-btn) {
  font-size: 16px;
}

label,
label.form-label {
  font-size: 18px !important;
}

.custom-btn {
  border-radius: 50px !important;
  background-color: #553583 !important;
  color: white !important;
  font-size: 16px;
}

.custom-secondary-btn {
  border-radius: 50px !important;
  background-color: #F0E4F2 !important;
  color: #371D4A !important;
}

/* .container-fluid.pb-4 .card h5:first-child {
  font-size: 26px;
} */

h5 {
  font-weight: bold;
}

.custom-auth-form-card {
    width: 500px;
    margin-left: 10%;
}

.custom-switch-color.form-switch .form-check-input:checked {
    border-color: #8C8C8C;
    background-color: #8C8C8C;
}

.form-check-input:checked[type="radio"] {
    background-image: linear-gradient(310deg, #553583 0%, #553583 100%);
}

input[type="checkbox"] {
  accent-color: #553583;
  color: white !important;
}

.custom-table-header .dataTable-wrapper .dataTable-container .table thead tr th,
.custom-table-header .dataTable-wrapper .dataTable-container .table tbody tr td {
    padding: 0.5rem !important;
}

.dataTable-wrapper .dataTable-container .table tbody tr td div img.avatar {
    margin-left: 0 !important;
}

.form-switch .form-check-input:checked {
    background-color: rgba(69, 91, 238, 0.95);
    border-color: rgba(69, 91, 238, 0.95);
}

.custom-striped-table tr:nth-child(even) {
    background-color: #E9ECEF;
}

.custom-striped-table tr:nth-child(even).custom-total-row {
    background-color: transparent;
}

.form-control:focus {
  border-color: #1F36C7;
  outline: 0;
  box-shadow: 0 0 0 1px #1F36C7;
}

.custom-status {
    width: 130px;
    height: 35px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.custom-green-status {
    background-color: #C8FFDC;
    color: #2DB25E;
}

.custom-red-status {
    background-color: #FCDADA;
    color: #F81E1E;
}

.custom-purple-status {
    background-color: #D5DBFF;
    color: #1F36C7;
}

.custom-yellow-status {
    background-color: #FFF4D5;
    color: #E8B419;
}

.custom-table-red-row {
    background-color: #FFEFEF;
}

.custom-aside-container {
    background-color: #F4F5F6 !important;
}

.logo-container {
    margin-left: 48px;
    margin-top: 32px;
}

.custom-icon-container {
    min-width: 32px;
    min-height: 32px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
    background-image: linear-gradient(310deg, #FFFFFF 0%, #FFFFFF 100%) !important;
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.1);
}

.navbar-vertical .navbar-nav .nav-link.active {
    box-shadow: 0px 20px 27px #0000000D;;
}

#sidenav-collapse-main {
    margin-top: 20px;
}

.dataTable-sorter::after,
.dataTable-sorter::before {
    display: none;
}

.dataTable-table th a {
    text-transform: uppercase;
    color: #181B34;
    font-weight: 700;
    font-size: 16px;
}

.dataTable-wrapper .dataTable-bottom .dataTable-pagination  {
  margin-top: 32px;
}

.dataTable-wrapper .dataTable-bottom .dataTable-pagination .dataTable-pagination-list .active a,
.dataTable-wrapper .dataTable-bottom .dataTable-pagination .dataTable-pagination-list .active a:hover {
    background-image: linear-gradient(310deg, #553583 0%, #553583  100%);
}

.dataTable-wrapper .dataTable-top {
    padding-top: 0;
  }

.custom-icon-container img {
    width: 16px !important;
}

.navbar-vertical .navbar-nav .nav-item .collapse .nav .nav-item .nav-link, .navbar-vertical .navbar-nav .nav-item .collapsing .nav .nav-item .nav-link {
    color: #747685;
}

.navbar-vertical .navbar-nav .nav-item .collapse .nav .nav-item .nav-link:before, .navbar-vertical .navbar-nav .nav-item .collapsing .nav .nav-item .nav-link:before {
    background: #747685;
}

.navbar-vertical .navbar-nav .nav-item .collapse .nav .nav-item.active .nav-link, 
.navbar-vertical .navbar-nav .nav-item .collapsing .nav .nav-item.active .nav-link,
.navbar-vertical.navbar-expand-xs .navbar-nav .nav-link {
    color: #67748E;
    font-size: 16px;
}

.custom-table-negative {
  margin-top: -80px;
}

.navbar-vertical .navbar-nav>.nav-item .nav-link.active {
    background-color: white !important;
    color: #252F40 !important;
}

.navbar-vertical .navbar-nav>.nav-item .nav-link.sub-nav-item.active {
    background-color: transparent !important;
    color: white !important;
}

.navbar-vertical .navbar-nav .nav-item .collapse .nav .nav-item .nav-link.active:before {
  background-color: white;
}

.navbar-vertical .navbar-nav>.nav-item .nav-link.active .custom-icon-container {
    background-image: linear-gradient(310deg, #FFFFFF 0%, #FFFFFF 100%) !important;
}

.navbar-vertical .navbar-nav>.nav-item .nav-link.active {
  background: transparent linear-gradient(180deg, #553583 0%, #553583 100%) 0% 0% no-repeat padding-box !important;
  color: white !important;
  border-radius: 8px !important;
}

.navbar-vertical .navbar-brand>img, .navbar-vertical .navbar-brand-img {
    max-width: 120px;
    max-height: 160px;
}

.navbar-vertical .navbar-nav .nav-link[data-bs-toggle=collapse]:after {
    display: none;
}

.responsive-container {
    padding: 2rem;
}

.custom-welcome-content {
    width: 70%;
    max-width: 70%;
}

.custom-dropdown {
    position: relative;
    width: 100%;
  }
  
  .custom-dropdown .btn {
    width: 100%;
    height: 40px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px !important;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .custom-dropdown .btn .fa-chevron-down {
    font-size: 12px;
  }
  
  .custom-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: white;
    border-radius: 8px;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
  }
  
  .custom-dropdown-menu.show {
    display: block;
  }

  .custom-dropdown-menu .custom-dropdown-search-container {
    margin: 12px;
  }
  
  .custom-dropdown-menu input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
  }
  
  .custom-dropdown-menu ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
  }
  
  .custom-dropdown-menu li {
    cursor: pointer;
  }
  
  .custom-dropdown-menu li:hover {
    background-color: #666CFF29;
  }

  .custom-dropdown-menu li:hover a {
    color: #4573D2;
  }

  .custom-voucher-container {
    border: 2px solid #2A5792;
    border-radius: 16px;
    overflow: hidden;
  }

  .custom-voucher-item {
    padding: 24px;
  }

  .custom-voucher-border-top {
    border-top: 2px solid #2A5792;
  }
  
  .custom-voucher-border-bottom {
    border-bottom: 2px solid #2A5792;
  }
 
  .custom-voucher-border-right {
    border-right: 2px solid #2A5792;
  }

  @media (min-width: 768px) {
    div.custom-tabs-container{
      width: max-content !important;
    }
  }

@media screen and (max-width: 768px) { 
  .custom-table-negative {
    margin-top: -20px;
  } 
    .custom-dropdown .btn {
        width: 100%;
      }
      
      #sidebar {
          padding: 16px;
          width: 90%;
          position: fixed;
          left: 0;
          top: 0;
          background-color: white;
          box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.1);
          height: 100vh;
          z-index: 1050;
          transform: translateX(-100%);
          transition: transform 0.3s ease;
        }
    
        #sidebar.show {
          transform: translateX(0);
        }
    
        .navbar-toggler {
          display: block;
          cursor: pointer;
        }

    .custom-auth-form-card {
        width: 100%;
        margin-left: 0;
        margin-top: 100px;
    }

    .custom-signup-container {
      height: 100% !important;
    }

    .responsive-container {
        flex-direction: column;
        align-items: flex-start;
        background-size: cover; 
        background-position: top;
        height: max-content;
        padding: 1rem;
      }

      .custom-welcome-content {
        width: 100% !important;
        max-width: 100% !important;
      }
  
      .responsive-image {
        display: none;
      }

      .custom-voucher-border-right {
        border-bottom: 2px solid #2A5792;
        border-right: 0;
      }

      .custom-email-notification-wrapper {
        width: 90% !important;
      }
}

@media (max-width: 576px) {
  .custom-all-notifications {
    width: 250px;
    transform: translateX(-50%);
    left: -90%;
  }
}