/*/////////////////////////////////////////////////// Login Page */

 body {
            background: #f4f0f9;
            height: 100vh;
        }

        .login-card {
            background: #ffffff;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
            width: 100%;
            max-width: 420px;
        }

        .crm-logo {
            width: 200px;
            margin-bottom: 20px;
        }

        .btn-crm {
            background: #9c28b1;
            color: white;
            border-radius: 30px;
            font-size: 18px;
            padding: 10px;
        }

        .btn-crm:hover {
            background: #7d1e8f;
            color: #fff;
        }

       .login{
            border-radius: 10px;
            height: 45px;
        }

/* /////////////////////////////////////////////////// sidebar Bg ////////////// */

.active_link_bg{
 background-color: #A9268D; 
      color: #fff !important;
      border-radius: 10px;
}

.sidebar-bg .nav-link.active {
      background-color: #A9268D; 
      color: #fff !important;
      border-radius: 10px;
      text-decoration: none;
}

/* Sidebar Navigation Item Hover Effects */
.sidebar-nav-item {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 8px;
    cursor: pointer;
}

.sidebar-nav-item:not(.active_link_bg):hover {
    background-color: #F9F0F7;
    transform: translateX(4px);
}

.sidebar-nav-item:not(.active_link_bg):hover .sidebar-icons {
    color: #A9268D !important;
    transform: scale(1.1);
}

.sidebar-nav-item:not(.active_link_bg):hover a {
    color: #A9268D !important;
}

.sidebar-nav-item.active_link_bg {
    box-shadow: 0 2px 8px rgba(169, 38, 141, 0.3);
}

.sidebar-nav-item.active_link_bg .sidebar-icons {
    color: #fff !important;
}

/* Accordion Button Hover Effects */
.accordion-button:not(.collapsed) {
    background-color: #F9F0F7 !important;
    color: #A9268D !important;
}

.accordion-button.accordion-active {
    background-color: #F9F0F7 !important;
    color: #A9268D !important;
}

.accordion-button:not(.collapsed) .sidebar-icons,
.accordion-button.accordion-active .sidebar-icons {
    color: #A9268D !important;
}

.accordion-button:hover:not(.collapsed) {
    background-color: #F9F0F7 !important;
}

.accordion-button:hover {
    background-color: #F9F0F7 !important;
    transition: all 0.3s ease;
}

/* Sub-menu Items Hover */
.sidebar-sub-item {
    transition: all 0.2s ease;
    padding: 4px 12px;
    border-radius: 6px;
    margin: 2px 0;
    width: 100%;
}

.sidebar-sub-item:hover {
    background-color: #F9F0F7;
    transform: translateX(4px);
}

.sidebar-sub-item a:hover {
    color: #A9268D !important;
}

/* Active state for sub-menu items */
.sidebar-sub-item-active {
    background-color: #A9268D !important;
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(169, 38, 141, 0.25);
}

.sidebar-sub-item-active a {
    color: #fff !important;
}

.sidebar-sub-item-active:hover {
    background-color: #A9268D !important;
    transform: translateX(4px);
}

.sidebar-sub-item-active:hover a {
    color: #fff !important;
}



/* Responsive Sidebar */
@media (max-width: 768px) {
    .sidebar-bg {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .sidebar-bg.show {
        left: 0;
    }
    
    .sidebar-nav-item {
        margin: 2px 4px;
        padding: 12px 8px !important;
    }
    
    .sidebar-nav-item a {
        font-size: 13px !important;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .sidebar-nav-item {
        margin: 2px 6px;
        padding: 10px 12px !important;
    }
    
    .sidebar-nav-item a {
        font-size: 13px !important;
    }
}

/* Smooth transitions for all sidebar elements */
.sidebar-nav-item,
.sidebar-nav-item a,
.sidebar-nav-item .sidebar-icons,
.sidebar-sub-item,
.accordion-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active state enhancement with left border indicator */
.sidebar-nav-item.active_link_bg {
    position: relative;
    /* border-left: 0px solid #fff; */
    box-shadow: 0 2px 8px rgba(169, 38, 141, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Icon transitions */
.sidebar-icons {
    transition: all 0.3s ease;
}

/* Ensure active state icons are white */
.sidebar-nav-item.active_link_bg .sidebar-icons,
.sidebar-nav-item.active_link_bg svg {
    color: #fff !important;
    fill: #fff !important;
    stroke: #fff !important;
} 
.font-poppins {
  font-family: 'Poppins', sans-serif !important;
}
.crm-effect{
    color: #A9268D !important;
}
.crm_bg{
    background-color: #A9268D !important;
}
.slide-dashboard{
background-color: #F9F0F7;
}
.form-floating label, .user-type{
  font-size: 12px !important;
}
.sidebar{.font-poppins {
  font-family: 'Poppins', sans-serif !important;
}
.crm-effect{
    color: #A9268D !important;
}
.crm_bg{
    background-color: #A9268D !important;
}
.form-floating label, .user-type{
  font-size: 12px !important;
}
.table-size{
  max-height: 300px;
}
.sidebar{
  background-color: #FAF2F8 !important;
}
.medium_font{
  font-size: 14px !important;
}
.user_heading{
  background-color: #A9268D12;
}
.table-heading{
  background-color: #F9F0F7 !important;
}
.admin-img{
  width: 40px;
}
.quote_tabs.active {
  border-bottom: 2px solid #A9268D !important;
}
.quote_tabs {
  border-bottom: 2px solid transparent; 
  cursor: pointer;
}
.item-btn{
  border: 1px solid #A9268D !important;
}
.sidebar-icons{
  color:#B8B5B8 ;
}
.profile-name{
  color: #0025A9;
}
.small-text{
  font-size: 10px;
}
.face-img{
  width: 200px;
  height: 200px;
}
.table-dropdown1{
  background-color: #5F4DB280 !important;
}
.table-dropdown2{
  background-color: #95FA7C !important;
}
.table-dropdown3{
  background-color: #EA6565 !important;
}
.table-dropdown4{
  background-color: #8830A680 !important;
}
.accordion-button::after {
  transform: scale(0.7) rotate(0deg) !important;
}

.accordion-button:not(.collapsed)::after {
  transform: scale(0.7) rotate(-180deg) !important;
}


.modal-content{
  /* box-shadow: #f8ade8; */
  /* background-color: #ffeffb; */
  border: 1px solid #F9F0F7;
  border-radius: 10px;       /* optional rounded edges */
  padding: 20px;
  
  /* Glow effect */
  /* box-shadow: 0 0 10px #e7e7e7,
              0 0 20px #e7e7e7,
              0 0 20px #e7e7e7; */
}

/*/////////////////////////////////////////////////////////////////////// Dashboard */
.table-data-img{
  max-width: 100px;
  max-height: 120px;
}

.border-dotted {
  border-style: dotted !important;
}

/* LeadManagement */

.add-btn{
  border: 1px solid #A9268D ;
  color: #A9268D;
  background-color:#F9F0F7 ;
}


.bg-gr{
  background-color: #95FA7C;
}
.bg-voilate{
  background-color: #5F4DB280;
}



/* ////////////////////////////////////////////////////////////////////////////// */





  background-color: #FAF2F8 !important;
}
.medium_font{
  font-size: 14px !important;
}
.user_heading{
  background-color: hsla(313, 63%, 41%, 0.071);
}
.table-heading{
  background-color: #F9F0F7 !important;
}
.admin-img{
  width: 40px;
}
.quote_tabs.active-tab {
  border-bottom: 2px solid #A9268D !important;
}
.quote_tabs {
  border-bottom: 2px solid transparent; 
  cursor: pointer;
}
.item-btn{
  border: 1px solid #A9268D !important;
}
.sidebar-icons{
  color:#B8B5B8 ;
}
.profile-name{
  color: #0025A9;
}
.small-text{
  font-size: 10px;
}
.modal-content{
  /* box-shadow: #f8ade8; */
  /* background-color: #ffeffb; */
  border: 1px solid #F9F0F7;
  border-radius: 10px;       /* optional rounded edges */
  padding: 20px;
  
  /* Glow effect */
  /* box-shadow: 0 0 10px #e7e7e7,
              0 0 20px #e7e7e7,
              0 0 20px #e7e7e7; */
}

/*/////////////////////////////////////////////////////////////////////// Dashboard */
.table-data-img{
  max-width: 100px;
  max-height: 120px;
}

.border-dotted {
  border-style: dotted !important;
}

/* LeadManagement */

.add-btn{
  border: 1px solid #A9268D ;
  color: #A9268D;
  background-color:#F9F0F7 ;
}


.bg-gr{
  background-color: #95FA7C;
}
.bg-voilate{
  background-color: #5F4DB280;
}


.em-tb-bg{
  background-color: #5F4DB280;
  color: black;
}

.accordion-button:not(.collapsed) {
    background-color: #A9268D !important;  /* your highlight color */
    color: #fff !important;
    border-radius: 8px;
}



/*/////////////////////////////////////////////////////////////// Client Visit Toast */

/* Toast container responsive */
.toast-container {
    max-width: 360px;               /* limit width */
    width: 90%;                     /* responsive for small screens */
    right: 10px !important;         /* spacing */
}

/* Toast body scroll if too many items */
.toast-body {
    max-height: 450px;              /* limit height */
    overflow-y: auto;               /* scroll inside */
}

/* Make each notification responsive */
.toast-body .d-flex {
    flex-wrap: wrap;
}

/* Image style */
.toast-body img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

/* Mobile fix */
@media (max-width: 576px) {
    .toast-container {
        top: 60px !important;
        right: 5px !important;
        width: 95%;
    }

    .toast-body {
        max-height: 250px;
    }
}






