html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: 'Public Sans', sans-serif;
}
body {
    background: #f8f7fa !important;
    overflow-x: hidden;
}

/*Login page*/
.login_section {background: #f8f7fa; position: relative; overflow: hidden;}
.logincredentials {display: flex;height:100vh;}
.login_card{background:#fff;width:40%;display:flex;align-items:center;justify-content:center;box-shadow:-25px 0 50px rgba(0, 0, 0, 0.15)}
.login_card .card{padding:0px 50px;border:none;width:100%;}
.left_img .detail_img{width:100%;height:auto;padding:75px;}
.left_img .logo{width:100px;}
.left_img{width:60%;display:flex;align-items:center;justify-content:center;}
.login_card .card .logo{width:150px;margin-bottom:15px;}
.login_card .card h1{font-size:25px;font-weight:600;margin-top:10px;margin-bottom:10px;color:#444050;}
.login_card .card .form{padding:20px 0px;}
.login_card .card .form label{font-size:14px;font-weight:400;}
.login_card .card .form .form-control{font-size:15px !important;padding:10px !important;font-weight:500;background:transparent;transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;}
.login_card .card .form .form-control::placeholder{font-size:14px !important;color:#6c757d !important;}
.login_card .card .form .text-red{font-size:14px !important;color:red !important;}
.login_card .card .form .form-control:focus {border-color: #667eea;box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);background: #fff;transform: translateY(-1px);}
.login_card .card .form .form-group{position:relative;}
.login_card .card .form .passicon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(0%);
    font-size: 18px;
    color: #6c757d;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login_card .card .form .passicon:hover {color: #667eea;transform: translateY(0%) scale(1.1);}
.login_card .card .form .passicon.active {color: #11998e;}
.login_card .card .form .passicon .fa-eye-slash {animation: pulse 2s infinite;}
.login_card .card .form .btn_login {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}
.login_card .card .form .btn_login .login_btn {
    width: 100%;
    height: 45px;
    padding: 0 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}
.login_card .card .form .btn_login .login_btn:hover {
    background-position: right center;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.6);
}
.login_card .card .form .btn_login .login_btn:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}
.login_card .card .form .btn_login .login_btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.3);
}
.login_card .card .form .btn_login .login_btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
}
.login_card .card .form .btn_login .login_btn:active::before {
    width: 300px;
    height: 300px;
    margin-left: -150px;
    margin-top: -150px;
    top: 50%;
    left: 50%;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@media only screen and (max-width: 767px) {
    .logincredentials{flex-direction:column-reverse;height:auto;}
    .left_img{width:100%;}
    .login_card{width:100%;}
    .left_img .detail_img{padding:0px;}
    .login_card .card{margin-top:20px;}
}

img.usericon {
    width: 40px;
    border-radius: 20px;
    height: 40px;
    object-fit: cover;
    border: 1px solid #616a75;
    margin-right: 5px;
}

.pre-loader {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000d9;
    z-index: 999999;
    text-align: center;
    line-height: 100vh;
}
.custom_button1.disabled {
    pointer-events: none; /* Prevent clicks */
    opacity: 0.5; /* Make it look disabled */
    cursor: not-allowed; /* Change the cursor to indicate it is disabled */
}

span.total_counts {
  display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 5px;
    /* background: #f2f2f2; */
    border-bottom: 1px solid #f2f2f2;
}
.border_0 {
    border-bottom: none !important;
}
/* width */
::-webkit-scrollbar {
  width: 3px;
  height: 3px;
 
}
/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 3px grey; 
  border-radius:3px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #3bc0c3; 
  border-radius: 3px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #314361; 
}


input.btn.btn-secondary:focus {
    box-shadow: none !important;
}
button.export_btn {
    padding: 5px 10px;
    border: 1px solid #616a75;
    border-radius: 5px;
    background: #616a75;
    font-size: 15px !important;
    font-weight: 400;
    color: #fff;
    box-shadow: 0rem 0.125rem 0.25rem #1f21241a, 0rem 0.0625rem 0.375rem #616a75;
}
button.export_btn:hover {
    border: 1px solid #000000;
    background: #000000;
}
a.btn.custom_tblbtn {
    background: #a1edd0;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 15px !important;
}

select.btn.custom_tblbtn {
    background: #a1edd0;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 15px !important;
}

table.dataTable.hover>tbody>tr:hover>*,
table.dataTable.display>tbody>tr:hover>* {
    background: transparent !important;
    box-shadow: none !important;
}


table.dataTable.order-column>tbody tr>.sorting_1,
table.dataTable.order-column>tbody tr>.sorting_2,
table.dataTable.order-column>tbody tr>.sorting_3,
table.dataTable.display>tbody tr>.sorting_1,
table.dataTable.display>tbody tr>.sorting_2,
table.dataTable.display>tbody tr>.sorting_3 {
    box-shadow: none !important;
}

.tbl_flex_img img {
    width: 200px;
}

.tbl_flex_img iframe {
    width: 200px;
    height: 100px;
}

.fixed_header {
    overflow: auto;
    position: relative;
}

.customtable {
    position: relative;
}

.customtable table {
    position: relative;
    border-collapse: collapse;
    width: 100%;
    z-index: 0;
}

.customtable td,
.customtable th {
    padding: 8px 16px;
}
.customtable td a{
    cursor: pointer;
}

.customtable thead th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background: #f9fafb;
    color: #000000;
    z-index: 1;
    white-space: nowrap;
    border-bottom: 1px solid #dde0e4;
     font-size: 14px;
}

.customtable tbody td {
    top: 0;
    background: #fff;
    color: #000;
    z-index: 0px;
    font-size: 14px;
}

td.ifno {
    white-space: nowrap;
}

.fixed_header tbody td {
    white-space: nowrap;
}

.fixed_header thead th {
    white-space: nowrap;
}

.customtable tbody tr {
    border-bottom: 1px solid #dde0e4;
}

.customtable tbody tr td p.title_head {
    font-size: 14px;
    font-weight: 600;
}

.customtable tbody tr td p.title_date {
    font-size: 12px;
    color: #9d9d9d;
}

.customtable tbody tr td p {
    margin-bottom: 2px;
    font-weight: 500;
}

.form-control {
    font-size: 15px !important;
}

table.dataTable span.dtr-data input.btn.btn-sm.btn-secondary {
    background: #a1edd0;
    border: none;
    padding: 2px 8px;
    font-size: 15px !important;
    border-radius: 18px;
    color: #000000;
    font-weight: 600;
}

a.sidebar__nav_link.disabled-link {
    pointer-events: none;
    color: #dddddd !important;
}

a.sidebar__nav_link.disabled-link .fa {
    color: #dddddd !important;
}

.usericon {
    width: 40px;
    border-radius: 20px;
    height: 40px;
    object-fit: cover;
    border: 1px solid #616a75;
    margin-right: 5px;
}
.letter-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    border: 2px solid #e2e8f0;
}
ul.navbar-nav.ml-auto.right_dropdowns li a {
    padding: 0px;
}

.fixed-top {
    background: #ffffff;
     box-shadow: 0 1px 3px rgba(27, 23, 30, 0.1);
    z-index: 1;
}

span.wlcome {
    color: #1f2124;
    font-size: 15px;
    font-weight: 600;
    display:inline-flex;
    align-items:center;
}
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}

.search-container {
    position: relative;
    width: 300px;
    max-width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px 45px;
    border: 2px solid rgba(148,163,184,0.2);
    border-radius: 25px;
    background: rgba(255,255,255,0.9);
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
    transform: scale(1.02);
}

.search-icon, .clear-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #64748b;
    pointer-events: none;
}

.search-icon { left: 15px; }
.clear-icon { 
    right: 15px; 
    cursor: pointer;
    display: none;
}
.search-input:not(:placeholder-shown) + .clear-icon { display: block; }

.notification-btn {
    position: relative;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.notification-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1) rotate(10deg);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.7); }
    70% { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
    100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

.dropdown-menu.custom_dpmenu.show {
    padding: 0px;
    margin-top: 16px;
    right: 0;
    left: -70px;
}

.dropdown-menu.custom_dpmenu.show a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    font-size: 15px;
}

.dropdown-menu.custom_dpmenu.show a:hover {
    background: #f1f2f4;
}

.dropdown-menu.custom_npmenu.show {
    padding: 0px;
    margin-top: 8px;
    max-height: 60vh;
    width: 23.75rem;
    overflow: auto;
    left: -11.05rem;
}

.dropdown-menu.custom_npmenu.show a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid #f2f2f2;
    font-size: 15px;
}

.dropdown-menu.custom_npmenu.show a:hover {
    background: #f1f2f4;
}

a.navbar-brand {
    font-weight: bold;
    width: 100%;
    padding: 0px;
    margin: 0px;
    color: #fff;
    font-weight: 700;
}
img.header_logo {
    width: 66px;
}

ul.navbar-nav.ml-auto.right_dropdowns {
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.navbar-nav .dropdown-menu a {
    padding: 8px !important;
}

a.nav-link.dropdown-toggle.badge_bell .fa {
    font-size: 15px;
    color: #616a75;
    padding: 8px;
}

a.nav-link.dropdown-toggle.badge_bell {
    position: relative;
}

span.badge.badge-secondary {
    position: absolute;
    animation: 0;
    top: 0;
    right: 10px;
    background: red;
}

a.nav-link.dropdown-toggle.badge_bell::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #000000;
}

.form-group.has-search input {
    background: #f1f2f4;
    padding-left: 40px !important;
}

.form-group.has-search ::placeholder {
    padding-left: 0px;
    color: #000000;
}

.form-group.has-search {
    margin: 0px;
    width: 36.25rem;
}

.top_product_content a img {
    width: 24px;
}

.top_product_content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.middle_product {
    margin-bottom: 20px;
    width: 100%;
    display: block;
    background: #17171c;
    border-radius: 5px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.middle_date_picker {
    margin-bottom: 20px;
    width: 100%;
    display: block;
}

span.datepicsearch input {
    position: relative;
    /* padding: 16px; */
    border: none;
    width: 25px;
    height: 25px;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: url(../../assets/img/search_icon1.png) no-repeat;
    background-size: 22px;
}

span.datepicsearch {
    padding: 5px 10px;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
    /* font-size: 15px; */
    display: flex;
    justify-content: center;
    background: #fff;
    align-items: center;
    font-weight: 400;
    box-shadow: 0rem 0.125rem 0.25rem #1f21241a, 0rem 0.0625rem 0.375rem #1f21240d;
    background: #fff;
}

.middle_date_picker a {
    color: #1f2124;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    font-weight: 500;
    margin-left: auto;
}

.middle_flt.datebtn {
    padding: 5px 10px;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
    background: #ffffff;
    font-size: 15px;
    font-weight: 400;
    width: max-content;
    box-shadow: 0rem 0.125rem 0.25rem #1f21241a, 0rem 0.0625rem 0.375rem #1f21240d;
    display: flex;
    align-items: center;
}


a.clear_filter {
    margin-left: auto;
    font-weight: 900;
}

.datebtn {
    padding: 5px 10px;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
    background: #ffffff;
    font-size: 15px;
    font-weight: 400;
    box-shadow: 0rem 0.125rem 0.25rem #1f21241a, 0rem 0.0625rem 0.375rem #1f21240d;
}

input.btn.datebtn {
    padding: 5px 10px;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
    background: #ffffff;
    font-size: 15px !important;
    font-weight: 400;
    box-shadow: 0rem 0.125rem 0.25rem #1f21241a, 0rem 0.0625rem 0.375rem #1f21240d;
}

.middle_flt.datebtn input.dtrangeinput {
    border: none;
    padding-left: 8px;
    font-size: 15px;
}

.middle_product lable {
    color: #fff;
}

.middle_product label.text-red {
    color: #fff;
    font-size: 15px;
    position: absolute;
}

.datbtns {
    display: flex;
    justify-content: center;
    align-items: center;
}

.top_product_content h4 {
    margin-bottom: 0px;
    font-size: 18px;
    font-weight: 600;
}
.top_product_content h4 span{
    color: #1a2942;
}

.right_btn {
    margin-left: auto;
    display: flex;
    justify-content: center;
    gap: 10px;
}

a.btn.btn-secondary.buttons-excel.buttons-html5 {
    background: noe;
    background: transparent;
    border: none;
    font-size: 15px !important;
    padding: 0px;
}

.right_btn a {
    color: #212529;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

a.custom_add {
    background: #a99400;
    color: #fff;
    border: none;
    margin-left: 10px;
    font-size: 15px;
}

.btn {
    font-size: 15px !important;
}

label.mdlble {
    color: #dcdcdc;
}

input.btn.btn-primary.med_searchbtn {
    background: #fff;
    border: none;
    color: black;
    display: flex;
}

.flex_btn {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 10px;
}

.table_content {
    position: relative;
    width: 100%;
    display: block;
    background: #fff;
    border-radius: 5px;
    margin-bottom: 30px;
    box-shadow: 0rem 0.125rem 0.25rem #1f21241a, 0rem 0.0625rem 0.375rem #1f21240d;
}

section.copyright {
    display: none;
}

.filters {
    width: 100%;
    display: block;
    padding: 8px;
    border-bottom: 1px solid #dde0e4;
}

.filters .btn {
    background: transparent;
    border: transparent;
    color: #000;
}

.filters input.btn.btn-secondary.active {
    background: #e0f8ee;
    color: #000000;
}

.custom_datatbl {
    width: 100%;
    display: block;
    padding: 8px;
}

button.btn.btn-secondary.buttons-excel.buttons-html5 {
    border: none;
    border-radius: 0px;
    outline: 0;
    border: transparent;
    background: transparent;
    color: #1f2124;
    font-size: 15px !important;
    padding: 0px;
    font-weight: 500;
}

table.dataTable {
    width: 100% !important;
    margin: 0 auto;
    clear: both;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    display: block;
}

span.dtr-data {
    word-wrap: break-word;
    white-space: normal;
}

table.dataTable thead th,
table.dataTable tbody td {
    width: 10%;
}

table.dataTable th {
    background: #f9fafb;
    font-size: 15px;
    font-weight: 500 !important;
    color: #1f2124 !important;
}

table.dataTable td {
    font-size: 15px;
    background: #ffffff;
    color: #1f2124 !important;
}

table.dataTable tbody tr:nth-child(odd) {
    background: #ffffff;
}

input.btn.btn-primary.serachtbn {
    margin-top: 30px;
}

label.text-red {
    color: red !important;
    font-size: 15px !important;
}

/* Layout */
.main_page_view {
    display: flex;
    width: 100%;
    position: relative;
}

.main_page_view_sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: calc(100vh);
    width: 240px;
    background: #1a2942;
    z-index: 5;
    overflow-y: auto;
    overflow-x: hidden;
    transition: width 0.3s ease;
}
.main_page_view_sidebar.collapsed {
    width: 60px;
}
.main_page_view_sidebar.collapsed .sidebar__nav_link span,
.main_page_view_sidebar.collapsed .arrow_nav span,
.main_page_view_sidebar.collapsed .s_nav_menu h4,
.main_page_view_sidebar.collapsed .navbar-brand {
    display: none;
}
.main_page_view_sidebar.collapsed .arrow_nav {
    justify-content: center;
}
.main_page_view_sidebar.collapsed .sidebar__nav_link {
    justify-content: center;
    padding: 10px 0;
}
.main_page_view_sidebar.collapsed .arrow_nav i {
    font-size: 20px;
    margin: 0;
    padding: 0;
}
.main_page_view_sidebar.collapsed .menu_list {
    position: relative;
}
.main_page_view_sidebar.collapsed .menu_list:hover::after {
    content: attr(data-label);
    position: absolute;
    left: 65px;
    top: 50%;
    transform: translateY(-50%);
    background: #1a2942;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 13px;
    white-space: nowrap;
    z-index: 9999;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}
.hamburger{border:none;background:none;color:#fff;font-size:22px;}
.logo_top {
    padding:15px 10px;
    border-bottom: 1px solid #314361;
    display:flex;
}

.main_page_view__content {
    margin-left: 240px;
    margin-top:60px;
    transition: margin-left 0.3s ease;
    background: #eaf1f3;
    min-height: calc(100vh - 60px);
    padding-top:35px;
}
.main_page_view__content.collapsed  {
    margin-left: 60px;
}
.navbar {
    z-index: 5;
    margin-left: 240px;
    transition: margin-left 0.3s ease;
}
.navbar.collapsed  {
    margin-left: 60px;
}

/* Sidebar */
.sidenav__trigger {
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4em;
    color: red;
    background-color: red;
}

.sidenav__trigger>i {
    display: inline-block;
    margin: 1.5em 0 0 1.5em;
    color: #f07ab0;
}

.sidebar__nav:hover,
.sidebar__nav:focus,
.sidenav__trigger:focus+.sidebar__nav,
.sidenav__trigger:hover+.sidebar__nav {
    left: 0;
}

.sidebar__nav ul {
    position: relative;
    margin-bottom: 10px;
    list-style: none;
    text-decoration: none;
    padding: 2px 0rem;
}

.sidebar__nav ul h4 {
    color: #70809a;
    font-size: 15px;
    font-weight: 600;
    padding: 0rem 1rem;
}

.sidebar__nav ul li {
    width: 100%;
    font-size: 15px;
    color: #1f2124;
    padding: 2px;
}
.sidebar__nav ul li ul{
    padding-left: 20px;
    margin-bottom: 0px;
}
ul.fixed_menu {
    position: fixed;
    bottom: 0;
    background: #f1f2f4;
    padding: 2px 0rem;
    margin-bottom: 0px;
    border-top: 1px solid #dde0e4;
    border-bottom: 1px solid #dde0e4;
    width: 208px;
}

.sidebar__nav_link {
    position: relative;
    width: 100%;
    color: #1f2124 !important;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 6px 15px;
    border-left: 4px solid transparent;
    background: transparent;
    font-size: 15px;
}

.sidebar__nav_sub {
    position: relative;
    width: 100%;
    color: #1f2124 !important;
    display: block;
    padding: 4px 1rem;
    padding: 5px 40px !important;
    background: transparent;
    font-size: 15px;
}

ul.sub_nav_list {
    width: 100%;
    display: block;
    margin-bottom: 0px;
}

ul.sub_nav_list li a {
    color: #1f2124;
}

.sidebar__nav_link .fa {
    color: #70809a;
}
.arrow_nav .fa {
    padding-right: 10px;
}
a.sidebar__nav_link{
    color: #70809a !important;
    font-weight: 500;
    cursor: pointer;
    justify-content: space-between;
}
a.sidebar__nav_link.active {
    background:#ffffff12;
    color: #3bc0c3 !important;
    padding: 6px 15px;
    overflow: hidden;
    font-weight: 500;
}

.sidebar__nav_link em {
    position: absolute;
    top: 50%;
    left: 4em;
    transform: translateY(-50%);
}

.sidebar__nav_link {
    color: #1f2124;
}

.top_menus {
    width: 100%;
    display: block;
}
.side_menu {
    width: 100%;
    padding-top: 20px;
    display: block;
    padding-bottom: 20px;
}

input.btn.btn-secondary.switchbtn {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    background: #a99400;
    border: none;
    font-weight: 500;
}

.dashboard {
    width: 100%;
    background: #fff;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard h5 {
    font-size: 50px;
}

span.badge.badge-light.custom_bdge {
    margin-left: auto;
    background: #dde0e4;
    padding: 4px 10px;
}

.pagination {
    margin-bottom: 0px;
}

ul.pagination .paginate_button {
    padding: 0px !important;
}

.dataTables_paginate {
    width: 100%;
    text-align: center;
}

.search_tbl {
    position: relative;
    margin-left: auto;
    border-radius: 0px;
    overflow: hidden;
    background-color: #f9fafb;
}

.search_tbl input {
    height: 33px;
    width: 0;
    padding: 5px 33px 5px 0;
    border: none;
    outline: none;
    box-sizing: border-box;
    background-color: transparent;
    cursor: pointer;
    transition: 0.2s;
    color: #1f2124;
}

.search_tbl input:not(:placeholder-shown),
.search_tbl input:focus,
.search:hover input {
    width: 300px;
    padding: 5px 33px 5px 1em;
    cursor: unset;
}

.btn_tbl_search {
    position: absolute;
    top: 0;
    right: 0;
    height: 33px;
    width: 33px;
    border-radius: 0px;
    background-color: #f1f2f4;
    cursor: pointer;
    pointer-events: none;
    text-align: center;
    line-height: 33px;
}

.search_tbl input:not(:placeholder-shown)+.btn {
    pointer-events: auto;
}

.search_tbl ::placeholder {
    color: #000000;
}

.btn_tbl_search i {
    position: relative;
    color: #000000;
}

.boxshadow {
    border-radius: 5px;
    box-shadow: 0rem 0.125rem 0.25rem #1f21241a, 0rem 0.0625rem 0.375rem #1f21240d;
    background: #ffffff;
}

.preferences_sec {
    width: 100%;
    display: block;
    margin-bottom: 20px;
    margin-top: 20px;
}

.prefer_bx_content {
    width: 100%;
    display: block;
    padding: 15px;
}

.preference_box {
    width: 100%;
    display: block;
    padding-bottom: 20px;
    border-bottom: 1px solid #dde0e4;
    margin-bottom: 20px;
}

.over_flow {
    overflow: auto;
}

input.custom_add {
    background: #a99400;
    color: #fff;
    border: none;
    margin-left: 10px;
    font-size: 15px;
    font-weight: 500;
}

.user_control {
    padding: 4px 16px;
    display: block;
}

.prefe_content {
    width: 100%;
    display: block;
}

.prefe_content h6 {
    font-weight: 600;
    font-size: 16px;
    padding-bottom: 10px;
}

table.dataTable thead th,
table.dataTable tfoot th {
    font-weight: 600 !important;
}

.prefe_content p {
    font-size: 15px;
}

.prefer_bx_content label {
    font-size: 15px;
    margin-bottom: 0px;
}

.create_box.boxshadow {
    width: 100%;
    display: block;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

.create_box {
    font-size: 15px;
}

.create_box h6 {
    font-weight: 600;
    margin-bottom: 20px;
    width: 100%;
    display: block;
}

.create_box a.rl {
    float: right;
    position: absolute;
    top: 10px;
    right: 10px;
}

.create_box label {
    margin-bottom: 0.1rem;
}

/*textarea {*/
/*  resize: none;*/
/*}*/
.visbiletimeanddate {
    width: 100%;
    display: block;
    margin-top: 20px;
    display: none;
}

.create_box.boxshadow P {
    margin-top: 10px;
}

.ct_line {
    border-bottom: 1px solid #dde0e4;
    margin-bottom: 20px;
}

.custom_radio {
    margin-bottom: 10px;
}

.chboxflex input[type=checkbox] {
    position: relative;
    border: 2px solid #4646d9;
    border-radius: 2px;
    background: none;
    cursor: pointer;
    line-height: 0;
    margin: 0 5px 0 0;
    outline: 0;
    padding: 0 !important;
    vertical-align: text-top;
    height: 20px;
    width: 20px;

    opacity: .5;
}

.chboxflex input[type=checkbox]:hover {
    opacity: 1;
}

.chboxflex input[type=checkbox]:checked {
    background-color: #4646d9;
    opacity: 1;
}

.chboxflex input[type=checkbox]:before {
    content: '';
    position: absolute;
    right: 50%;
    top: 50%;
    width: 6px;
    height: 10px;
    border: solid #FFF;
    border-width: 0 2px 2px 0;
    margin: 0px -2px 0 -1px;
    transform: rotate(45deg) translate(-50%, -50%);
    z-index: 2;
}

.custom_radio [type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

.custom_radio [type="radio"]:checked+label,
[type="radio"]:not(:checked)+label {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /* gap: 10px; */
    padding: 0px 30px;
}

.custom_radio [type="radio"]:checked+label:before,
[type="radio"]:not(:checked)+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 21px;
    height: 21px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
}

.custom_radio [type="radio"]:checked+label:after,
[type="radio"]:not(:checked)+label:after {
    content: '';
    width: 13px;
    height: 13px;
    background: #4646d9;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.custom_radio [type="radio"]:not(:checked)+label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.custom_radio [type="radio"]:checked+label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.expertinfo {
    display: none;
}

.more_expertinfo {
    display: none;
}

.edit_seo_website {
    display: none;
}

.ancor_txt a {
    margin-bottom: 0px;
    font-size: 15px;
    color: #1f2124 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.drop-zone {
    max-width: 100%;
    height: 200px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0px auto;
    object-fit: cover;
    border: 1px dashed #ced4da;
    border-radius: 0.25rem;
}

.drop-zone--over {
    border-style: solid;
}

.drop-zone__input {
    display: none;
}

.drop-zone__thumb {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #cccccc;
    background-size: cover;
    position: relative;
}

.drop-zone__thumb::after {
    content: attr(data-label);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.75);
    font-size: 15px;
    text-align: center;
}

input.cancel_btn {
    background: transparent;
    color: #000000;
    border: 1px solid #000;
}

.ft_left_menu {
    display: flex;
    justify-content: flex-start;
    flex-basis: 200px;
}

.ft_rt_menu {
    display: flex;
    justify-content: flex-start;
}

.ft_rt_menu ul {
    margin-bottom: 0px;
}

.ft_rt_menu ul li {
    list-style: none;
    display: inline-block;
    padding: 2px;
}

.nav_content h6 {
    font-weight: 600;
    font-size: 15px;
    padding-bottom: 10px;
}

.nav_content.nested_head {
    border-bottom: 1px solid #dde0e4;
    padding: 15px;
}

.nav_content.nested_head h6 {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.nested_list {
    border-bottom: 1px solid #dde0e4;
    padding: 15px;
    display: flex;
    justify-content: space-between;
}

.dragbtn {
    border: 1px solid #dde0e4;
    border-radius: 5px;
}

.dragbtn span {
    padding: 3px 12px;
    font-weight: 700;
    color: #000000;
    cursor: pointer;
}

.dragbtn span.button-delete {
    border-right: 1px solid #dde0e4;
}

.nav_handle h6 {
    font-weight: 600;
    font-size: 16px;
    padding-bottom: 10px;
}

.image_size {
    width: 100%;
    display: block;
}

.image_size h6 {
    margin-bottom: 5px;
}

/* table to div css start */
.custom_page_desing {
    padding: 0px;
    width: 100%;
    display: block;
}

.custom_page_desing p {
    margin-bottom: 20px;
    color: #616a75;
    font-size: 15px;
    word-break: break-word;
}

p.csimg img {
    width: 150px;
}

.custom_pageno {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.custom_pageno_txt h6 {
    margin-bottom: 10px;
    color: #000000;
}


.login_view {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkbox-inline {
    margin-right: 10px;
}

.drop-zone {
    height: 200px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    color: #cccccc;
    border: 1px dashed;
    border-radius: 10px;
}

.drop-zone--over {
    border-style: solid;
}

.drop-zone__input {
    display: none;
}

.drop-zone__thumb {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #cccccc;
    background-size: cover;
    position: relative;
}

.drop-zone__thumb::after {
    content: attr(data-label);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.75);
    font-size: 15px;
    text-align: center;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    border-radius: 30px;
    background-color: #ccc;
    transition: background-color 0.3s ease;
}

.slider:before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    left: 2px;
    top: 2px;
    transition: transform 0.3s ease;
}

input[type="checkbox"]:checked+.slider {
    background-color: #2196F3;
}

input[type="checkbox"]:checked+.slider:before {
    transform: translateX(30px);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 22px;
    margin-bottom: 0px;

}

.custom_switch {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 22px;
    margin-bottom: 0px;
    margin-top: 6px;

}

span.tgtxt {
    text-align: center;
    width: 80px;
    display: block;
    font-size: 15px;
    height: 22px;
    line-height: 22px;
}

.heading._heding_flex_btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.custom_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}



.custom_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}



.custom_slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}



.switch input:checked+.slider {
    background-color: #2196F3;
}

.custom_switch input:checked+.custom_slider {
    background-color: #2196F3;
    color: #ffffff;
}



.switch input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}



.custom_switch input:focus+.custom_slider {
    box-shadow: 0 0 1px #2196F3;
}



.switch input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}



.custom_switch input:checked+.custom_slider:before {
    -webkit-transform: translateX(54px);
    -ms-transform: translateX(54px);
    transform: translateX(54px);

}



/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}



.slider.round:before {
    border-radius: 50%;
}



/* Rounded sliders */
.custom_slider.custom_round {
    border-radius: 34px;
}



.custom_slider.custom_round:before {
    border-radius: 50%;
}

.input-group-addon {
    padding: -1px 12px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}


.input-group-addon {
    min-width: 45px;
    text-align: center;
    background-color: #ffffff;
    border-color: #dae0e8;
}

.setting_box_txt {
    padding: 10px;
}

.copy_button {
    background-color: #aee1f2;
    color: #ffffff;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 15px;
}

.enquiry_copy {
    margin-left: 10px;
    color: #2fc2db;
    font-size: 15px;
}

table,
th,
td {
    border-collapse: collapse;
}

.btn-success:hover {
    color: #fff;
    background-color: #afde5c;
    border-color: #afde5c;
}

/* Analytics Dashboard */

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.two_card_container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}


.short_card {
    width: 174px;
}

.large_card {
    width: 100%;
    margin-bottom: 20px;
}

.card-content {
    padding: 20px;
    padding-top: 15px;
    padding-left: 15px;
    text-align: left;
    /* Center the icon and text */
}

.icon {
    font-size: 15px;
    /* Adjust the size of the icon as needed */
    margin-bottom: 10px;
    /* Add space between the icon and title */
}

.card-title {
    font-size: 15px;
}

.card-description {
    font-size: 15px;
    /* Adjust the title font size as needed */
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.pie-chart {
    background:
        radial-gradient(circle closest-side,
            transparent 42%,
            white 0),
        conic-gradient(#4e79a7 0,
            #4e79a7 38%,
            #f28e2c 0,
            #f28e2c 61%,
            #e15759 0,
            #e15759 77%,
            #76b7b2 0,
            #76b7b2 87%,
            #59a14f 0,
            #59a14f 93%,
            #edc949 0,
            #edc949 100%);
    position: relative;
    min-height: 350px;
    margin: 0;
}

.pie-chart h2 {
    position: absolute;
    margin: 1rem;
}

.pie-chart cite {
    position: absolute;
    bottom: 0;
    font-size: 80%;
    padding: 1rem;
    color: gray;
}

.pie-chart figcaption {
    position: absolute;
    bottom: 1em;
    right: 1em;
    font-size: smaller;
    text-align: right;
}

.pie-chart span:after {
    display: inline-block;
    content: "";
    width: 0.8em;
    height: 0.8em;
    margin-left: 0.4em;
    height: 0.8em;
    border-radius: 0.2em;
    background: currentColor;
}


form#filters2 {
    display: flex;
    justify-content:space-between;
}

.daterangepicker .drp-calendar {
    max-width: 300px !important;
}
.dropdown-container {
    display: none;
    padding-left: 8px;
}
a.sidebar__nav_link.inner_link {
    padding: 6px 15px;
}
a.sidebar__nav_link:hover{
    color: #3bc0c3 !important;
}
input.btn.active {
    background-color: #E0F8FB;
}

.count_dashboard{
   position: relative;
    width: 100%;
    display: block;
    background: #fff;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0rem 0.125rem 0.25rem #1f21241a, 0rem 0.0625rem 0.375rem #1f21240d;
} 

.count_dashboard h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}
.box_count {
    width: 100%;
    display: flex;
    padding: 0px;
    border: 1px solid #f2f2f2;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0px;
    background: #f1f2f4;
}
.box_count span.count_number {
    font-size: 15px;
    font-weight: 700;
    color: #0072bd;
    padding-top: 10px;
    display: block;
    width: 100%;
    padding: 5px;
    text-align: center;
    background: #fff;
}
.box_count span.count_txt {
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f2f2f2;
    padding: 10px;
   background: #fbfbfb;
}

.margin_bt_20{
    margin-bottom:20px;
}





@media only screen and (max-width: 767px) {
    .two_card_container{
        display: flex;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        gap: 20px !important;
        margin-bottom: 20px;
    }
    .card-content {
    padding: 20px 10px;
     padding-top: unset; 
     padding-left: unset; 
    text-align: left;
    text-wrap: nowrap;
}
    
    .main_page_view__content {
        margin-left: 0;
        padding: 100px 0;
    }

    .sidebar__nav {
        width: 15em;
    }
    .card {
        width: 100%;
    }

    .short_card {
        width: 180px;
    }

    .card-title {
        text-align: center;
    }

    .dropdown-menu.custom_dpmenu.show {
        position: absolute;
        padding: 0px 10px;
        margin-top: 9px;
        right: 0px;
        left: -52px !important;
    }

    .customtable {
        overflow-x: auto;
        margin-top: 2px;
    }

    .customtable table {
        /*width: 600px;*/
    }

    .displayLeftNav {
        display: none;
    }

    .leftnav_trigger {
        display: none;
    }

    .main_page_view__sidebar {
        z-index: 4;
        transition: .2s ease;
    }

    .textInputTypes {
        display: flex;
        flex-direction: column;
        border: 2px solid #f1f2f4;
        border-radius: 10px;
    }

    .filtersSec {
        display: none;
    }

    .mobile {
        position: absolute;
        z-index: 2;
        background-color: #fff;
        padding: 0 10px;
        left: 0;
        top: 60px;
    }

    .sidebar__nav ul {
        padding-left: 12px;
        top: inherit;
        
    }

    .daterangepicker.ltr.auto-apply.show-ranges.opensright.show-calendar {
        top: 200px !important;
        left: 15px !important;
    }

    .daterangepicker {
        width: 310px !important;
    }
    
    .custom_pagination {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: initial !important;
        padding: 10px;
        overflow: hidden;
    }
    
    .right_pagination {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
    }
    
    .table_content {
        overflow: auto;
    }
    
    /*form#filters2 {*/
    /*    display: flex;*/
    /*    justify-content: space-between;*/
    /*    gap: 5px;*/
    /*    flex-wrap: wrap;*/
    /*}*/
    
    .customtable thead th {
    position: -webkit-sticky;
    position: sticky;
    top: -5px;
    background: #f9fafb;
    color: #000000;
    z-index: 1;
    white-space: nowrap;
    border-bottom: 1px solid #dde0e4;
     font-size: 14px;
}
}



body {
    background: #eaf1f3 !important;
}
.main_page_view__content {
    min-height: 100vh;
}
/* keep table cells on a single line */
.customtable tbody td {
    font-weight: 500;
    white-space: nowrap;
}
.top_product_content {
    justify-content: space-between;
    font-size: 15px;
    font-weight: 400;
    color: #6c757d;
}
/* date filter button (list pages variant) */
.middle_flt.datebtn {
    padding: 7px 10px;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
    background: #ffffff;
    font-size: 15px;
    font-weight: 400;
    width: max-content;
    box-shadow: 0rem 0.125rem 0.25rem #1f21241a, 0rem 0.0625rem 0.375rem #1f21240d;
    display: flex;
    align-items: center;
    gap: 10px;
}
select,
.filters select {
    width: 140px;
    text-align: left !important;
}
form#filters2 {
    display: flex;
    align-items: center !important;
    justify-content: space-between;
}
.entridiv {
    display: block;
}
.entridiv span {
    font-weight: 600;
    color: #6c757d;
    padding-right: 10px;
}
.filters .btn {
    color: #6c757d;
    background-color: #fff;
    border-color: #6c757d;
}
a.clear_filter {
    padding: 5px 10px;
    color: #6c757d;
    border: 1px solid #fff;
    border-radius: 5px;
    background: #fff;
    font-size: 15px !important;
    font-weight: 500;
    box-shadow: 0rem 0.125rem 0.25rem #1f21241a, 0rem 0.0625rem 0.375rem #1f21240d;
}
.btn.datebtn {
    padding: 5px 10px;
    color: #6c757d;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
    background: #ffffff;
    font-size: 15px !important;
    font-weight: 500;
    box-shadow: 0rem 0.125rem 0.25rem #1f21241a, 0rem 0.0625rem 0.375rem #1f21240d;
}

.table_content {
    margin-top: 20px;
}
.btn-secondary {
    color: #6c757d;
    background-color: #fff;
    box-shadow: 0rem 0.125rem 0.25rem #1f21241a, 0rem 0.0625rem 0.375rem #1f21240d;
    border: none;
    padding: 8px;
}
.scrolyfy {
    max-height: 416px;
    overflow-y: auto;
    display: block;
}


/* ---------------------------------------------------------------------
   COMMON :: FORM PAGES
   Used by: addproject.php, addwebsite.php, add_social_sync.php,
            division.php
   (Any new "add / create form" page will automatically pick these up)
   --------------------------------------------------------------------- */
/* Add class="form_page_body" on the <body> of form pages to get the
   Lato font + grey text used on add/create screens. */
.form_page_body {
    font-family: "Lato", sans-serif;
    color: #6c757d;
}
.sub-heading {
    font-size: 15px;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    color: #6c757d;
    padding: 35px 50px 0px 5px;
}
.sub-heading a {
    color: #6c757d;
}
.block {
    margin: 25px;
}
.block-title {
    padding: 0px 28px;
}
.block-title h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}
.block-options .btn {
    font-size: 13px;
    padding: 6px 12px;
}
.pull-right {
    float: right;
    padding-bottom: 10px;
    border: none;
    margin-top: -10px;
}
.form-horizontal {
    padding: 25px 20px;
}
.form-group {
    margin-bottom: 18px;
}
.control-label {
    font-weight: 500;
    color: #3b3f5c;
    font-size: 14px;
}
.form-control {
    height: 42px;
    border-radius: 4px;
    border: 1px solid #e6e9f0;
    box-shadow: none;
    font-size: 14px !important;
    background-color: #ffffff;
}
.form-control:focus {
    border-color: #5c7cfa;
    box-shadow: 0 0 0 2px rgba(92, 124, 250, 0.1);
    outline: none;
}
input[type="date"] {
    padding-right: 10px;
}
.form-actions {
    padding-top: 20px;
}
.form_page_card,
.block .card {
    width: 98%;
    height: max-content;
    background-color: #fff;
    border-radius: 5px;
    border: none;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0rem 0.125rem 0.25rem #1f21241a, 0rem 0.0625rem 0.375rem #1f21240d;
}
.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    font-weight: 500;
    font-size: 15px;
    color: #6c757d;
    background: none;
    border: 0px;
}
.card-body {
    padding: 5px 20px;
}
.btn-primary {
    background-color: #1a2942;
    border-color: #1a2942;
    color: #fff;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #3bc0c3;
    border-color: #3bc0c3;
    color: #fff;
}
.btn-danger {
    background-color: #fa5252;
    border-color: #fa5252;
}
.btn-default {
    color: #444;
}


/* ---------------------------------------------------------------------
   PAGE :: reset_password.php   (Reset password / CMS login screen)
   --------------------------------------------------------------------- */
.registrationof {
    display: flex;
    justify-content: center;
    align-items: center;
}
.email {
    font-size: 18px;
    font-weight: 500;
}
.btnloginotp {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000 !important;
}
.loginwithicon {
    font-size: 30px;
    background: #000;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
}
.login_details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.text-info:hover .loginwithicon {
    background: #0f6674 !important;
}
.new_leaflet_qr {
    font-weight: 500;
    text-align: center;
    margin: 10px 0px;
}
.loginwithicon:hover {
    background: #0f6674;
}
.cmsloginpage .passicon {
    padding: 8px 5px;
}
.overflowregister {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 14px;
}


/* ---------------------------------------------------------------------
   PAGE :: success.php   (Thank you / success screen)
   --------------------------------------------------------------------- */
.successPage {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
img.gifimage {
    width: 400px;
}
.success-header.text-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
}


/* ---------------------------------------------------------------------
   PAGE :: dns_update_form.php   (GoDaddy DNS A-record update)
   --------------------------------------------------------------------- */
.msg { display: none; padding: 10px; margin: 10px 0; border-radius: 6px; }
.msg.success { display: block; background: #e9fbe9; border: 1px solid #6cc36c; color: #146c2e; }
.msg.error { display: block; background: #ffecec; border: 1px solid #e36b6b; color: #8a1f1f; }
.err { display: none; color: #d00; font-size: 12px; margin-top: 6px; }
.btnUpdate[disabled] { opacity: .6; cursor: not-allowed; }


/* ---------------------------------------------------------------------
   PAGE :: listofproject.php   (Upload modal on project list)
   --------------------------------------------------------------------- */
#uploadModal .modal-content {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    max-width: 420px;
    background: #ffffff;
}
#uploadModal .modal-header {
    background: #3b82f6;
    color: white;
    border-radius: 8px 8px 0 0;
    padding: 20px 24px;
    border-bottom: none;
}
#uploadModal .modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}
#uploadModal .close {
    color: white;
    font-size: 22px;
    opacity: 0.9;
}
#uploadModal .form-group {
    padding: 32px 24px 24px;
    text-align: center;
}
#uploadModal label {
    color: #374151;
    font-weight: 500;
    margin-bottom: 16px;
    display: block;
    font-size: 14px;
}
#uploadModal .form-control[type="file"] {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 48px 20px;
    background: #f9fafb;
    position: relative;
    transition: all 0.2s ease;
}
#uploadModal .form-control[type="file"]:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}
#uploadModal .form-control[type="file"]:valid {
    border-color: #f59e0b;
    background: #fffbeb;
}
.upload-prompt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.upload-prompt::before {
    content: "📁";
    font-size: 48px;
    display: block;
    margin-bottom: 8px;
    opacity: 0.6;
}
.animated-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    opacity: 0;
}
.animated-check.show {
    opacity: 1;
    animation: bounce 0.5s ease;
}
@keyframes bounce {
    0% { transform: translate(-50%, -50%) scale(0); }
    60% { transform: translate(-50%, -50%) scale(1.2); }
    100% { transform: translate(-50%, -50%) scale(1); }
}
#uploadModal input[type="submit"] {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    background: #3b82f6;
    border: none;
    color: white;
    font-weight: 600;
    margin-top: 20px;
}
#uploadModal input[type="submit"]:hover {
    background: #2563eb;
    transform: translateY(-1px);
}


/* ---------------------------------------------------------------------
   PAGE :: leafletinfo.php   (Standalone PDF viewer)
   NOTE: leafletinfo.php does NOT load layout/styles, so it won't see
   this file unless you add <link> to custom_style.css there. Kept here
   for reference / future use.
   --------------------------------------------------------------------- */
.pdf_view_body {
    overflow: hidden;
    margin: 0px;
    padding: 0px;
}
.pdf_style {
    min-height: 100vh;
}


/* =====================================================================
   ============   DASHBOARD REDESIGN  (dashboard.php)   ================
   =====================================================================
   Modern SaaS style: gradient stat cards, charts, soft shadows.
   Uses CSS variables below so colors/spacing can be tuned in one place.
   --------------------------------------------------------------------- */
:root{
    --db-brand:#3bc0c3;
    --db-brand-dark:#2aa3a6;
    --db-ink:#1a2942;
    --db-ink-soft:#5b6b82;
    --db-line:#e7ecf3;
    --db-card:#ffffff;
    --db-indigo:#6366f1;
    --db-green:#22c55e;
    --db-amber:#f59e0b;
    --db-rose:#f43f5e;
    --db-shadow:0 1px 2px rgba(16,40,80,.04), 0 8px 24px rgba(16,40,80,.06);
    --db-shadow-hover:0 4px 8px rgba(16,40,80,.06), 0 16px 40px rgba(16,40,80,.12);
    --db-radius:16px;
}

/* page header */
.db-head{
    display:flex;align-items:flex-end;justify-content:space-between;
    margin-bottom:28px;flex-wrap:wrap;gap:16px;
}
.db-head h1{
    font-size:26px;font-weight:800;color:var(--db-ink);
    margin:0 0 4px;letter-spacing:-.02em;
}
.db-head p{margin:0;font-size:14px;color:var(--db-ink-soft);}
.db-date-pill{
    display:inline-flex;align-items:center;gap:8px;background:var(--db-card);
    border:1px solid var(--db-line);border-radius:12px;padding:10px 16px;
    font-size:13px;font-weight:500;color:var(--db-ink);box-shadow:var(--db-shadow);cursor:pointer;
}
.db-date-pill i{color:var(--db-brand);}

/* stat cards grid */
.db-stats{
    display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:22px;
}
.db-stat{
    background:var(--db-card);border:1px solid var(--db-line);border-radius:var(--db-radius);
    padding:22px;box-shadow:var(--db-shadow);position:relative;overflow:hidden;
    transition:transform .25s ease, box-shadow .25s ease;
}
.db-stat:hover{transform:translateY(-4px);box-shadow:var(--db-shadow-hover);}
.db-stat::after{
    content:"";position:absolute;inset:0 0 auto auto;width:120px;height:120px;
    background:radial-gradient(circle at top right,var(--accent,var(--db-brand))22,transparent 70%);
}
.db-stat .ico{
    width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;
    font-size:24px;color:#fff;margin-bottom:16px;
    background:linear-gradient(135deg,var(--accent,var(--db-brand)),var(--accent-2,var(--db-brand-dark)));
}
/* make sure the Tabler/FontAwesome glyph fills the badge nicely */
.db-stat .ico i{font-size:24px;line-height:1;}
.db-stat .label{font-size:13px;font-weight:500;color:var(--db-ink-soft);margin:0 0 6px;}
.db-stat .value{
    font-size:30px;font-weight:800;color:var(--db-ink);
    line-height:1;margin:0;letter-spacing:-.02em;
}
.db-stat .trend{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;margin-top:10px;}
.db-stat .trend.up{color:var(--db-green);}
.db-stat .trend.down{color:var(--db-rose);}

/* accent color helpers for cards */
.db-c-teal{--accent:#3bc0c3;--accent-2:#2aa3a6;}
.db-c-green{--accent:#22c55e;--accent-2:#16a34a;}
.db-c-amber{--accent:#f59e0b;--accent-2:#d97706;}
.db-c-indigo{--accent:#6366f1;--accent-2:#4f46e5;}
.db-c-rose{--accent:#f43f5e;--accent-2:#e11d48;}

/* lower row: chart + side panel */
.db-lower{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;}
.db-panel{
    background:var(--db-card);border:1px solid var(--db-line);border-radius:var(--db-radius);
    box-shadow:var(--db-shadow);padding:24px;
}
.db-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;}
.db-panel-head h3{font-size:16px;font-weight:700;color:var(--db-ink);margin:0;}
.db-panel-head .more{font-size:13px;color:var(--db-brand);font-weight:600;text-decoration:none;}
.db-chart-box{height:280px;position:relative;}

.db-list-row{
    display:flex;align-items:center;justify-content:space-between;
    padding:13px 0;border-bottom:1px solid var(--db-line);
}
.db-list-row:last-child{border-bottom:none;}
.db-list-row .dot{width:10px;height:10px;border-radius:50%;margin-right:12px;flex:none;}
.db-list-row .name{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--db-ink);}
.db-list-row .num{font-weight:700;color:var(--db-ink);font-size:14px;}

@media(max-width:980px){
    .db-stats{grid-template-columns:repeat(2,1fr);}
    .db-lower{grid-template-columns:1fr;}
}
@media(max-width:560px){
    .db-stats{grid-template-columns:1fr;}
}


/* =====================================================================
   ========   FORM + LIST PAGES POLISH  (match dashboard look)   ======
   =====================================================================
   Upgrades existing .card / .form-control / .table_content / buttons to
   the modern SaaS style used on the dashboard. Markup unchanged — these
   override the earlier rules because they appear later in the file.
   Shares the same --db-* design tokens defined in the dashboard section.
   --------------------------------------------------------------------- */

/* ---------- page section headings (List of X / Create X) ---------- */
.top_product_content h4{
    font-size:20px;
    font-weight:800;
    color:var(--db-ink);
    letter-spacing:-.01em;
}
.sub-heading{
    font-size:20px !important;
    font-weight:800 !important;
    color:var(--db-ink) !important;
    letter-spacing:-.01em;
}

/* ---------- CARDS (forms) ---------- */
.card{
    background:var(--db-card);
    border:1px solid var(--db-line) !important;
    border-radius:var(--db-radius) !important;
    box-shadow:var(--db-shadow) !important;
    overflow:hidden;
}
.card-header{
    padding:16px 22px !important;
    font-size:14px !important;
    font-weight:700 !important;
    color:var(--db-ink) !important;
    letter-spacing:.01em;
    background:#f9fbfd !important;
    border-bottom:1px solid var(--db-line) !important;
}
.card-body{
    padding:22px !important;
}

/* ---------- FORM CONTROLS ---------- */
.control-label{
    font-weight:600 !important;
    color:var(--db-ink) !important;
    font-size:13px !important;
    margin-bottom:6px;
}
.form-control{
    height:44px !important;
    border-radius:10px !important;
    border:1px solid var(--db-line) !important;
    background:#fff !important;
    font-size:14px !important;
    color:var(--db-ink);
    transition:border-color .18s ease, box-shadow .18s ease;
}
.form-control:focus{
    border-color:var(--db-brand) !important;
    box-shadow:0 0 0 3px rgba(59,192,195,.15) !important;
    outline:none;
}
textarea.form-control{height:auto !important;min-height:90px;padding-top:10px;}
select.form-control{cursor:pointer;}

/* ---------- BUTTONS ---------- */
.btn-primary{
    background:linear-gradient(135deg,var(--db-brand),var(--db-brand-dark)) !important;
    border:none !important;
    color:#fff !important;
    font-weight:500 !important;
    border-radius:10px !important;
    padding:5px 10px !important;
    box-shadow:0 6px 16px rgba(59,192,195,.30);
    transition:transform .18s ease, box-shadow .18s ease;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active{
    background:linear-gradient(135deg,var(--db-brand-dark),var(--db-brand)) !important;
    color:#fff !important;
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(59,192,195,.40);
}
.btn-default{
    background:#fff !important;
    border:1px solid var(--db-line) !important;
    color:var(--db-ink) !important;
    font-weight:600 !important;
    border-radius:10px !important;
    padding:9px 18px !important;
    transition:all .18s ease;
}
.btn-default:hover{
    border-color:var(--db-brand) !important;
    color:var(--db-brand) !important;
}

/* "Create / Add" CTA on list pages -> gradient pill */
.create_leaflet_style{
    background:linear-gradient(135deg,var(--db-brand),var(--db-brand-dark)) !important;
    color:#fff !important;
    font-weight:600 !important;
    font-size:14px !important;
    border-radius:10px !important;
    padding:10px 20px !important;
    box-shadow:0 6px 16px rgba(59,192,195,.30);
    transition:transform .18s ease, box-shadow .18s ease;
    text-decoration:none;
}
.create_leaflet_style:hover{
    color:#fff !important;
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(59,192,195,.40);
}

/* ---------- LIST PAGE : table card container ---------- */
.table_content{
    border:1px solid var(--db-line) !important;
    border-radius:var(--db-radius) !important;
    box-shadow:var(--db-shadow) !important;
    overflow:hidden;
}

/* filter / search bar row */
.filters{
    padding:14px 16px !important;
    border-bottom:1px solid var(--db-line) !important;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
}
.search_tbl{
    display:flex;
    align-items:center;
    border:1px solid var(--db-line);
    border-radius:10px;
    overflow:hidden;
    background:#fff;
}
.search_tbl input{
    border:none;
    outline:none;
    padding:9px 14px;
    font-size:14px;
    width:220px;
    color:var(--db-ink);
}
.search_tbl .btn_tbl_search{
    color:var(--db-ink-soft);
    cursor:pointer;
}
#rowsPerPage{
    border:1px solid var(--db-line) !important;
    border-radius:10px !important;
    padding:8px 12px !important;
    color:var(--db-ink) !important;
    box-shadow:none !important;
}

/* filter buttons (date / filters / clear) */
.btn.datebtn,
.middle_flt.datebtn{
    border:1px solid var(--db-line) !important;
    border-radius:10px !important;
    color:var(--db-ink) !important;
    box-shadow:var(--db-shadow) !important;
}
a.clear_filter{
    border:1px solid var(--db-line) !important;
    border-radius:10px !important;
    color:var(--db-ink-soft) !important;
    box-shadow:var(--db-shadow) !important;
}
.btn-secondary{
    border:1px solid var(--db-line) !important;
    border-radius:10px !important;
    color:var(--db-ink) !important;
}

/* ---------- TABLE ---------- */
.customtable thead th{
    background:#f9fbfd !important;
    color:var(--db-ink) !important;
    font-size:12.5px !important;
    font-weight:700 !important;
    text-transform:uppercase;
    letter-spacing:.03em;
    padding:14px 16px !important;
    border-bottom:1px solid var(--db-line) !important;
}
.customtable tbody td{
    padding:13px 16px !important;
    font-size:13.5px !important;
    color:var(--db-ink-soft) !important;
    border-bottom:1px solid #f1f5f9 !important;
}
.customtable tbody tr{
    transition:background .15s ease;
}
.customtable tbody tr:hover td{
    background:#f6fcfc !important;
}
.customtable td a{
    color:var(--db-brand-dark);
    font-weight:600;
    text-decoration:none;
}
.customtable td a:hover{text-decoration:underline;}

/* edit / inactive action buttons inside table */
.customtable td a[href*="edit"]{
    display:inline-block;
    padding:4px 12px;
    background:rgba(59,192,195,.12);
    color:var(--db-brand-dark);
    border-radius:8px;
    font-size:12.5px;
    margin-right:4px;
}
.customtable td input[type="submit"][value="Inactive"]{
    padding:4px 12px;
    background:rgba(244,63,94,.10);
    color:var(--db-rose);
    border:none;
    border-radius:8px;
    font-size:12.5px;
    font-weight:600;
    cursor:pointer;
}

/* ---------- PAGINATION ---------- */
.custom_pagination{
    padding:14px 16px !important;
}
.left_pagination span{
    color:var(--db-ink-soft);
    font-size:13px;
}
.pagination-numbers{
    border:1px solid var(--db-line) !important;
    border-radius:8px !important;
    padding:7px 12px !important;
    margin:0 3px !important;
    color:var(--db-ink) !important;
    font-weight:600;
    background:#fff;
    transition:all .15s ease;
}
.pagination-numbers:hover{
    border-color:var(--db-brand) !important;
    color:var(--db-brand) !important;
}
.pagination-numbers.active{
    background:linear-gradient(135deg,var(--db-brand),var(--db-brand-dark)) !important;
    border-color:transparent !important;
    color:#fff !important;
}
/* ===============================================================
   WEBSITE LIST :: FILTER BAR ALIGNMENT (final polish)
   =============================================================== */
form.md_filters {
    display: flex;
    align-items: center;      /* anni okే height center lో */
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

/* common height for every control in the row */
.md_filters .middle_flt.datebtn,
.md_filters .flt_select,
.md_filters .flt_submit,
.md_filters a.clear_filter,
.md_filters .create_leaflet_style {
    height: 35px;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
}

/* date box */
.md_filters .middle_flt.datebtn {
    padding: 0 12px;
    gap: 8px;
}
.md_filters .middle_flt.datebtn input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    width: 150px;
}

/* dropdowns — uniform look */
.md_filters .flt_select {
    min-width: 165px;
    padding: 0 12px;
    border: 1px solid var(--db-line);
    border-radius: 10px;
    background: #fff;
    color: var(--db-ink);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--db-shadow);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235b6b82' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
}
.md_filters .flt_select:focus {
    border-color: var(--db-brand);
    box-shadow: 0 0 0 3px rgba(59,192,195,.15);
    outline: none;
}

/* Filters submit button */
.md_filters .flt_submit {
    padding: 0 18px;
    font-weight: 500 !important;
    cursor: pointer;
    font-size:13px;
    border-radius: 10px;
}

/* Clear link */
.md_filters a.clear_filter {
    font-weight: 500 !important;
    margin-left: 0;
    font-size:13px;
}
.md_filters .export_link {
    font-weight: 500 !important;
    border:none;
}



/* ---- responsive ---- */
@media (max-width: 991px) {
    .md_filters .flt_actions {
        margin-left: 0;
        width: 100%;
    }
    .md_filters .flt_select,
    .md_filters .middle_flt.datebtn input {
        width: 100%;
        min-width: 0;
    }
}