
: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;

    --filter-background-color-white: white;
    --filter-padding: 5px;
    --filter-background-color-secondary: #f1f1f1;
    --filter-max-height: 600px;
    --filter-font-color: black;
    --filter-red-delete: red;
}

/* MAIN */

body { margin: 0;
    background-color:var(--body-background-color);

}

/* Constrain to iframe viewport — body never scrolls, page-content scrolls internally */
html, body {
    height: 100%;
    overflow: hidden;
}

#page-content {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;

    /* hide scrollbar — all browsers */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#page-content::-webkit-scrollbar {
    display: none;
}

.offcanvas-body {
    z-index: 100;
}

.offcanvas-main{
    width: var(--offcanvas-width);
    min-width: var(--offcanvas-width);
    max-width: var(--offcanvas-width);
    z-index: 99;
}

.offcanvas-main .btn-close {
    opacity: 0;
    pointer-events: none;
}

.content {
    margin-left: 20px;
    padding: 16px 16px;
    width: (98.5vw);
    transition: 0.2s ease-in-out;
}

.content-no-offcanvas {
    margin: 0px;
    padding: 16px;
    width: auto;
    transition: 0.2s ease-in-out;
}

.content-nav-open {
    margin-left: calc(var(--offcanvas-width) + 20px);
    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);
}

.eliotButton-icon-no-borders {
    position: relative;
    border-radius: 5px;
    padding: 0px;
    margin:0px;
    color: #003165;
    border:none;
    transition: 0.2s;
    background-color: transparent;
}
.eliotButton-icon-no-borders:hover {
    background-color: var(--filter-background-color-secondary);
    color:#003165;
    background-color: #f0f0f0;;
    filter: saturate(1000%);
}
/* .eliotButton-icon-no-borders:focus {
    transform:rotateZ(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%;
    }

 /* Close Button — right edge of offcanvas */
 .btn-fixed-left-close {
    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: var(--offcanvas-width);
    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;
    transition: 1s ease;
    z-index: 98;
  }

  .btn-fixed-left-close:hover {
    filter: saturate(200%);
    opacity: 80%;
  }

@keyframes slideInCloseBtn {
    from {
        left: calc(var(--offcanvas-width) - 20px);
        opacity: 0;
    }
    to {
        left: var(--offcanvas-width);
        opacity: 1;
    }
}


/* 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_Disabled {
    width: 375px;
    z-index: 102;  
    top: 70px;
    right: 20px;
    position: fixed;  
    color: black;
    border-radius: var(--global-border-radius);
    padding: 0px;
    margin: 0px;
    opacity: 1; 
    filter: grayscale(100%) blur(0.1px);
}
.ReportsFlitersComponent_Disabled:hover {
    opacity: 1;
}

.ReportsFlitersComponent {
    width: 375px;
    z-index: 102;  /* 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: 1; 
}
.ReportsFlitersComponent:hover {
    opacity: 1;
}




.ReportsRefreshComponent {
    width: 40px;
    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;
}

.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%);
}

.filter-general-properties, .filter-component, .filter-details-holder, .filter-header, .filter-footer, .filter-single-pair-holder {
    background-color: var(--filter-background-color-white);
    border-radius: var(--filter-padding);
}

.filter-component {
    /* width: 300px; */
    min-width: 250px;
    max-width: 500px;
    border-radius: 5px;
    /* border: 0.1px solid var(--filter-font-color); */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.filter-details-holder  {
    background-color: var(--filter-background-color-secondary);
    padding: var(--filter-padding);
    border-radius: 0px;
    /* max-height: var(--filter-max-height);  */
    overflow-y: auto; /* Enable vertical scrolling */
}

.filter-group {
    background-color: var(--filter-background-color-white);
    padding: 2px;
    border-radius: var(--filter-padding);
    display: flex;
    flex-direction: column;
    width: fit-content;
    margin-top: 5px;
    margin-bottom: 5px;
}


.filter-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    margin: 0px;
    margin-top:5px;
}

.filter-group-header .filter-group-filter-name {
    font-size: 14px;
    margin-left: 10px;
    font-weight: bold;
}

.filter-group-close-btn{
    cursor: pointer;
    font-weight: bold;
    padding: 3px;   
    margin-right: 1px;
}

.filter-header {
    text-align: center;
    padding: 3px;
    font-weight: bold;
    font-size: 1.2em;
    vertical-align: middle;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    /* margin-left: 5px; */
}

.filter-header-title {
    font-size: 1.05em;
    font-weight: bold;
    color:#13325c;
    margin-left:10px;
    margin-right:5px;
}

.filter-header-dropdown {
    padding: 0px;
    margin: 0px;
    margin-left: 3px;
    margin-right: 3px;
    width: 250px;
    text-align: left;
}

.filter-header-dropdown >.Select-control{
    padding: 0px;
    margin: 0px;
    border: 2px solid var(--filter-background-color-secondary);
    font-size: 10px;
}

.filter-group-filter-type:hover {
    filter:drop-shadow(0 0 0.05rem #1642f5);
}

.filter-badge{
    text-align: center;
    background-color:var(--filter-red-delete);
    color: var(--filter-background-color-white);
    border-radius: 100px;
    font-weight: bold;
    font-size: 0.8em;
    position: absolute; 
    top: -5px;            
    left: 15px;          
}

.filter-footer {
    text-align: center;
    padding: 6px;
    justify-content: space-around;
    display: flex;
}

.filter-group-close-btn:hover {
    color: var(--filter-red-delete);
}

.filter-group-close-btn {
    padding: 0px;
    margin: 0px;
}

/*DROPDOWN SECTION*/

.filter-group-filter-dropdown .dash-dropdown {
    padding: 0px;
    margin: 0px;
}

.filter-group-filter-dropdown{
    padding: 0px;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 5px; 
    min-width:150px;
}

.filter-group-filter-dropdown .Select-value {
    display: flex;
    flex-direction: row-reverse;
    border-radius: 5px;
    border: 2px solid var(--filter-background-color-secondary);
}

.filter-group-filter-dropdown >.Select-control {
    border: none;
    padding: 0px;
    margin: 0px;
}

.filter-group-filter-dropdown .Select-value-label, .Select-value-icon {
    color: var(--filter-font-color); 
    background-color: var(--filter-background-color-white);
    border: none;
    text-align: center;
    vertical-align: middle;
    padding:0px;
    margin:0px;
}

.filter-group-filter-dropdown  .Select-value-icon {
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='%23000' d='m12 14.122l5.303 5.303a1.5 1.5 0 0 0 2.122-2.122L14.12 12l5.304-5.303a1.5 1.5 0 1 0-2.122-2.121L12 9.879L6.697 4.576a1.5 1.5 0 1 0-2.122 2.12L9.88 12l-5.304 5.304a1.5 1.5 0 1 0 2.122 2.12z'/%3E%3C/g%3E%3C/svg%3E");
    background-color: black;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    text-align: center;
    vertical-align: middle;
}

.filter-group-filter-dropdown .Select-value {
    color: var(--filter-font-color); 
    background-color: var(--filter-background-color-white);
}

.filter-group-filter-dropdown .Select-value-icon:hover {
    color: black; 
    background-color: var(--filter-red-delete);
    border: none;
}

.filter-group-filter-dropdown .Select-arrow-zone {
    display: none;
}

.filter-group-filter-dropdown .Select-control .Select-multi-value-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.invisible-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    display: flex; 
    gap: 5px; 
}

.invisible-button:hover {
    background-color: #f0f0f0;
    filter: saturate(200%);
}


.main-input {
    background-color: var(--filter-background-color-secondary);
    border-radius: var(--filter-padding);
    border: 0.1px solid var(--filter-background-color-secondary);
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    min-width: 100px;
}

.release-notes-table {
    width: 100%;
    border-collapse: collapse;
}

.release-notes-table td, .release-notes-table th {
    border: 1px solid #d0d0d0;
    padding: 8px;
}

.date-cell {
    background-color: #e0f0ff;
    font-weight: bold;
    text-align: center;
}

.commit-id, .commit-title, .commit-link {
    padding-left: 15px;
}

.tooltip-inner {
    max-width: 500px;
}


.popover-button-default {
    transition-duration: 0.2s;
    background-color: var(--filter-background-color-white);
    color: var(--filter-font-color);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}
.popover-button-default:hover {
    background-color: var(--filter-background-color-secondary);
    filter: saturate(200%);
}