﻿:root {
    --sidebar-width: 280px;
    --sidebar-width-collapsed: 80px;
}

@font-face {
    font-family: 'AcuminPro';
    src: url('../Fonts/Acumin-RPro.otf');
    font-weight: normal;
    font-style: normal;
}

body {
    overflow-x: hidden;
    font-family: AcuminPro, sans-serif;
    color: #8c8c8c;
    height: 100%;

}

body a {
    text-decoration: none;
}

.ESLogo img {
    display: none;
}

.icon-container {
    height: 100px; /* Example height for the div */
    background-color: #7FBD42;
    color:white;
    border-radius: 5px;
    padding-top: 15px;
    font-size: 1em;
}

.icon-full-height {
    font-size: 80px; /* Adjust as needed to fill the height */
    /* Or, if using line-height to match div height: */
    /* line-height: 100px; */
}

/* bootstrap primary button overrid */

.btn-outline-primary:disabled, .btn-outline-primary.disabled {
    color: #7fbc42;
    background-color: #8C8C8C;
}
.btn-outline-primary {
    color: #7FBD42;
    border-color: #7FBD42;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #7fbc42;
    border-color: #7FBD42;
}

.btn-primary {
    background-color: #7fbc42;
    border-color: #7fbc42;
    color: #fff;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active,
    .btn-primary.active,
    .show > .btn-primary.dropdown-toggle {
        background-color: #8c8c8c;
        border-color: #8c8c8c;
        color: #fff;
    }


/* Colors */
.bgr-primary {
    background-color: #7FBD42 !important;
}
.bgr-secondary {
    background-color: #8C8C8C !important
}

.bgr-light {
    background-color: #F5F5F5 !important;
}

.bgr-dark {
    background-color: #2B3132 !important; 
}

.brd-primary {
    border-color: #7FBD42 !important;
}

.brd-secondary {
    border: 1px solid #8C8C8C !important;
}

.brd-dark {
    border-color: #2B3132 !important;
}

.txt-primary {
    color: #7FBD42 !important;
}

.txt-secondary {
    color: #8C8C8C !important
}

.txt-light {
    color: #F5F5F5 !important;
}

.txt-dark {
    color: #2B3132 !important;
}

/* Dasbhoard tiles */
.dashtile, .dashlink {
    width: 100%;
    border-radius: 5px;
    height: 100px;
}

.dashlabel {
    font-size: 36px;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 1.1px;
}

.dashcount {
    font-size: 48px;
    font-weight: 700;
}

.dashlink i {
    font-size: 48px;
}
.dashlink .cardbody {
    vertical-align: middle;
}
/* Sidbar */

.sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    background: #f5f5f5 !important;
    *transition: all 0.3s;
    z-index: 100;
}

.sidebar.collapsed {
    width: var(--sidebar-width-collapsed);
}

.sidebar-link {
    color: #8C8C8C !important;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 4px 16px;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-link:hover {
    color: #2B3132 !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.sidebar-link.active {
    color: #2B3132 !important;
    background: rgba(255, 255, 255, 0.1);
}


.logo {
    height: 75px;
    background-image: url(../Images/BizGenLogo_New.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    background-position: center;

}

.collapsed .logo {
    height: 40px;
    background-image: url(../Images/EnergySolutions_ShieldOnly.png);
    background-size: 75px;
    background-repeat: no-repeat;
    margin: 0 -20px 15px;
    background-position: center;
}

.logo-text {
    background: linear-gradient(45deg, #6b8cff, #8b9fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s ease;
}

.img-thumbnail {
    height: 250px !important;
}

.notification-badge {
    background: #ff6b6b;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
}

.profile-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-content {
    margin-left: var(--sidebar-width);
    background-color: #7FBD42;
    min-height: 100vh;
    padding: 20px;
    transition: all 0.1s;
}

.collapsed ~ .main-content {
    margin-left: var(--sidebar-width-collapsed);
}

.toggle-btn {   
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 100;
    cursor: pointer;
    transition: transform 0.1s;
    padding: 5px;
    margin-right: -35px;
}

.collapsed .toggle-btn {
    transform: rotate(180deg);
 }

.collapsed .hide-on-collapse {
    opacity: 0;
    visibility: hidden;
}

.collapsed .logo-text {
    opacity: 0;
}

.collapsed .profile-info {
    opacity: 0;
}

.collapsed .sidebar-link {
    text-align: center;
    padding: .7rem !important;
    margin: 0 8px;
}

    .collapsed .sidebar-link i {
        margin: 0 !important;
        display: flex;
        justify-content:left;
        padding-left: 5px;
    }

.profile-info {
    transition: opacity 0.1s;
}
/* KPI Popup*/
.KPIcard {
    border-radius: 10px;
    font-size:14px;
    max-width: 150px;
}

/* Filter Popup*/

#statusDropdown .dropdown-menu, #appointmentDropdown .dropdown-menu {
    position: static;
    width: 100%;
    transform: none !important;
}

/* Spinner */

#spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Spinning circle */
.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #7FBD42;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Buttons */
.lead-card {
    padding: 5px !important;
    font-size: 16px;
    line-height: 1.5;
}

.nav-btn, .nav-btn:hover {
    font-size: 20px;
    color: white;
}

.accept-btn, edit-btn {
    border: 0;
    padding: 3px;
}

.accept-btn:hover, .accept-btn:active, .accept-btn:focus {
    opacity: 0.8;
    border: none !important;
}

.accept-btn i {
    font-size: 36px;
    padding: 0;
    height: 42px;
    width: 42px;
}

.edit-btn i {
    font-size: 24px;
    padding: 0;
    height: 36px;
    width: 36px;
}

.quotenav.nav-item {
    border-width: 1px 1px 0 1px;
    border-color: rgba(0,0,0,0.125);
    border-style: solid ;
    border-top-left-radius: 5px ;
    border-top-right-radius: 5px ;   
    background-color: #f5f5f5;
    margin: 0 1px 0 0;
}
.quotenav.nav-item:first-of-type {
    margin-left: 2px !important;
    }

.quotenav.nav-item.current {
    z-index: 10;
    border-color: #7FBD42 !important;
    background-color: #7FBD42 !important;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1), /* left shadow */
    4px 0 8px rgba(0, 0, 0, 0.1); /* right shadow */
}

.quotenav.nav-item a {
    color: #8c8c8c !important;
}

.quotenav.nav-item.current a {
    color: white !important;
}


/* Lead Card*/


    #contact.nav-link.active, #details.nav-link.active {
        display: none;
    }

    #LeadTab {
        position: absolute;
        bottom: 0;
        right: 0;
    }

    .nav-link#contact, .nav-link#details, .nav-link#contact:hover, .nav-link#details:hover {
        border: 0;
    }

/* Estimate Accordions */
.accordion-button:not(.collapsed) {
    color: #8c8c8c !important;
    background-color: #f5f5f5 !important;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button {
    color: #8c8c8c !important;
}

/* Presentation */
.presentation-logo {
    background-image: url("/Images/BAS_Logo_Horizontal.png");
    background-repeat:no-repeat;
    background-position: left;
    background-size: auto;
    height:100px;
}

.presentation-gen {
    background-image: url("/Images/GeneratorHeaderImage.png");
    background-repeat: no-repeat;
    background-position: right;
    background-size: auto;
}

.presentation-img {
    font-size: 1.5em;
    justify-content: space-evenly;
    text-align: center;
    color: #7FBD42;
    font-weight: bold;
}

.pres-btns {
    width: 175px;
    height: 50px;
 }

.pres-btns button.disabled {
    color: white;
}

/* Small Screens */

@media screen and (max-width: 576px) {
    .sidebar.collapsed, .toggle-btn {display: none;
    }
    
    .sidebar {
        position: absolute;
    }
    
    .ESLogo img {
        display: block;
        height: 50px;
        width: auto;
        margin: 10px 0;
    }
    .dashlink {
        min-height:auto;
    }

    .dashtile {
        height: 183px;
    }
   
    .presh1 {
        font-size:1.5em;
    }

    .presentation-gen {
        background-image: none;
    }

    .img-thumbnail {
        height: auto !important;
        --bs-gutter-x: none !important;
    }
}

@media screen and (max-width: 991px) {
    

    .dashlabel {
        font-size: 24px;
        margin-bottom: 1rem;
        height: 75px;
        line-height: 1.25;
    }

    .responsive-stack thead {
        display: none;
    }

    .responsive-stack tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 0.25rem;
        padding: 0.5rem;
    }

    .responsive-stack tbody td {
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 0;
        border: none;
        border-bottom: 1px solid #dee2e6;
    }

        .responsive-stack tbody td:last-child {
            border-bottom: none;
        }

        .responsive-stack tbody td::before {
            content: attr(data-label);
            font-weight: bold;
        }


    
}

@media screen and (max-width: 1199px) {
    .presentation-logo {
        background-image: url("/Images/BAS_Logo_Vertical.png")
    }
}



