@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");
:root {
    /* Color Variables */
    --primary-color: #0069d9; /* Main color */
    --secondary-color: #fcc82c; /* Highlight color */
    --text-color: #333; /* Default text color */
    --overlay-color: rgba(0, 0, 0, 0.5); /* Overlay color */
    --background-color: #f8f9fa; /* Background color for sections */
    --white-color: #fff; /* White color for text */
    --body-color: #eef7ff; /* Body background color */
    --head-color: #023047;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: serif;
}

body {
    line-height: 1.4;
    background: var(--body-color);
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    background: var(--head-color);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
    z-index: 9;
  }
  nav .logo {
    display: flex;
    align-items: center;
    margin: 0 24px;
  }
  .logo .menu-icon {
    color: var(--text-color);
    font-size: 24px;
    /* margin-right: 14px; */
    cursor: pointer;
  }
  .logo .logo-name {
    color: var(--text-color);
    font-size: 22px;
    font-weight: 500;
  }
  nav .sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    width: 260px;
    padding: 20px 0;
    background-color: var(--white-color);
    box-shadow: 0 5px 1px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
  }
  nav.open .sidebar {
    left: 0;
  }
  .sidebar .sidebar-content {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 16px;
    overflow-y: auto;
  }
  
  .sidebar .sidebar-content::-webkit-scrollbar {
    width: 5px; /* Thin width */
  }
  
  .sidebar .sidebar-content::-webkit-scrollbar-thumb {
    background-color: #eaeaea; /* Scrollbar color */
    border-radius: 10px; /* Rounded scrollbar */
  }
  
  .sidebar .sidebar-content::-webkit-scrollbar-thumb:hover {
    background-color: #dbdbdb; /* Scrollbar color on hover */
  }
  
  .sidebar-content .list {
    list-style: none;
  }
  .list .nav-link {
    display: flex;
    align-items: center;
    margin: 3px 0;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
  }
  .lists .nav-link:hover {
    background-color: var(--primary-color);
  }
  .lists .active {
    color: var(--white-color);
    background-color: var(--primary-color);
  }
  .nav-link .icon {
    margin-right: 14px;
    font-size: 18px;
    color: #707070;
  }
  .nav-link .active {
    color: var(--white-color) !important;
  }
  .nav-link .link {
    font-size: 15px;
    color: #707070;
    font-weight: 400;
  }
  .lists .nav-link:hover .icon,
  .lists .nav-link:hover .link {
    color: var(--white-color);
  }
  .overlay {
    position: fixed;
    top: 0;
    left: -100%;
    height: 1000vh;
    width: 200%;
    opacity: 0 !important;
    pointer-events: none;
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0.3);
  }
  nav.open ~ .overlay {
    opacity: 1;
    left: 260px;
    pointer-events: auto;
  }

/* Hero Section */
.hero {
    position: relative;
    background: url('/images/hero.jpg') no-repeat center center/cover;
    height: 100vh;
    color: var(--white-color);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color); /* Semi-transparent black */
    z-index: 1; /* Ensure the overlay is below the content */
}

/* Hero Text */
.hero h1, .hero p, .hero-btn {
    position: relative;
    z-index: 2; /* Ensure the text is above the overlay */
}

.hero h1 {
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px #000;
}

.hero p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px #000;
}

.hero-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    border: none;
    font-size: 1.2rem;
    color: #000;
}

.hero-btn:hover {
    background-color: #e0a800;
}

/* Features Section */
.features {
    padding: 60px 0;
    text-align: center;
}

.features h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: bold;
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
}

.feature-item {
    margin-bottom: 30px;
}

.feature-item h4 {
    margin-top: 20px;
    font-weight: bold;
}

.how-it-works {
    padding: 60px 0;
    text-align: center;
    background-color: var(--background-color);
}

.how-it-works h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: bold;
}

.step {
    margin-bottom: 40px;
}

.step i {
    font-size: 3rem;
    color: var(--primary-color);
}

.step h4 {
    margin-top: 20px;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: var(--head-color);
    color: var(--white-color);
    padding: 40px 0;
    margin-top: 10px;
}

footer a {
    color: var(--white-color);
}

footer a:hover {
    color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}
/* Responsive adjustments */
@media (max-width: 450px) {
    nav .logo {
        margin: 0 10px;
    }
}

/* .main-heading-section{
    margin-top: 70px;
} */

.card{
    border: 0px solid rgba(0, 0, 0, 0.125);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    transition: transform 0.3s ease-in-out;
    margin-top: 10px;
    overflow: auto;
}

.row{
    margin-top: 5px;
}

/* Custom styles for the DataTable */
table.dataTable thead {
    background-color: var(--primary-color);
    color: var(--white-color);
}

table.dataTable tbody tr {
    transition: all 0.3s;
}

table.dataTable tbody tr:hover {
    background-color: #f2f2f2;
}

/* Styling pagination */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 5px 10px;
    margin: 0 2px;
    background-color: var(--primary-color);
    color: var(--white-color) !important;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    transition: background-color 0.2s;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #0056b3;
    border: 1px solid #0056b3;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #0056b3;
    border: 1px solid #0056b3;
    color: var(--white-color) !important;
}

/* Customize search box */
.dataTables_filter input {
    border-radius: 5px;
    padding: 6px;
    border: 1px solid var(--primary-color);
}

/* Customize info text */
.dataTables_info {
    font-weight: bold;
}

.table-div{
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    overflow-x: auto;
}
#table{
    min-width: 500px;
}

.active-level{
    padding: 4px;
    background: #daf6e7;
    color: #17C666;
    border-color: #daf6e7;
}

.inactive-level{
    padding: 4px;
    background: #fce3e3;
    color: #EA4D4D;
    border-color: #fce3e3
}

.warning-level{
    padding: 4px;
    background: #faf1d2;
    color: #ffcc00;
    border-color: #fff3cd
}

.info-level{
    padding: 4px;
    background: #d6f3f8;
    color: #00d5ff;
    border-color: #d1ecf1
}

p,h1,h2,h3,h4,h5,h6{
    margin-bottom: .2rem !important;
}

.header-menu{
    margin-right: 20px;
}
.header-menu-btn{
    color: var(--white-color);
    text-decoration: none;
    font-size: 16px;
    margin-right: 10px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}       

.header-menu-btn:hover{
    color: var(--secondary-color);
    text-decoration: none;
}
.header-menu .active{
    color: var(--secondary-color);
}
.dropdown {
    position: relative;
    display: inline-block;
  }

  /* Dropdown button */
  /* .dropdown img {
    background-color: #0069d9;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
  } */

  /* Dropdown content (hidden by default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    right: 0;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    text-align: left;
  }

  /* p inside the dropdown */
  .dropdown-content p {
    color: black;
    padding: 20px 10px 12px 10px;
    text-decoration: none;
    display: block;
  }
  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    padding: 8px 10px;
    text-decoration: none;
    display: block;
  }

  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {
    border-radius: 4px;
    background-color: #f1f1f1;
  }

  /* Show the dropdown content when hovering over the dropdown button */
  .dropdown:hover .dropdown-content {
    display: block;
  }

  /* Change button color on hover */
  .dropdown:hover button {
    background-color: #0056b3;
  }

  .height90vh{
    min-height: 90vh;
  }

  .select2{
    width: 100% !important;
  }
  
  .breadcrumb{
    background: none;
    margin: 0;
    cursor: pointer;
  }
  .breadcrumb-item a {
    color: #565656;
  }
  .breadcrumb-item.active a{
    color: #1068b7;
  }
  .text-grey {
    color: #808080;
  }
  .bg-brown {
    background: #ba8b50;
    color: #fff;
  }
  .bg-blue {
    background: #17a2b8;
    color: #fff;
  }
  .visibility-hidden{
    visibility: hidden;
  }
  .revenue-input:focus-visible{
border: 1px solid #d1d1d1;
  }
  