:root {
    --primary-color: #3772FF;
    --primary-hover: #4d8bff;
    --info-color: #00bbf0;
    --warning-color: #fdb44b;
    --danger-color: #d63447;
    --secondary-color: #a2a8d3;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
}

body {
    font-size: 0.875rem;
    background: #f6f8fa !important;
    font-family: "Open Sans", sans-serif !important;
    /* font-family: "Poppins", sans-serif; */
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

.custom-nav-link {
    color: #1f3c88 !important; /* Navy Blue */
}

.custom-nav-link.active {
    color: #ffffff !important; /* White for active link for better contrast */
    font-weight: 600;
}

.custom-input {
    padding: 0.2rem 0.4rem;
    font-size: 0.75rem;
    line-height: 1.3;
    border-radius: 0.2rem;
    outline: none;
    border: 2px solid #343a40;
}

/*
   * Sidebar
   */

@media screen and (max-width: 768px) {
    .custom-toggler.navbar-toggler {
        display: inline !important;
    }
}

.sidebar {
    position: sticky;
    min-width: 280px;
    max-width: 280px;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    border: 1px solid #f5f5f5 !important;
    background: #ffff !important;
    box-shadow: 0px 10px 20px 0px rgba(255, 241, 235, 0.2) !important;
    padding-left: 6px;
    overflow-x: hidden;
    overflow-y: initial;
    scrollbar-color: #a9a9a9 transparent;
    scrollbar-width: none;
}

/*
   * Sidebar
   */

   @media screen and (max-width: 576px) {
    .sidebar {
        position: absolute;
    }
}

.content {
    width: 100%;
}

.sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 48px; /* Height of navbar */
    height: calc(100vh - 48px);
    padding-top: 0.5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar ul > li > .nav-link {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 15px !important;
    font-style: normal;
    color: #333333;
    transition-duration: 0s;
}

.sidebar .sub-menu li {
    width: 100%;
}

.sidebar .sub-menu .nav-link {
    padding-left: 3.7rem;
    font-size: 14px !important;
}

.sidebar .nav-link .feather {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: #f6f8fa;
    box-shadow: 0px 10px 20px 0px rgba(255, 241, 235, 0.2);
}

.sidebar .nav-link.btn-toggle {
    border-radius: 15px 0px 0px 15px;
}

.sidebar .nav-link.active {
    display: flex;
    align-items: center;
    color: #2d3748;
    font-style: normal;
    font-weight: 600;
    /* border-radius: 15px 0px 0px 15px; */
    border-radius: 20px;
    background: #e9ecef;
    box-shadow: 0px 3.5px 5.5px 0px rgba(0, 0, 0, 0.02);
    margin: 2px;
}

.sidebar .nav-link:hover {
    display: flex;
    align-items: center;
    color: #2d3748;
    font-style: normal;
    font-weight: 600;
    border-radius: 20px;
    background: #e9ecef;
    box-shadow: 0px 3.5px 5.5px 0px rgba(0, 0, 0, 0.02);
}

.sidebar .sub-menu .nav-link.active {
    display: flex;
    align-items: center;
    color: #2d3748;
    font-style: normal;
    font-weight: 500;
    border-radius: 0px;
    /* border-radius: 20px; */
    background: #f1f3f5;
    box-shadow: 0px 3.5px 5.5px 0px rgba(0, 0, 0, 0.02);
    margin: 2px;
}

.sidebar .sub-menu .nav-link:hover {
    display: flex;
    align-items: center;
    color: #2d3748;
    font-style: normal;
    font-weight: 500;
    border-radius: 0px;
    /* border-radius: 20px; */
    background: #f1f3f5;
    box-shadow: 0px 3.5px 5.5px 0px rgba(0, 0, 0, 0.02);
}

.sidebar .sub-menu .nav-link:hover .feather,
.sidebar .sub-menu .nav-link.active .feather {
    background: #fff;
}

.sidebar-heading {
    font-size: 12px;
    font-weight: 600;
    color: #2d3748 !important;
    text-transform: uppercase;
}

.right {
    margin-left: auto !important;
    position: relative;
    top: 2px;
}

/*
   * Navbar
   */

@media screen and (max-width: 576px) {
    .navbar-collapse {
        z-index: 100;
        background: rgb(233 235 237 / 84%);
        padding: 15px;
    }
}

.navbar-brand {
    padding-bottom: 0.75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, 0.25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25);
}

.navbar .form-control {
    padding: 0.75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.navbar {
    flex-shrink: 0;
    border: 1px solid #f5f5f5 !important;
    background: #ffff !important;
    box-shadow: 0px 10px 20px 0px rgba(255, 241, 235, 0.2) !important;
}

.navbar-brand {
    color: #000 !important;
    font-family: Poppins !important;
    font-size: 19px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 40px !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Set the border color */

.custom-toggler.navbar-toggler {
    border-color: lightgreen;
}
/* Setting the stroke to green using rgb values (0, 128, 0) */

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 128, 0, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.feather {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    background: #fff;
}

.widget-card {
    border-radius: 10px;
    background: #fff;
    border: none !important;
    box-shadow: 0px 10px 20px 0px rgba(255, 241, 235, 0.2);
}

.page-heading {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
}

.widget-success {
    border-radius: 16px;
    background: rgba(0, 167, 77, 0.15);
}

.widget-danger {
    border-radius: 16px;
    background: rgba(231, 54, 73, 0.15);
}

.widget-warning {
    border-radius: 16px;
    background: rgba(255, 194, 56, 0.15);
}

.widget-info {
    border-radius: 16px;
    background: rgba(0, 162, 182, 0.15);
}

.widget-title {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.widget-count {
    margin-top: 10px;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
}
/*
   * Utilities
   */

.border-top {
    border-top: 1px solid #e5e5e5;
}
.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

/*
    * table responsive
  */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 575.98px) {
    .table-responsive-sm {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 767.98px) {
    .table-responsive-md {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 991.98px) {
    .table-responsive-lg {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1199.98px) {
    .table-responsive-xl {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1399.98px) {
    .table-responsive-xxl {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.card:not(.table-card) .table-responsive {
    margin-left: -1rem;
    margin-right: -1rem;
}

.table.modal-table td,
.table.modal-table th {
    white-space: normal;
}

div.dt-buttons {
    padding-left: 10px !important;
}

div.dataTables_info {
    padding-left: 10px !important;
}

div.dataTables_paginate {
    padding-right: 10px !important;
}

div.dataTables_filter {
    padding-right: 10px !important;
}

.exportButton {
    background-color: white; /* Green */
    border: 2px solid #e7e7e7;
    color: black;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 0px 4px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.exportButton:hover {
    background-color: #e7e7e7;
    color: black;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

/* Custom Style */
#racksContainer .card {
    margin-bottom: 1rem;
}

.custom-card {
    border: 0;
    border-radius: 10px;
    margin-bottom: 24px;
    box-shadow: 0 6px 30px rgba(182, 186, 203, 0.3);
    transition: box-shadow 0.2s ease-in-out;
}

.custom-card .card-header {
    background-color: #fff;
    border-bottom: 1px solid #f1f1f1;
}

.custom-card .card-header:first-child {
    border-radius: 10px 10px 0 0 !important;
}

.custom-card .card-header:not(.border-0) h5:after,
.custom-card .card-header:not(.border-0) .h5:after {
    content: "";
    height: 30px;
    width: 3px;
    background: var(--primary-color);
    position: absolute;
    left: 0px;
    top: 15px;
    border-radius: 0 3px 3px 0;
}

.custom-card .card-header .card-title {
    margin-bottom: 0;
    padding: 8px;
}

.custom-card .card-body {
    padding: 25px;
}

.custom-card .card-footer {
    background-color: #fff;
    padding: 25px !important;
    border-top: 1px solid #f1f1f1;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.custom-card .card-footer:last-child {
    border-radius: 0 0 10px 10px !important;
}

.btn:focus {
    box-shadow: none !important;
}

div.dataTables_info,
div.dt-buttons {
    padding-left: 0 !important;
}

div.dt-buttons button:first-child {
    margin-left: 0 !important;
}

div.dataTables_paginate,
div.dataTables_filter {
    padding-right: 0 !important;
}

.nav-user {
    text-decoration: none;
    color: #000;
}

.nav-user-dropdown {
    font-size: 1em;
}

.img-circle {
    border-radius: 50%;
}


.login-box,
.register-box {
  width: 480px;
}

@media (max-width: 576px) {
  .login-box,
  .register-box {
    margin-top: .5rem;
    width: 90%;
  }
}

.login-page {
    font-family: Poppins;
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
    -ms-flex-pack: center;
    justify-content: center;
}
.register-page {
    font-family: Poppins;
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    margin-top: 20px;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
}
