.logo{
    height: 40px;
    margin-right: 5px;
}

/* .bg-gradient-primary { */
    /*background-color: #BF1C42;
    background-image: linear-gradient(180deg,#008c99 10%,#008c99 100%) !important;*/
/* } */

/* .shadow{
    z-index: 1000;
} */

footer.sticky-footer {
    /*padding: 2rem 0!important;*/
    box-shadow: 0 0.15rem 1.75rem 0 rgb(58 59 69 / 15%) !important;
    z-index: 1000;
    height: 70px;
}

.sidebar .sidebar-brand {
    /*height: 4rem;*/
    position: fixed;
    font-weight: 200;
    text-transform: none;
    font-size: 1rem;
    text-align: left;
}

/* .sidebar{
    margin-bottom:70px;
} */

.sidebar-dark .sidebar-brand {
    background-color: white;
    text-align: center;
    width: 11.5rem;
    /* box-shadow: 0 0.15rem 1.75rem 0 rgb(58 59 69 / 50%); */
    z-index: 1001;
}

.sidebar .sidebar-brand .sidebar-brand-icon i {
    /* color: #4F73DF; */
    padding: 7px;
}

/* .sidebar-brand-icon{
    width: 15px !important;
    margin-left: 20px;
} */

.sidebar-brand{
    text-align: center;
}

.sidebar-brand-text{
    letter-spacing: 0.2px;
    color: black;
    font-weight: 400;
    margin-left: 0px !important;
}

/* .badge{
    padding-bottom: 15px;
} */

.badge-primary, .badge-secondary, .badge-success, .badge-info, .badge-warning, .badge-danger{
    font-weight: 300;
}

.vorschauContainer{
    display: block;
    width: 100%;
    margin-left: 80px;
    text-align: center;
    color: #4F73DF;
}

.vorschauText{
    border: 1px solid #4F73DF;
    width: 80px !important;
    max-width: 80px !important;
    margin: 0 auto;
    text-align: center;
    transform: rotate(-5deg);
}

.vorschauText:hover, a:link, a:hover{
    text-decoration: none;
    cursor: pointer;
}

.kontaktText{
    margin-top: 7px;
}

.kontaktContainer{
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.image-software-update-dashboard{
    border-radius: 5px 5px 0px 0px;
}

.image-software-update-details{
    border-radius: 5px 0px 0px 5px;
}

.sidebar-buttons-container{
    text-align: center;
    height: auto;
    /*padding: 5px;*/
}

.sidebar .sidebar-card{
    padding: 1rem 1rem 0rem 1rem;
}

.sidebar.toggled .sidebar-card {
    display: block !important;
    margin: 0 !important;
    padding: 1rem 0rem 0rem 0rem !important;
}

.sidebar-button{
    margin: 0 auto;
    text-align: center !important;
    border-radius: 0.35rem;
    border: none;
    padding: 1rem 2rem;
    background-color: transparent;
    width: fit-content !important;
    white-space: nowrap;
}

.btn-first:hover{
    background-color: #B1538F;/*#4F73DF;/*#008A64;/*#CA6CD1;*/
}

.btn-second:hover{
    background-color: #8F63C1;/*#22C197;/*#FF71AA;*/
}

.btn-third:hover{
    background-color: #766BD1;/*#6CFACD;/*#FF947F; further matching colors: #FFC662 #F9F871 , https://mycolor.space/?hex=%234F73DF&sub=1 */
}

.btn-selected, .btn-selected:focus{
    background-color: #016AC0;
    border-color: #016AC0;
    font-weight: 600;
}

.modal-content{
    padding: none;
    border-radius: 1rem;
}

/* .modal-header{
    border-bottom: none;
    padding: 30px 30px;
} */

.modal-close{
    font-size: 2rem;
}

.modal-close:focus{
    outline: none;
}



.modal-title{
    /*color: #3e5ad7;*/
    color: #5a5c69;
}

.modal-title-icon{
    color: #3e5ad7;
}

.modal-subtitle{
    margin-top: 20px;
    color: #5a5c69;
    font-weight: 600;
}

/* .modal-body{
    padding: 0px 30px 30px 30px;
    font-size: 1.2rem;
    font-weight: 300;
} */

.modal-footer{
    background-color: #E6E6E6;
    /* height: 50px; */
    /* margin-top:-10px; */
    border-radius: 0rem 0rem 1rem 1rem;
}

.modal-image-container{
    text-align:center;
    z-index:1;
    /* height: 400px; */
}

.modal-onboarding-image-container{
    text-align:center;
    z-index:1;
    height: 400px;
}

.modal-image{
    width: 300px;
}

.modal-image-big{
    width: 400px;
}

.modal-image-full-width{
    width: 100%;
    border-radius: 0.9rem 0.9rem 0 0;
}

.modal-image-full-width-lower-half{
    width: 100%;
    opacity: 1;
    border-radius: 0 0 0.9rem 0.9rem;
}


.card{
    margin-bottom: 20px;
}

.modal-body-onboarding{
    padding: 0;
    font-size: 1.2rem;
    font-weight: 300;
}

.onboarding-close{
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.6rem 1rem !important;
    background-color: white !important;
    border-radius: 2rem;
    z-index: 5000 !important;
}

.onboarding-close:focus{
    outline: none;
}

.modal-backdrop.show {
    /* opacity: 0.7; */
    /* background-color: lightslategray; */
}

.check-icon-onbarding{
    /* color: #e33775; */
    color: #c1a528;
    font-size: 3rem;
    /* background-color: black; */
    background-image: radial-gradient(circle, black, black, black, transparent 50%);
    border-radius: 4rem;
}

.carousel-control-next,
.carousel-control-prev, .carousel-indicators{
    filter: invert(100%);
}

.carousel-control-next,
.carousel-control-prev {
    opacity: 1;
    z-index: 1000;
}

.carousel-control-next{
    margin-right: -100px;
}
.carousel-control-prev{
    margin-left: -100px;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    padding: 1rem 1rem !important;
    background-color: black !important;
    border-radius: 2rem;
    border: 10px solid black;
    color: black;
}

.carousel-caption {
    position: relative;
    left: auto;
    right: auto;
    display: block !important;
    color: black;
    border: none;
    height: 200px;
    background-color: white;
    border-radius: 0rem 0rem 1rem 1rem;
    bottom: 0;
    padding-left: 5%;
    padding-right: 5%;
}


footer.sticky-footer {
    /*display:none;*/
    /*height:0px;*/
    height: 70px;
    box-shadow: 0 0.15rem 0.75rem 0 rgb(58 59 69 / 30%);
}

.content-height{
    height: 500px;
    margin-bottom: 1rem;
    /* max-height: 800px; */
}

@media only screen and (max-width: 600px) {
    .vorschauContainer{
        display: none;
    }
    .modal-image-big{
        width: 300px;
    }
    /* .modal-image-container{
        height: 267px;
    } */
    .modal-onboarding-image-container{
        height: 250px;
    }
    .carousel-caption{
        height: auto;
    }
    .carousel-control-next{
        margin-right: 1rem;
    }
    .carousel-control-prev{
        margin-left: 1rem;
    }
    .sidebar .sidebar-card {
        margin-left:0;
        margin-right:0;
        margin-bottom:0;
    }
  }

@media only screen and (min-width: 600px) {
    .modal-content{
        width: 1000px;
    }
  }

@media (min-width: 576px){
    .modal-dialog {
        max-width: 800px;
    }
}

@media (min-width: 768px){
    .sidebar .nav-item .nav-link {
        padding-bottom: 0.4rem;
        padding-top: 0.4rem;
    }

}

.result-container{
    width: 500px;
    padding: 20px;
    margin: 10px;
    border: 1px solid grey;
    border-radius: 25px;
}

.navbar{
    position: fixed;
    width: 100%;
    padding-right: 250px;
    z-index: 5;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
    height: 100%;
    /* padding-left: 0;
    padding-right: 0; */

    padding: 100px 40px 40px 40px;
    /*padding-bottom: 2rem !important;*/
    /* display: flex; */
}

.navigation{
    padding-top: 70px;
}

.nav-settings-menu{
    color: black;
}

.nav-settings-menu:hover{
    background-color: #E6E6E6;
}

.result-card{
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
}

/* .result-card:hover{
    cursor: pointer;
} */

.star-favorite{
    text-align: right;
    color: orange;
}

.btn-result-action{
    margin-bottom: 20px;
}

.license{
    /* padding: 5px 10px 5px 10px;
    background-color: #004E91;
    color: white;
    border: 1px solid #004E91;
    border-radius: 5px; */

    cursor: default;
    color: #004E91;
    font-weight: 400;
    font-size: 1.2rem;
}

.card-actions{
    position: absolute;
    right: 20px;
    top: 10px;
}

.upload-file-drag-drop-area{
    text-align: center;
}

.menu-single-multi-address-add{
    padding: 20px;
    color: black;
    text-align: center;
    /* border-left: 1px solid black;
    border-right: 1px solid black; */
    /* display: flex; */
    align-items: center;
    /* justify-content: center;  */
    /* height: 100vh; 100% of the viewport height */
}
.menu-single-multi-address-add-in-between{
    text-align: center;
    color: grey;
    font-size: 1.5rem;
    /* height: 150; */
    /* line-height: 150px; */
 }
input[type=file] {
    margin: 0 auto;
    padding-left: 150px;
}

.fa-menu-size{
    font-size: 1.3rem !important;
    width: 28px;
}

.fa-submenu-size{
    width: 18px;
    font-size: 1.3rem !important;
}

/************************* AUTOCOMPLETE *************************/

.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
  }

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
  }

  .autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
  }
  
  .autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
  }
  
  .autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
  }

/************************* ICONS IN COLORS *************************/

  .route_title{
    color: #A23237;
  }

/************************* Flexible div containers next to each other *************************/

.flex-container {
    display: flex;
}

.flex-child {
    flex: 1;
    margin-right: 20px;
}  

.flex-child:first-child {
    margin-right: 20px;
}

.flex-child-two-thirds {
    flex: 2;
    margin-right: 20px;
}

.flex-child-two-fifth {
    flex: 2;
}

.flex-child-three-fifth {
    flex: 3;
}

/* Media query for screens 600px wide and below (adjust as needed) */
@media (max-width: 768px) {
    .flex-child {
        flex: 100%; /* Make the items 100% wide on small screens */
        margin-right: 0; /* Remove right margin on small screens */
    }
}

/************************* Regular images / stock photos *************************/

.image-rounded-corners{
    border-radius: 35px;
}

/************************* MAP PLACEMENT *************************/

.map-sticky{
    width: 100%; 
    height: 85vh; 
    position: sticky; 
    position: -webkit-sticky; 
    padding-top:100px; 
    top:100px;
    border-radius: 5px;
    z-index: 1;
}

.map-analysis{
    width: 100%; 
    /* height: 70vh; 
    position: sticky !important; 
    position: -webkit-sticky; 
    padding-top:100px; 
    top:100px; */
    border-radius: 5px;
    z-index: 1;
}

.map-fullsize{
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* #submit_custom_radars{
    position: absolute;
    margin-top:20px; 
    margin-left: 100px;
    z-index: 2;
} */

/************************* RANGE SLIDER SELECT  *************************/


.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 5px;  
    background: #d3d3d3;
    outline: none;
    opacity: 1;/*0.7;*/
    -webkit-transition: .2s;
    transition: opacity .2s;

    /* custom alignment*/
    vertical-align: bottom;

  }
  
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%; 
    background: #004E91;
    cursor: pointer;
  }
  
  .slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #004E91;
    cursor: pointer;
  }

/************************* LEAFLET CONTROL BUTTONS  *************************/

  .leaflet-buttons-control-button{
    width: 40px;
    height: 40px;
  }

  .leaflet-touch .leaflet-bar a{
    width: 40px;
    height: 40px;  
  }

  .leaflet-sidebar.right.visible{
    top: 0px;
  }

/************************* LEAVE SPACE ABOVE ANCHORS SO DIV NOT BEHIND HEADER *************************/
  .row{
    scroll-margin-top: 100px; 
}

/************************* TITLES *************************/

.section-title{
    font-size: 24px;
    /* padding-top: 15px; */
    padding-bottom: 10px;
    color: var(--primary);
}


.color-competitor{
    color: orange;
}


/************************* Overwriting leaflet styles *************************/

.leaflet-control-fullscreen a {
    /* background:#fff url(fullscreen.png) no-repeat 0 0; */
    background-size: 35px 70px !important;
}

.leaflet-touch.leaflet-fullscreen-on .leaflet-control-fullscreen a {
    background-position: 2px -32px !important;
}

/* .leaflet-bar-part .leaflet-bar-part-single{
    padding-top: 10px !important;
    font-size: 1.2rem;
} */

.leaflet-touch .leaflet-bar a:last-child{
    padding-top: 7px !important;
    font-size: 1rem; 
}


/** Does not apply, why? currently embedded in page radar.html and map.html*/
/* .leaflet-touch .leaflet-bar a{
    width: 40px;
    height: 40px;  
}
.leaflet-pm-action{
    font-size: 1rem;
    background-color: #004E91 !important;
} */

/************************* TASK MESSAGE STYLING *************************/

#task-is-running{
    margin: auto;
    top: 40%;
    font-size: 20px;
}

.company-logo-in-form{
    width: 250px;
    /* border: 3px solid grey;
    border-radius: 5px;
    padding: 10px;
    margin: 10px; */
}

.company-logo-in-header-bar{
    height: 25px;
}

.company-logo-in-survey{
    height: 50px;
}

.company-logo-in-survey-form{
    max-height: 75px;
    width: auto;
}

/* Tablets */
/* @media (max-width: 1023px) {
    .company-logo-in-survey-form{
        width: 80%;
    }
} */

/* Mobile */
@media (max-width: 767px) {
    .company-logo-in-survey{
        height: 40px;
    }
    .company-logo-in-survey-form{
        /* max-height: 50px; */
        max-width: 100%;
    }
}

.nav-graph{
    color: grey;
}

.nav-link-submenu{
    padding-left: 35px !important;
}

.nav-item-submenu{
    background-color: #016AC1;
    /* padding-left: 15px; */
    margin-right: 0 !important;
}

.icon-page-title-big{
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.icon-page-title-small{
    padding-left: 0px;
    margin-left: -5px;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.title{
    color: var(--primary);
    font-weight: 300;
}
.subtitle{
    color: var(--dark);
    font-size: 1.4rem;
}
/* #show-settings{
    margin: 20px 0px 20px 0px;
} */

#message-zoom-to-display-data{
    background-color: white;
    opacity: 0.8;
    color: var(--secondary);
    font-weight: 400;
    /* color: var(--primary); */
    padding: 5px 15px 5px 15px;
    font-size: 1.1rem;
    border-radius: 5px;
    position: relative;
    /* bottom: 20px; */
    /* left: 20px; */
    z-index: 1000;
    /* border-radius: 5px; */
}

/** EXPLORE PAGE **/

.explore-container {
    display: flex;
    height: 100%;
  }
  
  .explore-left {
    width: 330px;
    /* background-color: #1C75BB; */
    color: var(--dark);
    /* color: white; */
    overflow: auto;
    /* padding-top: 10px; */
    /* padding-left: 3px; */
    /* background-color: #026BC1; */
    /* color: white; */
  }
  
  .explore-right {
    flex-grow: 1;
  }

.explore-data-category{
    /* background-color: var(--primary); */
    color: var(--dark);
    /* color: white; */
    padding: 15px 10px 5px 20px;
    border-bottom: 1px solid lightgray;
    /* font-size: 1.2rem; */
}

/* .explore-data-category:hover{
    background-color: white;
    color: var(--primary) !important;
} */

.explore-category-name{
    font-size: 1rem;
    color: black;
}

/******* MESSAGES PAGE ***/

.messages-preview-container {
    display: flex;
    height: 100%;
  }
  
.message-preview-left {
width: 50px;
/* background-color: #026BC1; */
/* color: white; */
}

.messages-preview-right {
    flex-grow: 1;
}

/******* FONTAWESOME ICON COLORS ***/

.fa-route{
    color: var(--red);
}

.fa-industry{
    color: var(--bronze)
}

.fa-square{
    color: var(--bronze)
}

/* .fa-file-pdf{
    color: var(--red)
} */

/******* ANALYSIS DETAIL PAGE ***/

.use_case_logo{
    width: 60px;
    margin-right: 10px;
    margin-left: 10px;
}

/******* LEAFLET MAP ***/

.leaflet-bar a{
    /* width: 40px !important; */
    height: 40px !important;  
}
.leaflet-pm-action{
    font-size: 1rem !important;
    background-color: #004E91 !important;
    
}

/******* Fadout Django Post Request Messages ***/
#message{
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
}

.fade-out-message {
    opacity: 0;
    transition: opacity 1.5s;
  }

/* .chart-radar-location-characteristics{
    height: 300px;
} */

.chart-charging-stations-grouped-by-kw{
    width: 70%;
    height: 400px !important;
}

.card-body-analysis-summary{
    padding: 50px;
}

.card-body-utilization{
    padding: 30px;
}

/*******   Upgrade your plan      *****/
.plan-package{
    background-color: white;
    border-radius: 15px;
    border: 1px solid grey;
    padding: 15px;
    margin-top: 20px;
    margin-right: 25px;
    height: 100%;

}

.plan-package-logo{
    width: 60px;
}

.search-input{
    font-size: 1rem;
    padding: 0 6px 0 5px !important;
    border: none !important;
    margin: 6px 0 4px 4px !important;
}

/****************************  Leaflet Sidebar  **********************/

.marker-container{
    padding-top: 15px;
}

.sidebar-marker-title{
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0;
    color: var(--primary);
}

.sidebar-marker-subtitle{
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0;
}

.sidebar-marker-description{
    font-size: 1.2rem;
}

.sidebar-marker-section-title{
    color: var(--primary);
    font-weight: 600;
}

.sidebar-marker-subinfo{
    font-size: 1rem;
    color: var(--gray);
}

.leaflet-sidebar{
    padding: 0px !important;
    border: 0px !important;
    border-radius: 0px !important;
    -webkit-border-radius: 0px !important;
}

.leaflet-sidebar > .leaflet-control{
    border-radius: 0px !important;
    -webkit-border-radius: 0px !important;
}

.leaflet-touch .leaflet-sidebar > .leaflet-control{
    border: 0px !important;
}

/****************************  Map Place Idea Form  **********************/

#form-place-ideas{
    background-color: white;
    box-shadow: 0.2rem 0.3rem 1rem rgba(58, 59, 69, 0.5) !important;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: absolute;
    top: 50px;
    right: 150px;
    width: 400px;
}

.upgrade-box-charging-station-data{
    background-color: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 15px;
    font-size: 1.3rem;
}

.documentation-navigation{
    /* background-color: white; */
    width: 500px !important;
}

.form-validation-error-message{
    color: var(--red);
}

.label-poi-finder{
    min-width: 190px;
    text-align: left;
    justify-content: left !important;
}

.field-poi-finder{
    width: 280px !important;
}

.explore-form-arrow-back{
    cursor: pointer; 
    color: var(--primary); 
    margin: -25px 0px 0px -20px; 
    font-size: 1.5rem
}

.explore-form-arrow-back:hover{
    color: var(--primary-hover);
}

.explore-form-close{
    cursor: pointer; 
    /* color: var(--primary);  */
    margin: -25px -20px 0px 0px; 
    font-size: 1.5rem;
}

.explore-form-close:hover{
    color: var(--primary-hover);
}

.file-image-preview-container {
    cursor: pointer;
    width: calc(25% - 20px);
    max-width: calc(25% - 20px); /* Set a max width for the container */
    flex: 1 1 calc(25% - 20px);
    position: relative;
    overflow: hidden;
    aspect-ratio: 1; /* Set the desired aspect ratio (1:1 for a square) */
}

.form-label{
    width: 170px;
}

.close{
    z-index: 1008 !important;
}

.leaflet-tooltip-own {
    background-color: yellow;
    border-radius: 2rem;
}

.tooltip-container{
    padding: 1rem;
}

.tooltip-title{
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.tooltip-content{
    font-size: 1.2rem;
    font-weight: 400;
}

.color-primary{
    color: var(--primary);
}

.color-secondary{
    color: var(--secondary);
}

.explainerModal{
    background-color: var(--primary);
    color: white;
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

/* .geoman-toolbar-wrapper{
    background-color: white;
    padding: 10px;
    font-size: 1rem;
    border-radius: 10px;
    position: relative;
} */

#closeBtn {
    position: absolute;
    top: 0;
    right: 10px;
    cursor: pointer;
    padding: 0 5px;
  }

.map-legend-category-title{
    font-size: 1.2rem;
    font-weight: 600;
    width: 100%;
    padding: 5px 5px 5px 15px;
    opacity: 1;
    /* margin-bottom: 5px; */
}

.table-spacing td,
.table-spacing th {
  padding-left: 20px;
  padding-right: 20px;
}

input.form-control.metric-score-field{
    width: 30px;
}

/* MESSAGES CHAT STYLE  */

.chat-container {
    /* max-width: 400px; */
    margin: auto;
    padding: 20px;
    /* background-color: #f6f6f6; */
  }
  .message-container {
    max-width: 100%; /* Ensures the container does not overflow its parent */
    display: flex;
    justify-content: center; /* Center `.message` elements horizontally */
    flex-wrap: wrap; /* Allows multiple messages to wrap */
    word-wrap: break-word;
  }
  
  .message {
    padding: 7px 15px 7px 15px;
    margin-bottom: 10px;
    /* box-shadow: 0 0.15rem 1.75rem 0 rgb(58 59 69 / 15%); */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    word-wrap: break-word; /* Standard syntax */
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 100%; /* Prevents overflow of the parent container */
  }
  
  .message.sender {
    /* background-color: #dcf8c6; */
    background-color: var(--ac);
    color: white;
    /* text-align: right; */
    /* border-radius: 0px 20px 20px 20px; */
  }

  .message-left {
    border-radius: 0px 20px 20px 20px;
    text-align: left;
  }

  .message-right {
    border-radius: 20px 0px 20px 20px;
    text-align: right;
  }
  
  .message.receiver {
    background-color: #ffffff;
    /* text-align: left; */
    /* border-radius: 20px 20px 0px 20px; */
  }
  
  .message-content {
    font-size: 1rem;
    overflow-wrap: break-word;
    /* word-break: break-all; */
  }
  
  .message-time {
    font-size: 10px;
    color: #999999;
  }

  .message-input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 10px;
  }

  .counter{
    background-color: #EEF1F9;
    color: var(--primary);  
    }

/* .svelte-1r7dvt7{
    border-radius: 1rem !important;
} */

#please-wait-data-is-loading{
    background-color: white;
    opacity: 1;
    color: var(--primary);
    padding: 5px 15px 5px 15px;
    font-size: 1.2rem;
    border-radius: 2rem;
    position: relative;
    /* bottom: 20px; */
    /* left: 20px; */
    z-index: 1000;
}

.scroll-anchor {
    scroll-margin-top: 100px; /* Adjust this value to your header's height */
}

.legend{
    background-color: white;
    padding: 5px 15px 5px 15px;
    border-radius: 15px;
    font-size: 1rem;
}

.underline {
    text-decoration: underline !important;
}

.card-header{
    cursor: pointer;
}

.color-info{
    color: #36b9cc;
}

.color-warning{
    color: #f6c23e;
}

.color-success{
    color: #1cc88a;
}

.color-error, .color-danger{
    color: #d52a1a;
}


/*  CHAT TEXT GENERATION    */

.chat{display:flex; flex-direction:column; gap:12px; font-size: 1rem;}
.msg{display:flex; gap:10px; align-items:flex-start}
.avatar{width:45; height:45px; overflow:hidden; flex:0 0 45px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--accent),var(--success));}
.avatar img{display:block; width:100%; height:100%; object-fit:cover}
.bubble{background: white; border:1px solid var(--dc); border-radius:14px; padding:12px 14px; max-width:100%; position:relative}
.assistant{background:white}

.cursor{display:inline-block; width:8px; height:1.1em; background:transparent; border-left:2px solid var(--muted); margin-left:2px; transform:translateY(2px); animation:blink .9s steps(1) infinite}
@keyframes blink{50%{opacity:0}}

.bubble pre{margin:6px 0; padding:10px; border-radius:10px; background:#0a1426; overflow:auto}
.bubble code, .bubble pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace; font-size:.95em}

.pulse-bubble {
  width: 10px;
  height: 10px;
  margin: 0 3px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 0.8s infinite ease-in-out;
}

.pulse-bubble:nth-child(2) {
  animation-delay: 0.2s;
}

.pulse-bubble:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.6; }
  40% { transform: scale(1); opacity: 1; }
}

/* Make avatar a vertical column so the toggle can sit below the image */
.msg .avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;              /* space between avatar image and toggle */
  height: auto;          /* let it grow */
}

/* Toggle under avatar */
.chat-mini-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 0px solid var(--ac);
  background: transparent;
  color: white;
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
  /* box-shadow: 0 6px 16px rgba(0,0,0,.18); */
  border-radius: 1rem;
  transition: background .2s, color .2s, transform .06s;
}
.chat-mini-toggle:hover { background: var(--primary); color: white; }
.chat-mini-toggle:active { transform: translateY(1px); }

/* Collapsed state: hide bubbles but keep avatar + toggle visible */
.chat.collapsed .bubble { display: none; }

/* Optional: narrow the column when collapsed */
.chat.collapsed { width: 220px; } /* tweak to taste */

/* PROGRESS BAR BIPOLAR */

.progress-bipolar {
  position: relative;
  height: 20px;
  background-color: #e9ecef;
  overflow: hidden; /* 🔒 prevent visual overflow */
  border-radius: 1rem;
}

.progress-bipolar .bar-positive,
.progress-bipolar .bar-negative {
  position: absolute;
  top: 0;
  height: 100%;
  z-index: 1;
  transition: width 0.4s ease;
}

.progress-bipolar .bar-positive {
  left: 50%;
  background-color: #007bff;
  transform-origin: left;
  max-width: 50%;
  border-radius: 0rem 1rem 1rem 0rem;
}

.progress-bipolar .bar-negative {
  right: 50%;
  background-color: #dc3545;
  transform-origin: right;
  max-width: 50%;
  border-radius: 1rem 0rem 0rem 1rem;
}

.progress-bipolar::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #6c757d;
  z-index: 2;
}

.impact-color-positive {
  color:#007bff;
}

.impact-color-negative {
  color:#dc3545;
}

/* .progress-bipolar .label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: bold;
  font-size: 0.85rem;
  z-index: 3; 
  pointer-events: none; 
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);

}

.progress-bipolar .label-left {
  right: 50%;       
  text-align: right;
  padding-right: 6px;
}

.progress-bipolar .label-right {
  left: 50%;    
  text-align: left;
  padding-left: 6px;
} */

.progress-bipolar .label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: bold;
  font-size: 0.85rem;
  z-index: 3;
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); /* subtle depth */
  transition: background 0.2s ease;
}

.progress-bipolar .label.bg-protect {
  background: rgba(0, 0, 0, 0.35); /* faint black overlay */
  padding: 2px 6px;
  border-radius: 4px;
}

.progress-bipolar .label-left {
  right: 50%;
  text-align: right;
  padding-right: 6px;
}

.progress-bipolar .label-right {
  left: 50%;
  text-align: left;
  padding-left: 6px;
}

a {
  overflow-wrap: break-word;
  word-break: break-word;
}


.app-card {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.app-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.app-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin: 50px;
}

.app-card-icon {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.app-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
}

.app-card-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.3;
    min-height: 48px; /* Keeps cards aligned */
}

.app-tag {
    margin-right: 4px;
    font-size: 0.75rem;
    border-radius: 6px;
    padding: 4px 8px;
    background: #f0f0f0;
}
