
/* General Background and Font Style */

  
  
  .button {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.3s;
  }
  
  .button:hover {
    background-color: var(--button-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }
  
  /* For cards or sections */
  .card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 10px 0;
    transition: box-shadow 0.3s, transform 0.3s;
  }

   /* For cards or sections */
   .card-ai {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 40px; /* Increased padding for better content spacing */
    margin: 20px 0; /* Increased margin for better separation from other elements */
    transition: box-shadow 0.3s, transform 0.3s;
    width: 100%; /* This makes the card responsive, adjusting to the parent container's width */
    max-width: 600px; /* Set a max-width for larger screens, adjust based on your design requirements */
    min-height: 300px; /* Set a minimum height to ensure the card is larger, adjust as needed */
}
  
 /* development hover

  .card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(-3px);
  }
  

 /* Navbar and Tabs */
 .nav-tabs .nav-link {
     background-color: #e9ecef; /* Light grey for tabs */
     color: #495057; /* Darker text for contrast */
     border: 1px solid transparent;
     border-top-left-radius: 0.25rem;
     border-top-right-radius: 0.25rem;
     padding: 0.5rem 1rem;
 }
 .nav-tabs .nav-link.active {
     background-color: #fff; /* White for active tab */
     border-color: #dee2e6 #dee2e6 #fff;
     color: #007bff; /* Bootstrap primary color for active tab text */
 }

 /* Funnel Stages and Content Boxes */
 .funnel-stage {
     background: #fff; /* White background for content */
     color: #2e81d4; /* Dark grey text for readability */
     border: 1px solid #dee2e6;
     border-radius: 0.25rem;

     box-shadow: 0 2px 4px rgba(0,0,0,0.05);
 }

 

 /* Stat Board */
 #statsBoard .card {
     background: #fff; /* White background for cards */
     color: #495057; /* Dark grey text */
     border: 1px solid #dee2e6; /* Border to define card edges */
     border-radius: 0.25rem;
     padding: 1rem;
     margin-bottom: 1rem;
 }

 /* Responsive Design */
 @media (max-width: 768px) {
     .container, .stat-board {
         width: 100%;
         padding: 0.5rem;
     }
     .stat {
         width: 100%; /* Full width for smaller screens */
     }
 }
.funnel-stage, .tab-content {
background: linear-gradient(to right, #f5f8fb, #f5f8fb); /* Bright gradient */
color: #000000; /* White text */
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
position: relative; /* For pseudo-element positioning */
overflow: hidden; /* Ensures pseudo-elements are within the border */
}

.funnel-stage::before {
content: '';
position: absolute;
top: 20%;
left: -50%;
width: 200%;
height: 50%;
background-color: rgba(255, 255, 255, 0.1);
transform: rotate(30deg);
pointer-events: none;
animation: spin 5s linear infinite;
}

@keyframes spin {
100% {
 transform: rotate(390deg);
}
}
.funnel-stage:hover {
transform: scale(1.05);
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}

.funnel-stage:hover::before {
background-color: rgba(255, 255, 255, 0.2);
}
.bar-text {
fill: #ffffff;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.slider-container input[type=range] {
background-color: #d0d3d5;
}


#statsBoard .card {
background: linear-gradient(to right, #12c2e9, #c471ed, #f64f59);
color: #ffffff;
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}


.blink {
animation: blink 2s linear infinite;
}

@keyframes twinkle {
     0%, 100% { opacity: 1; }
     50% { opacity: 0.5; }
 }

 .twinkle {
     animation: twinkle 1s ease-in-out infinite;
 }





  

/* Style for funnel stages */
.funnel-stage {
background: linear-gradient(135deg, #001d87, #343a40); /* Gradient background */
color: #fff;
border-radius: 10px;
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.funnel-stage:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.funnel-stage-header {
font-size: 1.8em;
margin-bottom: 10px;
}

/* Additional styles as necessary */


/* Style for funnel stages */
.funnel-stage {
/* Other styles remain the same */
transition: background-color 0.3s ease;
}

/* You may remove or adjust the initial background color here to make it neutral */

/* Navbar and Tabs */
.nav-tabs .nav-link {
/* Other styles remain the same */
transition: background-color 0.3s ease; /* Smooth transition for background color */
}







/* Additional responsive and aesthetic enhancements can be added */

/* Example for category-specific styling */
#leadCost, #totalMarketingCost, #totalCost, #customerAcquisitionCost, #InvestmentPerSale, #productMargin, #LeadsBudgetStats {
    background: rgba(255, 100, 100, 0.1); /* Different background */
}


#netRevenue, #grossRevenue, #roi, #profitPerKit, #ActualTouchValue, #totalSalesNum, #profitperlead  {
    background: rgba(100, 255, 100, 0.1); /* Different background */
}


    #improvementMessageContainer {
        display: flex; /* Use flexbox layout */
        flex-wrap: wrap; /* Allow items to wrap to the next line */
        align-items: center; /* Center items vertically */
        justify-content: center; /* Align items to the start of the container */
        gap: 10px; /* Space between items */
        max-width: 800px;
        padding-bottom: 15px;


        
    }




/* Additional styles as needed */
/* ... other existing styles ... */





body {
    font-family: 'Arial', sans-serif;
    color: #343a40;
    text-align: center;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.containerAI {
    width: 95%; /* Full width stats for better readability */
    margin: 0 auto;
    padding: 20px;
    text-align: center

}

.title {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.stat-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 3fr)); /* Auto-adjust columns based on content size */
    gap: 20px;


}

.stat {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the content vertically and horizontally */
    transition: transform 0.3s ease;
    overflow: visible; /* Ensures all text is visible */
    white-space: normal; /* Prevents wrapping of the text */
}

.stat:hover {
    transform: translateY(-10px);
}

.stat-value {
    font-size: 1.8rem; /* Set a fixed size for consistency */
    font-weight: bold;
}

.stat-label {
    font-size: 1.1rem;
    color: #d0d3d5; /* Lighter text for labels */
    margin-top: 10px; /* Spacing between the value and the label */


}

@media (max-width: 600px) {
    .stat-board {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }
    .stat {
        width: 100%; /* Full width stats for better readability */
    }
    .stat-value, .stat-label {
        text-align: center; /* Center-align text for mobile */
    }



                .number-value-leads {

      padding-right:3px; 
}
}
/* Additional CSS styles for detailed stats */










  /* Container for the dropdown and slider */
.funnel-container {
    text-align: center; /* Center align everything inside this container */
    margin-bottom: 20px;
    color: #007bff; /* Neon text color */
    margin: auto; /* Center align if not full width */

    background-color: #343a40; /* Deep space blue */
    border-radius: 10px;
    box-shadow: 0px 0px 20px #007bff; /* Neon glow */
    
}

  /* Container for the dropdown and slider */
  .funnel-containerx {
    text-align: center; /* Center align everything inside this container */
    margin-bottom: 20px;
    padding-left: 40px;
    padding-right: 45px;

    color: #007bff; /* Neon text color */
    margin: auto; /* Center align if not full width */

    background-color: #343a40; /* Deep space blue */
    border-radius: 10px;
    box-shadow: 0px 0px 20px #007bff; /* Neon glow */
    
}



/* Enhanced Styling for the Dropdown */
#metricSelect {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #007bff; /* Neon blue border */
    background-color: #343a40; /* Dark background */
    box-shadow: 0 0 5px #007bff; /* Subtle neon glow */
    font-size: 1rem;
    color: #007bff; /* Neon text color */
    outline: none;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#metricSelect:hover, #metricSelect:focus {
    box-shadow: 0 0 15px #007bff, 0 0 30px #007bff; /* Intensified neon glow on hover/focus */
    transform: translateY(-2px); /* Slight lift effect */
}

/* Consistent theming for the dropdown options */
#metricSelect option {
    background-color: #343a40; /* Dark background for options */
    color: #007bff; /* Neon text color */
}
/* Base styling */
#funnelSlider {
    width: 50%;
    height: 15px; /* Adjust the track height as necessary */
    border-radius: 5px;
    outline: none;
    opacity: 0.8;
    transition: opacity .2s;
    box-shadow: 0 0 8px #007bff;
}

#funnelSlider:hover {
    opacity: 1;
    box-shadow: 0 0 12px #007bff;
}

/* Thumb styling for Webkit (Chrome, Safari, newer versions of Opera) */
#funnelSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    margin-top: -8px; /* Adjust this value to center the thumb vertically */
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 10px #007bff;
    border: 2px solid #007bff;
}

/* Thumb styling for Mozilla Firefox */
#funnelSlider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border: 2px solid #007bff;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 10px #007bff;
}

/* Thumb styling for Microsoft Edge */
#funnelSlider::-ms-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 10px #007bff;
    border: 2px solid #007bff;
}

/* Consider adding track and fill styles for more consistent appearance */
#funnelSlider::-webkit-slider-runnable-track,
#funnelSlider::-moz-range-track,
#funnelSlider::-ms-track {
    /* Your track styling here */
}





.funnel-stage {
padding-top: 40px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


    .funnel-stage-header1 {
        font-size: 1.5em;
        font-weight: bold;
        text-align: center;
    left: 30px; /* For mini-funnel-right, set right: 10px; */
    width: 150px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px;

}


.funnel-stage-headertofu {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    width: 150px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    }

.funnel-stage-header1a {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    width: 150px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    }

.funnel-stage-header1b {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    width: 150px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    }
.funnel-stage-header1c {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    width: 150px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    }    
.funnel-stage-header1d {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    width: 150px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    }

    
    .funnel-stage-header-left {
        font-size: 1.5em;
        font-weight: bold;
        text-align: center;
                }



    .funnel-stage-header2 {
        font-size: 1.5em;
        font-weight: bold;
        text-align: center;
                }

                
    .funnel-stage-header2t {
font-size: 1.5em;
font-weight: bold;
text-align: center;
z-index: 3;
margin-bottom: 25px
        }

        .funnel-stage-header2l {
            font-size: 1.5em;
            font-weight: bold;
            text-align: center;
            z-index: 3;
            margin-bottom: 25px;
            padding-left: 10px;

                    }
            

     .funnel-stage-header3 {
        font-size: 1.1em;
        font-weight: bold;
        text-align: center;
        width: 150px; /* Adjust as needed */
        display: flex;
        flex-direction: column;
        align-items: center;

                }

     .funnel-stage-header3t {
    margin-right:2%;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
    width: 150px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    align-items: center;

            }

            .funnel-stage-header3l {
                margin-right:2%;
                font-size: 1.3em;
                font-weight: bold;
                text-align: center;
                width: 150px; /* Adjust as needed */
                display: flex;
                flex-direction: column;
                align-items: center;

                        }
            


.funnel-stage-header {
font-size: 1.5em;
font-weight: bold;
text-align: center;

}




.number-label {
    display: block;
    font-weight: bold;
    color: #333;
    }
    
 .number-value-leads {
    font-size: 2em;
    font-weight: bold;
    color: #007bff;
    align-items: center;
    padding-left: 10px;

    }

    .number-value-touches {
        font-size: 2em;
        font-weight: bold;
        color: #007bff;
        align-items: center;
    
        }


.numbers-value {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    }


.numbers {
align-items: center;
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}


.budgetContent {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 7px; 
    padding-right: 10px; 
    width: 100%;
    }

    .LeadsToFun {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        left: 7px; 
        padding-right: 10px; 
        width: 100%;
        }
    

.input-group {
display: flex;
justify-content: space-around;
width: 100%;
}

.number-container {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}

.number-label {
margin-bottom: 10px; /* Spacing between label and input box */
}

.conversion-input, .followups-input {
width: 45%;
padding: 5px;
border-radius: 5px;
border: 1px solid #ccc;
}



/* Conversion Container Styling */
.conversion-container {
    position: absolute;
    top: 125px;
    left: 10px; /* Adjust as needed */
    /* Style as needed */
}



.funnel-info  {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 80px;
    right: 0px; 
    width: 30%;
    
}


.number-container-center {
    align-items: center;
    text-align: center;
    padding-left:30px;
    padding-bottom:20px;
}


.number-container-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 70px;
    left: 7px; 
    padding-right: 20px; 
    width: 35%;
    }
    


.number-label, .number-value {
    margin-right: 10px;
}

.conversion-input {
    width: 75%; /* or any other preferred width */
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}




    
    .followups-input {
        width: 75%; /* or any other preferred width */
        padding: 10px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 4px;
    }










.flip-container {
    position: relative;
    height: 450px; /* Adjust as needed */
    width: 100%; /* Adjust width as needed */
    margin-top: 20px; /* Adjust the value as needed */

}

.flip-container.flip .front {
    transform: rotateY(180deg);
}

.flip-container.flip .back {
    transform: rotateY(0deg);
}

.front, .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.5s linear;
}

.back {
    transform: rotateY(-180deg);
    z-index: 1; /* Lower z-index so it's behind the front by default */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
    
    .front {
    z-index: 2;
    transform: rotateY(0deg);
        margin-bottom: 20px; /* Adjust the value as needed */
    
    }
    
  
    


/* Mini Funnel Styling */
.mini-funnel {
position: absolute;
top: 125px;
left: 50%; /* For mini-funnel-right, set right: 10px; */
width: 150px; /* Adjust as needed */
display: flex;
flex-direction: column;
align-items: center;
}

    .mini-funnel .mini-stage {
    height: 50px;
    background-color: #ddd;
    margin-bottom: 2px;
    border-radius: 5px;
    }

    .mini-funnel .mini-stage.active {
    background-color: #007bff; /* Highlight color */
    }

    /* Mini Funnel Styling for Front Side */
    .mini-funnel-center {
    position: absolute;
    left: 52%; /* Center the funnel */
    transform: translateX(-52%); /* Adjust for centering */
    width: 30%; /* Larger size */
    padding-left: 20px;
    }/* Mini Funnel Styling for Front Side */


    .mini-funnelT {
    position: absolute;
    top: 125px;
    left: 50%; /* For mini-funnel-right, set right: 10px; */
    width: 150px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    }

    
    .mini-funnelT .mini-stageT {
    height: 50px;
    background-color: #ddd;
    margin-bottom: 2px;
    border-radius: 5px;
    }
    
    .mini-funnelT .mini-stageT.active {
    background-color: #007bff; /* Highlight color */
    }

    .mini-funnelT-center {
        position: absolute;
        left: 50%; /* Center the funnel */
        transform: translateX(-50%); /* Adjust for centering */
        width: 30%; /* Larger size */
        padding-left: 25px;
    }
    


    /* Mini Funnel Styling */
    .mini-funnelM {
    position: absolute;
    top: 50px;
    width: 120px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    }
    
    .mini-funnelM .mini-stageM {
    height: 25px;
    background-color: #ddd;
    margin-bottom: 2px;
    border-radius: 5px;
    }
    
    .mini-funnelM .mini-stageM.active {
    background-color: #007bff; /* Highlight color */
    }

  


    /* Mini Funnel Styling */
    .mini-funnelTM {
    position: absolute;
    top: 50px;
    width: 120px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    }
    
    .mini-funnelTM .mini-stageTM {
    height: 25px;
    background-color: #ddd;
    margin-bottom: 2px;
    border-radius: 5px;
    }
    
    .mini-funnelTM .mini-stageTM.active {
    background-color: #007bff; /* Highlight color */
    }
    

    .mini-funnelM-right {
        width: 60%; /* Larger size */
        }

    .mini-funnelTM-right {
        width: 60%; /* Larger size */
        }








/* label */
.leads-label {
    position: absolute;
    top: 85px;
    left: 30px; /* For mini-funnel-right, set right: 10px; */
    width: 150px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.2em;

}


/* label */
.touches-label {
    position: absolute;
    right: 20px;
    width: 150px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.2em;

}







.mini-funnel-large {
    position: absolute;
    width: 350px; /* Adjust as needed */
    align-items: center;
    left: 325px;
    height: 600px;


}


    









    

/* Remember This Marketing System*/




.input-group-rounded .input-group-field {
    border-radius: 25px;
    text-align: center; 
    }
    
    
    .form-control {
    border-radius: 5px;
    text-align: center; 
      font-size: 100%;
    
    }
    
    
    
    input{
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    text-align: center; 
    
    }
    .ml4 {
    position: relative;
    font-weight: 900;
    font-size: 4.5em;

    }

    .ml4 .letters {
    position: absolute;

    margin: auto;
    left: 0;
    top: 0.3em;
    right: 0;
    opacity: 0; 
    color: #20C5FF;
    }




    .ml8 {
        position: relative;
        font-weight: 900;
        font-size: 4.5em;
        }
    
        .ml8.letters {
        position: absolute;

        margin: auto;
        left: 0;
        top: 0.3em;
        right: 0;
        opacity: 0; 
        color: #20C5FF;
        }


      body {
        font-size: 100%;
        font-family: Arial, Helvetica, sans-serif;
      }
    
    .form-control{
    text-align: left; 
        font-size: 0.85em; /* Adjust the value as needed */
    color: #7a7a7a !important;
    }
    
    
    .form-select{
    text-align: left; 
        font-size: 0.85em; /* Adjust the value as needed */
    color: #676b6d;
    
    }
    .btn-success {
        color: white !important;
                font-size: 1.2em; /* Adjust the value as needed */
    
    }
    
    
    

    