:root {
    /*Browser ScrollBar*/
    --rz-scrollbar-background-color: #e8e5f3;
    --rz-scrollbar-color: #2a126c;
    --rz-scrollbar-border-radius: 10px;
    --rz-scrollbar-size: 18px;
    --rz-dropdown-item-selected-background-color:darkgrey ;
    --rz-border-radius: 6px;
    --rz-chip-border-radius: calc(var(--rz-border-radius) * 4);
    /*--rz-chip-background-color:lightskyblue;*/
    --rz-chip-background-color:darkblue;
    --rz-chip-color: white;
    --rz-body-font-size: 13.333px;
    --rz-grid-cell-padding :1px;
    --rz-grid-header-font-size : 9px;
    --rz-grid-header-title-padding-inline :0;
    --rz-grid-header-cell-padding:0.15rem;
    --rz-chip-font-size:10px;
    --rz-grid-cell-font-size:10px;
    --rz-menu-top-item-padding-inline:-30px;
    --rz-panel-menu-item-line-height:1px;
    --rz-panel-menu-font-size:12px;
    --rz-input-height: 30px;
    --scale: 0.8;

}
.rz-dropdown-chips .rz-chip .rz-chip-text{
    color: white;
    padding: 2%;
}
.rz-textbox:not(:placeholder-shown):not(#typewriter-input) {
    background-color: rgba(154,220,148,0.54) !important;
    color: black;
}
.rz-dropdown:not(.rz-state-empty){    
    background-color: rgba(154,220,148,0.54);!important;
    /*font-weight: bold;*/
    color:black;
}
.rz-textbox{
    width: 50%;
}
.rz-chkbox-box{
    scale: 55%;
}
.rz-button.rz-primary.rz-shade-default
{
    background-color: lightblue;
    height: 40% !important;
}

/* Make header slimmer */
.rz-header {
    height: 10px !important;
    padding: 5px 10px !important;
    font-size: 10px !important; /* Reduce text size if needed */
}
.rz-footer {
    height: 40px !important;
    padding: 5px 10px !important;
    font-size: 12px !important; /* Reduce text size if needed */
}
.rz-sidebar-toggle{
    height: 25px !important;
    padding: 5px 10px !important;
    font-size: 12px !important; /* Reduce text size if needed */
}
.rz-fieldset {
    border: none !important;
    border-radius: 5px !important;
}

/*Side Bar*/
.rz-sidebar {
    background-color: #cccccc;
    border-inline-end-width: 1px;
    width: 50%;
    bottom: 0px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.rz-navigation-item{
    /*height: 30px !important;*/
}
.rz-navigation-item-text{
    /*align-self: normal;*/
}

.rz-sidebar .rz-navigation-item .rz-navigation-item-wrapper {
    background-color: darkgrey;
    color: #28166e;
}

.rz-sidebar .rz-navigation-item .rz-navigation-item-wrapper-active {
    color: white;
    background-color: lightskyblue;
}

/*GRID Header Column*/
.rz-grid-table thead th{
    background-color: lightgrey;
    font-size: 5px;
      
}


.rz-sidebar .rz-navigation-item .rz-navigation-item-wrapper:hover {
    color: white !important;
    background-color: dodgerblue;
}

.rz-sidebar .rz-navigation-item .rz-navigation-item-wrapper:hover .rz-navigation-item-icon {
    color: black !important;
}

.rz-sidebar .rz-navigation-item .rz-navigation-item-wrapper:hover .rz-navigation-item-text {
    color: black !important;
}

.button-container {
    width: 100% !important; /* Ensures full width */
    display: flex;
    justify-content: center; /* Centers buttons horizontally */
    gap: 20px; /* Adds space between buttons */
    padding: 10px; /* Adds padding to prevent cutting off */
    margin: 0 !important; /* Removes any negative margins */
    overflow: visible !important; /* Prevents clipping */
}

.styled-button {
    height: 25px;
    width:250px;
    background-color: lightgrey !important;
    color: #ffffff !important;
    border: 1px solid #321685 !important;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    margin: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Add a smooth transition effect for both transform and opacity */

}
.gap-3 {
    gap: 15px; /* Adjust spacing as needed */
}
.styled-button-inside {
    height: auto;
    width: 350px !important; /* Fixed width for consistency */
    max-width: 100%; /* Ensures buttons don't overflow on smaller screens */
    background-color: lightgrey !important;
    color: #ffffff !important;
    border: 1px solid #321685 !important;
    padding: 10px 16px; /* Adds padding for better spacing */
    cursor: pointer;
    border-radius: 8px;
    font-weight: 400;
    margin: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-align: center; /* Ensures text is centered */
}
.styled-button-blue {
    height: 40px;
    width: 450px;
    background-color: rgba(116,193,232,0.71)!important;
    color:black !important;
    border: 1px solid #321685 !important;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    margin: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Add a smooth transition effect for both transform and opacity */
    /* Initially invisible */
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out forwards; 
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.styled-button-green {
    background-color: lightgreen !important;
    color: #ffffff !important;
    border: 1px solid #321685 !important;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    margin: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Add a smooth transition effect for both transform and opacity */

}
.styled-button-orange {
    background-color: orange !important;
    color: #ffffff !important;
    border: 1px solid #321685 !important;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    margin: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Add a smooth transition effect for both transform and opacity */

}

.styled-button-add {
    width: 320px;
    background-color: lightgreen !important;
    color: #ffffff !important;
    border: 1px solid #321685 !important;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    margin: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;

}

.styled-button-smaller-replace {
    height: auto; /* Allow the button to expand if needed */
    width: 250px;
    background-color: lightyellow !important;
    color: #ffffff !important;
    border: 1px solid #321685 !important;
    padding: 8px 10px; /* Reduce padding for more space */
    cursor: pointer;
    border-radius: 8px;
    margin: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-align: center; /* Ensure text is centered */
    white-space: normal; /* Allow wrapping */
    word-wrap: break-word; /* Ensure words break */
    overflow-wrap: break-word; /* Alternative for breaking words */
    display: flex; /* Enables flexbox */

    text-overflow: ellipsis; /* Prevents text overflow */
}

.styled-button-smaller-add {
    height: auto; /* Allow the button to expand if needed */
    width: 250px;
    background-color: lightskyblue !important;
    color: #ffffff !important;
    border: 1px solid #321685 !important;
    padding: 8px 10px; /* Reduce padding for more space */
    cursor: pointer;
    border-radius: 8px;
    margin: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-align: center; /* Ensure text is centered */
    white-space: normal; /* Allow wrapping */
    word-wrap: break-word; /* Ensure words break */
    overflow-wrap: break-word; /* Alternative for breaking words */
    display: flex; /* Enables flexbox */
    justify-content: center; /* Centers text horizontally */
    align-items: center; /* Centers text vertically */
    text-overflow: ellipsis; /* Prevents text overflow */
}

.refresh-button {
    background-color: lightpink !important;
    color: #ffffff !important;
    border: 1px solid #321685 !important;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    margin: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Add a smooth transition effect for both transform and opacity */

}

.styled-button:hover {
    opacity: 0.9; /* You can adjust the opacity value based on your preference */
    transform: scale(1.1);
}
.styled-button-inside:hover {
    opacity: 0.9; /* You can adjust the opacity value based on your preference */
    transform: scale(1.1);

}

.styled-button-blue:hover {
    opacity: 0.9; /* You can adjust the opacity value based on your preference */
    transform: scale(1.1);

}
.styled-button-orange:hover {
    opacity: 0.9; /* You can adjust the opacity value based on your preference */
    transform: scale(1.1);

}
.styled-button-green:hover {
    opacity: 0.9; /* You can adjust the opacity value based on your preference */
    transform: scale(1.1);

}
.styled-button + .styled-button {
    margin-left: 20px; /* Adjust the margin based on your design */
}

.refresh-button:hover {
    opacity: 0.9; /* You can adjust the opacity value based on your preference */
    transform: scale(1.1);
}

.styled-button-add:hover {
    opacity: 0.9; /* You can adjust the opacity value based on your preference */
    transform: scale(1.1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Darken background */
    z-index: 9999; /* Ensure it's above other content */
}
.rz-fieldset-toggler.rzi
{
    margin-top: 5px;
    margin-bottom: 15px;

}
    
.spinner {
    position: absolute; /* Position relative to its parent */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Correct centering offset */
    animation: dropBounce 3s ease-out 1; /* Bounce 3 times */
    z-index: 10000; /* Ensure it's above other content */
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Darken background */
    z-index: 9999; /* Ensure it's above other content */
}


.spinner_loader_bottom {
    position: fixed;
    bottom: 20px; /* Distance from the bottom */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 10000; /* Ensure it's above other content */
}

.spinner_loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    z-index: 10000; /* Ensure it's above other content */
}
#footerText {
    position: absolute;
    bottom: -740px;
    font-family: monospace;
    font-size: 18px;
    opacity: 0.3;
    left: 10px;
}
.radzen-body, .radzen-content-container, .radzen-footer {
    margin-left: -20px !important;
}
/*//PLACEHOLDER*/
.inputPlaceholder {
    font-family: monospace;
    display: flex;
    font-size: 25px;
    color: #666;
    width: 600px;
    border-radius: 20px;
    height: 50px;
    scale:95%;
}

.inputPlaceholder-inside {
    font-family: monospace;
    display: flex;
    font-size: 25px;
    color: #666;
    width: 450px;
    border-radius: 20px;
    height: 50px;
}
inputPlaceholder.imitatefocus::-webkit-input-placeholder {
    -webkit-transform: translateY(-125%);
    opacity: 0.05
}
-webkit-inputPlaceholder-placeholder {
    display: inline-block;
    opacity: 0.2;
    transition: all 0.3s ease-in-out;
    padding-right: .15em;
    white-space: nowrap;
}
inputPlaceholder:focus {
    -webkit-transform: translateY(-125%);
    font-size: 75%;
    opacity: 0.05
}
webkit-inputPlaceholder-placeholder {
    -webkit-transform: translateY(-125%);
    font-size: 75%;
    opacity: 0.05

}
/*//TABS*/
.tabeiros {
    & > a {
        position: relative;
        width: auto;
        font-family: monospace;
        display: inline-block;
        padding: .7em 2em .5em;
        text-decoration: none;
        margin: 0 -.3em;

    }

    & > a::before {
        transform-origin: bottom right;
    }

    a::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: -1;
        border-bottom: none;
        font-weight: bold;
        /*border-radius: .4em .9em 0 0;*/
        background-color: black;
        color: navy;
        transform: scale(1.2, 1.3) perspective(.5em) rotateX(5deg);
    }

    .tab-right {
        nav {
            padding-left: 2.3em;
        }
        nav a::before {
            transform-origin: bottom right;
        }
    }
}
*, *::before, *::after {
    color: black;
}
.rz-column-title-content {
    white-space: pre-wrap !important;
    max-height: 10rem !important;
}
.rz-grid-table thead th{    
    background-color:lightgrey;
}

.rz-selectable tbody tr.rz-data-row.rz-state-highlight > td {
    background-color: seagreen;
}
.rz-chkbox-box .rzi{
    background-color: lightgrey;
}

.rz-tabview-panels {
    box-shadow: rgba(115, 131, 155, 0.61) 3px 3px 1px;
}

.rz-tabview-panel {
    padding: 0;
}

.rz-tabview-nav {
    padding: 0;
}
.rz-tabview-nav li a, .rz-tabview-nav li a:not([href]):not([class]){
    font-size: 12px;
}

html, body {
    font-size: var(--rz-body-font-size);
    /*font-size: calc(0.3px * var(--scale));*/
    /*zoom: 100%;      */
}

.notification-icon {
    scale: 5%;!important;
}
.rz-navigation-item-icon:not(img) {
    max-width: 40px;
    display: flex !important;
    align-items: center !important; /* Vertical centering */
    justify-content: center !important; /* Horizontal centering */
    height: 5px !important; /* Ensure a consistent size */
    width: 24px !important;
}
.rz-navigation-item-icon {
    max-width: 35px;
    display: flex !important;
    align-items: center !important; /* Vertical centering */
    justify-content: center !important; /* Horizontal centering */
    /*height: 5px !important; !* Ensure a consistent size *!*/
    width: 30px !important;
}

.notification-container {
    position: relative;
    display: inline-block;
}
.notification-badge {
    position: absolute;
    top: 20px;
    right: -3px;
    background: red;
    color: white;
    font-size: 9px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 3px;
    min-width: 20px;
    text-align: center;
    white-space: nowrap;
}

.rz-menu:not(.rz-profile-menu) .rz-navigation-menu {
    width: 370px;
    height: 150px;
    background-color: rgba(244,255,151,0.43);
    padding: 20px;
    box-shadow: 2px 2px 4px darkgrey;
}

.rz-menu .rz-navigation-item {
    justify-items: flex-end;
    direction: rtl;
    font-size: medium;
}


.rz-fileupload-row {
    background-color: lightblue;
}

#ddUpload {
    left: 0;
    --rz-upload-button-bar-background-color: transparent;
    --rz-upload-button-bar-padding: 0;
}

#ddUpload .rz-fileupload-buttonbar .rz-fileupload-choose {
    width: 90%;
    text-align: center;
    font-size: 13px;
    padding: 100px 0;
    /*background-color: lightskyblue;*/
    /*background-color: rgba(186,245,255,0.66);*/
    background-color: rgba(164,223,232,0.71);!important;

}

.border-container {
    padding: 10px;
    display: inline-block;
}

.border-highlight {
    border-left: 4px solid #007BFF; /* Blue left border */
    padding-left: 15px;
    margin-left: 10px;
}

.sub-category {
    margin-top: 10px;
    padding-left: 10px;
}

.heading {
    position: relative;
    text-align: center;

    align-items: center;
}

.heading h1, .heading h2, .heading h3, .heading h4, .heading h5, .heading h6 {
    display: flex;
    align-items: center;
}
.h1, h1 {
    font-size: 1.8rem;!important;
}

.h3, h3 {
    font-size: 1.65rem;!important;
}



@keyframes shake {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(8deg);
    }
    50% {
        transform: rotate(-8deg);
    }
    75% {
        transform: rotate(8deg);
    }
    100% {
        transform: rotate(0deg);
    }


}

.shake {
    animation: shake 0.9s ease forwards;
}


.shine-button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    /*background-color: #4CAF50; !* Green background *!*/
    color: white ; /* White text */
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.shine-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    animation: shine 1.5s infinite linear;
}