/*Font adding css start*/
@font-face{
    font-family: helvetica;
    src: url('../fonts/Helvetica.ttf');
}
/*update color form #435165 to #000*/
/*Font adding css end*/
/*common css start*/
    * {
        box-sizing: border-box;
        /* font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;*/
        font-family: helvetica;
        font-size: 16px;
    }
    body {
        background-color: #f3f3f3;
    }
    .updated-body{
        background-color: #f3f3f3;
        margin: 8px;
    }
    .line-color {
        color: #000;
    }
    .sidebar-link{
        font-weight: 500;
    }
    .header-line {
        font-size: 24px;
        margin: 30px 0 16px 0;
        font-weight: 700;
    }
    .text-para {
        font-size: 16px;
        margin: 10px 0;
        color: #888;
        font-weight: 500;
    }
    .btn-submit {
        padding: 8px 20px;
        border-radius: 8px;
        font-size: 15px;
        cursor: pointer;
        color: #fff;
        background: #000;
        font-weight: 400;
        border: 1px solid #000;
        transition: color 0.2s ease;
        text-decoration: none;
    }

    .btn-submit:hover {
        background-color: transparent;
        color: #000;
        border: 1px solid #000;
    }
    .logout-btncolor{
        color: #ff0000;
    }
    .box-title{
        border-radius: 5px;
        box-shadow: 0px 0px 3px 1px gray;
        padding: 10px 0px;
    }
    .error-msg{
        color: #dc3545;
        font-weight: 600;
    }
    .success-msg{
        color: green;
        font-weight: 600;
    }
    .success-box {
        background-color: #dff0d8;
        border: 1px solid #d0e9c6;
        color: #3c763d;
        padding: 15px;
        border-radius: 5px;
        margin-bottom: 20px;
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .error-box {
        background-color: #f8d7da; 
        border: 1px solid #f5c6cb; 
        color: #721c24; 
        padding: 15px;
        border-radius: 5px;
        margin-bottom: 20px;
        display: flex;
        flex-direction: row;
        align-items: center; 
    }
    .success-box i {
        margin-right: 10px;
        color: #3c763d;
    }
    .success-box p{
        margin: 0;
    }
    .success-pagemain {
        width: 50%;
        margin: 0 auto;
        margin-top: 100px;
        text-align: center;
    }
    .success-line-msg{
        color: #3c763d;
        margin: 4px 0;
        font-size: 11px;
        background-color: #dff0d8;
        border: 1px solid #d0e9c6;
        display: flex;
        padding: 10px;
        border-radius: 5px;
        font-size: 11px;
    }
    .errot-line-msg{
        color: #dc3545;
        margin: 4px 0;
        font-size: 11px;
        background-color: #f8d7da; 
        border: 1px solid #f5c6cb; 
        display: flex;
        padding: 10px;
        border-radius: 5px;
        font-size: 11px;
    }
    /* Loader styles */
        .loadingcontainer {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1000; /* Ensure the loading indicator is on top of everything else */
            background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent white background */
            backdrop-filter: blur(8px); /* Apply blur effect */
            display: none; /* Hide by default */
        }
        .loader {
            width: 30px;
            height: 30px;
            border: 4px solid #f3f3f3; /* Light grey border */
            border-top: 4px solid #3498db; /* Blue border */
            border-radius: 50%;
            animation: spin 2s linear infinite; /* Spinner animation */
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

/*common css end*/

/* Sidebar styles Start*/
    .sidebar {
        width: 20%;
        background-color: #000;
        padding: 50px 0;
        margin: 0 10px;
        border-radius: 10px;
    }
    .sidebar .links {
        display: flex;
        padding: 10px 24px;
        text-decoration: none;
        transition: color 0.3s ease;
        align-items: center;
        gap: 20px;
        flex-direction: row;
    }
    .sidebar .links .sidebar-link {
        color: #fff;
        text-decoration: none;
        font-size: 18px;
    }
    .sidebar .links:hover, .sidebar .active-link{
        background: #fff;
    }
    .sidebar .links:hover .sidebar-link, .sidebar .active-link .sidebar-link{
        color: #000;
        font-weight: 600;        
    }
    .sidebar .links .link-icon {
        width: 24px;
        height: 24px;
    }
    .sidebar .links:hover .link-icon, .sidebar .active-link .link-icon{
        filter: brightness(0) saturate(100%) invert(29%) sepia(11%) saturate(1293%) hue-rotate(176deg) brightness(94%) contrast(85%);
    }
/* Sidebar styles End*/

/* Main content styles start*/
    .maincontent {
        flex: 1;
        padding: 20px;
        /*        background-color: #f4f4f4;*/
        background-color: #fff;
        margin: 0 10px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        border-radius: 10px;
        position: relative;
        width: 80%;
    }
    .main-container {
        display: flex;
        flex-direction: row;
        gap: 15px;
        padding: 15px 0;
        min-height: 680px;
        width: 100%;
    }
/* Main content styles end*/

/* Admin session dropdown start*/

    header, .updated-body header {
        text-align: right;
        margin: 20px;
        display: flex;
        align-items: center;
    }
    .logo {
        width: 50%;
        text-align: left;
    }
    .dropdown {
        position: relative;
        display: inline-block;
        float: right;
        width: 50%;
        flex: unset;
        text-align: right;
    }
    .dropdown-toggle {
        background-color: #ffffff;
        color: #333333;
        padding: 10px 50px 10px 30px;
        border-radius: 4px 4px 0 0;
        font-size: 16px;
        position: relative;
        cursor: pointer;
        border: unset;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }
    .dropdown-toggle::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%) rotate(0deg);
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #333333; /* Black arrow color */
        transition: transform 0.3s ease;
    }
    .show .dropdown-toggle::after {
        transform: translateY(-50%) rotate(-180deg);
    }
    .dropdown-menu, .updated-body .dropdown-menu {
        display: none;
        position: absolute;
        background-color: #ffffff;
        min-width: 124px;
        z-index: 1;
        padding: 6px 0;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        border-radius: 0 0 4px 4px;
        right: 0;
    }
    .updated-body .dropdown-menu {
        min-width: 124px;
        left: unset;
    }
    .dropdown-menu a {
        display: block;
        width: 100%;
        padding: 4px 20px;
        text-align: left;
        border: none;
        background-color: transparent;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.3s ease;
        text-decoration: none;
    }

    .dropdown-menu a:hover {
        background-color: #f5f5f5;
    }
    .show {
        display: block;
    }
/* Admin session dropdown end*/

/*Login Page design Start*/
    .loginpage {
        background-color: #000;
    }
    .login {
        width: 400px;
        background-color: #ffffff;
        box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
        margin: 100px auto;
        border-radius: 8px;
        min-height: 387px;
    }
    .login h1 {
        text-align: center;
        color: #000;
        font-size: 24px;
        padding: 20px;
        border-bottom: 1px solid #000;
    }
    .login form {
        display: flex;
        justify-content: center;
        padding: 20px;
        flex-direction: column;
    }
    .login form label {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
        background-color: #000;
        color: #ffffff;
        border-radius: 8px 0 0 8px;
    }
    .login form input[type="password"], .login form input[type="text"] {
        width: 310px;
        height: 50px;
        border: 1px solid #dee0e4;
        margin-bottom: 20px;
        padding: 0 15px;
        border-radius: 0 8px 8px 0;
    }
    .login form input[type="submit"] {
        width: 100%;
        padding: 15px;
        margin-top: 20px;
        background-color: #000;
        border: 0;
        cursor: pointer;
        color: #ffffff;
        transition: background-color 0.2s;
        border-radius: 8px;
        font-weight: 500;
    }
    .login form input[type="submit"]:hover {
        background-color: transparent;
        color: #000;
        border: 1px solid #000;
        transition: background-color 0.2s;
    }
    .login form .form-field {
        margin: 0 auto;
        display: flex;
    }
    .sales-login {
        display: flex;
        width: 100%;
        gap: 3px;
        align-items: center;
        justify-content: center;
    }
    .sales-login p {
        margin: 10px 0;
        font-size: 13px;
    }
    .sales-login a {
        text-decoration: none;
        font-weight: 600;
        color: #000;
        font-size: 12px;
    }
    .sales-login a:hover{
        color: #0000EE;
    }
/*Login Page design End*/

/*Import Data Page Design Start*/
    .form-container {
        width: 100%;
        max-width: 400px;
    }

    .form-container .form-group {
        margin-bottom: 20px;
    }

    .form-container .form-label {
        display: block;
        margin-bottom: 16px;
        color: #000;
        font-weight: 500;
    }

    .form-container .form-input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 16px;
    }
/*Import Data Page Design End*/

/*Pages common css and head section design Start*/
    .headsection {
        display: flex;
        align-items: center;
        margin: 30px 0 20px 0;
    }
    .headsection .header-line-head {
        width: 50%;
        text-align: left;
    }
    .headsection .headsec-main{
        flex: 1 1 33.33%;
    }
    .headsection .headsec-main .header-line{
        margin: 0;
    }
    .headsection .header-line-btn {
        text-align: right;
    }
    .headsection .header-line-btn .btn-submit {
        padding: 8px 20px;
        border-radius: 8px;
        font-size: 18px;
        cursor: pointer;
        color: #fff;
        background: #000;
        font-weight: 400;
        border: 1px solid #000;
        transition: color 0.2s ease;
        text-decoration: none;
    }
    .headsection .header-line-btn .btn-submit:hover {
        background-color: transparent;
        color: #000;
        border: 1px solid #000;
    }
    .headsection .headsec-main:nth-child(2) {
        flex: 1 1 50%;
    }
    .headsection .headsec-main #search {
        width: 100%;
        background: #e1e1e1;
        border-radius: 5px;
        border: 0;
        background-image: url("../images/icon/searchicon.png");
        background-repeat: no-repeat;
        background-size: 18px;
        background-position-x: 10px;
        background-position-y: center;
        padding: .375rem 2.75rem;
    }
    .updated-body .btn-submit {
        padding: 8px 20px;
        border-radius: 8px;
        font-size: 15px;
        cursor: pointer;
        color: #fff;
        background: #000;
        font-weight: 400;
        border: 1px solid #000;
        transition: color 0.2s ease;
        text-decoration: none;
    }
    .updated-body .btn-submit:hover {
        background-color: transparent;
        color: #000;
        border: 1px solid #000;
    }
    .updated-body .page-action-btn {
        display: table-cell;
        text-align: center;
    }
    .updated-body .confirmation-btn {
        padding: 8px 20px;
        border-radius: 8px;
        font-size: 15px;
        cursor: pointer;
        color: #fff;
        background: #4CAF50;
        font-weight: 400;
        border: 1px solid #4CAF50;
        transition: color 0.2s ease;
        text-decoration: none;
    }
    .freezed-lead {
        background: #1D70FF36;
        padding: 10px;
        border-radius: 5px;
        border: 1px solid #1E71FF;
        display: inline-block;
        max-width: 100px;
        color: #1E71FF;
        font-weight: 500;
        letter-spacing: 0.25px;
    }
    .updated-body .confirmation-btn:hover {
        background-color: #26BC6A36;
        color: #4CAF50;
        border: 1px solid #4CAF50; 
    }
    .updated-body .secondary-action-btn .remove-data-btn img {
        width: 18px;
    }
    .updated-body .secondary-action-btn img {
        width: 22px;
    }
    /*.updated-body .remove-data-btn {
        padding: 0;
        margin: 16px 0 0 0;
        width: 100%;
    }*/
    .page-action-btn .secondary-action-btn {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin: 10px 0 0 0;
        width: 100%;
    }
    .filter-options {
        display: flex;
        align-items: baseline;
        gap: 15px;
        justify-content: end;
        /* margin: 25px 0 10px;*/
    }
    .option-main .visible-leads {
        display: flex;
    }
    .option-main {
        display: flex;
        align-items: flex-start;
        gap: 24px;
        justify-content: end;
    }
    #union_dropdown {
        padding: 10px;
        font-size: 18px;
        border: 1px solid #ccc;
        border-radius: 5px;
        width: 200px;
        background-color: #fff;
        color: #333;
        cursor: pointer;
    }
    #union_dropdown:after {
        content: "\25BC"; /* Unicode character for down arrow */
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        pointer-events: none;
    }
    .filter-label {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
        font-size: 18px;
    }
    .maincontent .records{
        margin: 20px 0 0 0;
    }
    .pages-fluid{
        overflow-x: scroll;
    }
    .char-filter{
        margin: 10px 0;
        text-align: right;
    }
    .char-filter .graph-filter-label{
        font-size: 15px;
        font-weight: 600;
    }
    .char-filter .graph-filter-dropdown{
        padding: 4px 10px;
        font-size: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
        min-width: 150px;
        background-color: #fff;
        color: #333;
        cursor: pointer;
        margin: 0 0 0 10px;
    }
/*Pages common css and head section design End*/

/*Pages Table section design Start*/
    .pagedata-container .page-table {
        border-spacing: 0;
        border-collapse: unset;
    }
    .pagedata-container .page-table .thead-dark th {
        color: #666666;
        background-color: #F4F4F4;
        border: 1px solid #00000029;
        vertical-align: sub;
        font-weight: 600;
    }
    .pagedata-container .page-table tbody th, .pagedata-container .page-table tbody td {
        color: #3a3a3a;
        background-color: #fff;
        border-bottom: 1px solid #00000029;
        font-weight: 400;
        vertical-align: sub;
        border-right: 1px solid #00000029;
        border-top: 0;
        border-left: 1px solid #ffffff;
    }
    .pagedata-container .page-table tbody tr:nth-child(2n+2) th, .pagedata-container .page-table tbody tr:nth-child(2n+2) td {
        background: #f9fcff;
    }
    .pagedata-container .page-table .thead-dark th:first-child {
        border-radius: 10px 0 0 10px;
    }
    .pagedata-container .page-table .thead-dark th:last-child {
        border-radius: 0 10px 10px 0;
    }
    .pagedata-container .page-table .thead-dark th:not(:first-child) {
        border-left: 0;
    }
    .pagedata-container .page-table tbody td:last-child {
        border-right: 0;
    }
    .pending-follow-up, .pending-completion, .user-notactive, .no-category {
        color: #ff0000;
        font-weight: 600;
        letter-spacing: 1px;
        font-size: 14px;
    }
    .done-follow-up, .completed, .user-active {
        color: #4caf50;
        font-weight: 600;
        letter-spacing: 1px;
        font-size: 14px;
    }
    .sort-field{
        cursor: pointer;
    }
    .page-table tbody tr{
        position: relative;
    }
/*Pages Table section design End*/

/*Communication page Design update Start */
    .sample-send-popup .maincontent, .quote-send-popup .maincontent{
        margin: 10px;
        position: relative;
        width: initial;
    }
    .email-send-popup .maincontent {
        min-height: 120px;
        margin: 10px;
        position: relative;
        width: initial;
    }
    .hidden-form{
        display: none;
    }
/*Communication page Design update End*/

/*Dashboard Graph section Start*/
    .all-graphs {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        width: 100%;
        margin: 45px 0;
    }
    .all-graphs .lead-chart{
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        border-radius: 10px;
        padding: 20px;
        width: 49%;
        float: left;
    }
    .leadchart-main-div{
        max-width: 500px;
        max-height: 500px;
    }
    .chart-head {
        text-align: center;
        font-size: 20px;
        margin: 0 0 30px 0;
    }
    #commonGraph{
       max-width: 500px;
       max-height: 500px;
       margin: 0 auto; 
    }
/*Dashboard Graph section End*/

/*Create User section Start*/
    #viewcatstatus .categories-main {
        overflow-y: scroll;
        max-height: 245px;
    }
/*Create User Section End*/

/* Custom Dropdown */
.dropdown-quotes {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    max-width: 100%;
}  
.dropdown-quotes .dropdown-btn {
    border: 1px solid #ced4da;
    border-radius: 3px;
    padding: 10px;
    padding-right: 35px;
    position: relative;
}
.dropdown-quotes .dropdown-btn:after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border: 1px solid #333;
    position: absolute;
    right: 12px;
    top: 15px;
    transform: rotate(45deg);
    border-width: 0 1px 1px 0;
    transition: all 0.5s ease;
}
.dropdown-quotes .dropdown-btn.opened:after {
    transform:rotate(-135deg);
    top: 22px;
}
.dropdown-quotes .dropdown {
    width: 100%;
    background-color: #c3c3c3;
}
.dropdown-quotes .dropdown-list {  
    list-style: none;
    display: grid;
    gap: 5px;
    border: 1px solid #ced4da;
    padding: .375rem .75rem;
    margin: 0 0;
    width: 100%;
    height: 100%;
    max-height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.dropdown-quotes .dropdown-list::-webkit-scrollbar {
    width: 8px;
    height: 0;
}
.dropdown-quotes .dropdown-list::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,.2);
    border-radius: 8px;
}
.dropdown-quotes .dropdown-list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0,0,0,.3);
}
.dropdown-quotes .dropdown-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.dropdown-quotes .dropdown-list input[type=checkbox] {
    margin-top: 6px;
}
.dropdown-quotes .dropdown-list li label {
    margin-bottom: 0;
}
/* End Custom Dropdown */

/*Hide Hotlead section */
.sidebar .hotleads-link, 
.hotlead{
    display: none;
}
.visibleleads-main #id{
    display: none;
}
.vcommunications #send_email,
.vcommunications #sent_email,
.vcommunications #send_email_date,
.vcommunications #send_quote,
.vcommunications #send_quote_date,
.vcommunications #send_sample, 
.vcommunications #sent_quote,
.vcommunications #sent_sample,
.vcommunications #send_sample_date,
.vcommunications #completed{
    display: none;
}
.vcompleted #send_email,
.vcompleted #sent_email,
.vcompleted #send_email_date,
.vcompleted #send_quote,
.vcompleted #send_quote_date,
.vcompleted #send_sample, 
.vcompleted #sent_quote,
.vcompleted #sent_sample,
.vcompleted #send_sample_date,
.vcompleted #completed{
    display: none;
}
