
:root {
    --startColorGrad: #b41b43;
    --middleColorGrad: #1e2749;
    --endColorGrad: #1e2749;
    --colorGrad: white;

    --startColorGrad-hover: #b41b43;
    --endColorGrad-hover: #1e2749;
    --body-background-color: #f1f1f1;
    --offcanvas-width: max(15vw, 400px);
    --global-border-radius: 5px;
    --global-white: white;
}

/* @import url("../assets/static/css/montserrat.css"); */

/* :root {
    --startColorGrad: #6BB0D4;
    --middleColorGrad: #00509E;
    --endColorGrad: #003b75;
    --colorGrad: white;
    --backgroundColor: white;
    --startColorGrad-hover: #47768f;
    --endColorGrad-hover: #011c36;
    --body-background-color: #e2e9f3;
} */

/* MAIN */ 

body { margin: 0; 
    background-color:var(--body-background-color);

}

.offcanvas-main{
    width: var(--offcanvas-width);
    min-width: var(--offcanvas-width);
    max-width: var(--offcanvas-width);
    z-index: 99;
}

.content {
    margin-left: 1.5vw;
    padding: 16px 16px;
    width: (98.5vw);
    transition: 0.2s ease-in-out;
}

.content-no-offcanvas {
    margin: 0px;
    padding: 16px 16px;
    width: 99vw;
    transition: 0.2s ease-in-out;
}

.content-nav-open {
    margin-left: var(--offcanvas-width);
    padding: 16px 16px;
    width: (98.5vw);
    transition: 0.2s ease-in-out;
}



/* BUTTONS */
     
.btn-grad {
background: linear-gradient(to right,  var(--startColorGrad) 0%, var(--middleColorGrad) 51%, var(--endColorGrad)  100%);
text-align: center;
text-transform: uppercase;
transition: 1s;
background-size: 200% auto;
color: var(--colorGrad);            
/* box-shadow: 0 0 20px #eee; */
border-radius: var(--global-border-radius);
border: none;
}

.btn-grad:hover {
background-position: right center; /* change the direction of the change here */
text-decoration: none;
}

.btn-grad-light {
    background-color: var(--colorGrad); /* Initial background color */
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s ease-in-out; /* Smooth transition for background color */
    color: var(--colorGrad);            
    border-radius: var(--global-border-radius);
    margin: 10px;
    border: none;
}

.btn-grad-light:hover {
    background-color: var(--body-background-color); /* Background color on hover */
    text-decoration: none;
    filter: saturate(1000%);
}

.btn-grad-light:focus {
    transform:rotateY(450deg);
}

 /* Fixed Button */
 .btn-fixed-left {
    background-image: linear-gradient(to top,   var(--startColorGrad) 0%, var(--endColorGrad) 100%);
    position: fixed;
    border-radius:0;
    opacity: 100%;
    filter: saturate(100%);
    top: 0;
    left: 0;
    min-width:20px;
    height: 100vh;
    color: var(--colorGrad);
    border: none;
    font-weight: 500;
    text-align: center;
    line-height: 100vh;
    padding:0 0 0 0;
    margin: 0 0 0 0;
    /* box-shadow: 0 0 20px #eee; */
    transition: 1s ease;
    
  }
  
  .btn-fixed-left:hover {
    filter: saturate(200%);
    opacity: 80%;
    }
    
 
/* CARDS */
.div-error-info {

    background-color: var(--body-background-color);
    color: white;
    width: 100%;
    height: 50px;
    left:50px;
    text-align: center;
    border-radius: var(--global-border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s;
    /* margin-left: 60px; */

}
.div-error-info:hover {
    filter: saturate(200%);
    font-size: 105%;
    padding: 0%;
}

.cards-home {
    border-radius: var(--global-border-radius);
    border: 4px solid #FFFFFF;
    overflow: hidden;
    padding: 1%;
    height: 100%;
    background-color: transparent;
    border-style:outset;
    transition: 1.5s;
    filter: saturate(100%);
}

.cards-home:hover {
    filter: saturate(120%);
    background-color: var(--colorGrad);
    border: 4px solid var(--startColorGrad);
    border-style:outset;
}

.main-aio-card {
    justify-content: center;
    align-items: center;
    text-align: center;
    /* box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2); */
    border-radius: var(--global-border-radius);
    border: 0px;
    overflow: hidden;
    padding: 20px;
    height: 100%;
    transition: 0.5s;
}

.main-aio-card:hover {
    /* box-shadow: 0px 0px 100px 0px rgba(253, 253, 253, 0.5); */
    filter: saturate(120%);
    padding-top: 15px;
    height: 105%;
}


.info-card {
    /* justify-content: center;
    align-items: center;
    text-align: center; */
    /* box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2); */
    border-radius: var(--global-border-radius);
    border: 0px;
    overflow: hidden;
    padding: 10px;
    height: 100%;
    transition: 0.5s;
}





/* DIVS */

.top-free-float {
    /* width: 100%; */
    height: 1%; 
    border-bottom-left-radius: 15px;
    /* border-bottom-right-radius: 50px; */
    position: fixed;
    top: 0; /* Hide 90% of the element */
    left: max(1.6%, 20px);
    width: 98.4%;
    z-index: 999;
    background-color: #00509E;
    color:white;
    /* box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2); */
    opacity: 0.9; 
    font-size: 0;
    transition: top 0.3s ease; /* Animation for the slide effect */
    text-align: center;
    margin: 0;
    padding-bottom: 1%;
}

/* Slide down effect on hover */
.top-free-float:hover {
    top: 0;
    height: inherit;
    font-size: inherit;
}

.standard-output-div {
    background-color: white;
    border-radius: var(--global-border-radius);
    /* box-shadow: 0 0 2 0; */
}

.standard-div {
    background-color: white;
    border-radius: var(--global-border-radius);
    margin-top: 10px;
}

.date-question-div {
    background-image: linear-gradient(to right,  #6bd4bf 0%, #008c9e 51%, #009e79  100%);
    /* margin: 5px; */
    /* padding: 15px 45px; */
    text-align: center;
    text-transform: uppercase;
    transition: 1s;
    background-size: 200% auto;
    color: white;  
    border-radius: var(--global-border-radius);
}

.ReportsFlitersComponent {
    width: 300px;
    /* height: 15%; */
    z-index: 50;  /* High z-index ensures it stays on top of other content */
    top: 70px;
    right: 20px;
    position: fixed;  /* Changed from 'absolute' to 'fixed' */
    /* background-color: white; */
    color: black;
    border-radius: var(--global-border-radius);
    padding: 0px;
    margin: 0px;
    opacity: 0.4; 
}
.ReportsFlitersComponent:hover {
    opacity: 1;
}




.ReportsRefreshComponent {
    width: 40px;
    /* height: 15%; */
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s ease-in-out; /* Smooth transition for background color */
    border: none;

    z-index: 50;  /* High z-index ensures it stays on top of other content */
    top: 0px;
    left: 0px;
    position: absolute;  /* Changed from 'absolute' to 'fixed' */
    /* background-color: white; */
    border-radius: var(--global-border-radius);
    padding: 0px;
    margin: 0px;
    opacity: 0.5; 

}
.ReportsRefreshComponent:hover {
    width: 41px;
    top: 5px;
    left: 5px;
    opacity: 1;
    box-shadow: 0 0 50px rgba(250, 246, 207, 0.2);
    transform:rotateZ(180deg);
    
}
.ReportsRefreshComponent:focus {
    transform:rotateZ(720deg);
}




/* TABLES AGGRIDS*/

.ag-theme-alpine {
    --ag-borders: none;
    --ag-borders-radius: 10px;
    --ag-row-border-style: none;
    --ag-header-foreground-color: white;
    --ag-header-background-color: rgb(4, 13, 94);

}
  
/* we set border radius for header row  */
.ag-theme-alpine .ag-header {
    border-radius: 1px;
    background-color: #ffffff;
}

.ag-theme-alpine .ag-root-wrapper {
    border-radius: var(--global-border-radius);
    border: 0.5px solid var(--body-background-color);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* we set background and border radius for odd rows */
.ag-theme-alpine .ag-row-odd {
    background-color: #ffffff;
    border-radius: 1px;
}

/* we set background and border radius for even rows */
.ag-theme-alpine .ag-row-even {
    background-color: var(--body-background-color);
    border-radius: 1px;
}

.ag-root-wrapper{
    border-radius: var(--global-border-radius);
}

.Select-multi-value-wrapper{
    border-radius: var(--global-border-radius);
    width: 100%;
    padding-left: 5px;
    padding-right: 12px;
}


* {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
  }

  :is(h1, h2, h3, h4, h5, h6) {
    padding: 0;
    margin: 0;
}

:is(h1) {
    font-size: 36px;
    font-weight: bold;
}

:is(h2) {
    font-size: 24px;
    font-weight: bold;
}

:is(h3) {
    font-size: 18px;
    font-weight: bold;

}

:is(h4) {
    font-size: 16px;
    font-weight: bold;
}

:is(h5) {
    font-size: 14px;
    font-weight: bold;

}

:is(h6) {
    font-size: 14px;
    font-weight: bold;

}

:is(p) {
    font-size: 13px;
}

:is(li) {
    font-size: 13px;
}

:is(span) {
    font-size: 13px;
}

:is(a) {
    font-size: 13px;
}

:is(div) {
    font-size: 13px;
}

.Breadcrumbs-to-Eliot {
    border-radius: var(--global-border-radius);
    margin: 0;
    padding: 0;
} 

.mantine-Breadcrumbs-breadcrumb {
    border-radius: var(--global-border-radius);
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: bold;
    color: #2c73d2;
    border: 0px;
    background-color: transparent;
}
.mantine-Breadcrumbs-breadcrumb:hover {
    filter: saturate(200%);
}




.eliotButton-icon {
    position: relative;
    border-radius: 4px;
    border: 1px solid transparent;
    background-image: linear-gradient(var(--global-white), var(--global-white)),
        linear-gradient(to right, var(--startColorGrad), var(--endColorGrad));
    background-origin: border-box;
    background-clip: content-box, border-box;
    transition: box-shadow ease-in-out 0.3,
        opacity ease-in-out 0.3,
        border ease-in-out 0.3;
    padding: 1px;
}

.card-with-border-gradient {
    border-radius: var(--global-border-radius);
    border: 2px solid transparent;
    background-image: linear-gradient(var(--global-white), var(--global-white)),
        linear-gradient(to right, var(--startColorGrad), var(--endColorGrad));
    background-origin: border-box;
    background-clip: content-box, border-box;
    transition: box-shadow ease-in-out 0.3,
        opacity ease-in-out 0.3,
        border ease-in-out 0.3;
    /* padding: 2px; */
    /* margin-left: 10px; */
    /* width: 10%; */
    /* padding: 2px; */
    /* border-radius: 5px; */
    /* background-color: var(--startColorGrad); */
}


.table-button {
    background-image: linear-gradient(to right,  var(--startColorGrad) 0%, var(--endColorGrad) 100%);
    text-align: center;
    /* text-transform: uppercase; */
    transition: 0.2s;
    /* background-size: 200% auto; */
    color: var(--colorGrad);            
    border-radius: var(--global-border-radius);
    border: 1px;
    padding: 5px;
    /* margin-right:5px; */
}

.table-button:hover {
    background-position: right center; /* change the direction of the change here */
    filter:saturate(300%);
}
