.dashboard-nav {
    display: flex;
    justify-content: center;
    /* This will center the buttons horizontally in the nav */
    align-items: center;
    /* This will align the buttons vertically */
    gap: 10px;
    /* This will maintain the gap between the buttons */
    flex-grow: 1;
    /* This will allow the nav to take up the available space */
}

.rounded-dash-card {
    height: 90%;
    overflow: visible;
    border: 0;
    display: flex;
    /* Adjusted to match typical card border-radius */
}

.inq-nav-btn {
    padding: 10px 25px;
    width: 120px;
    height: auto;
    cursor: pointer;
    border: none;
    border-radius: 20px;
    background-color: var(--orange);
    color: white;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}


/* Add this class for when a button is active */

.inq-nav-btn.active {
    background-color: #0191F1;
    /* Sets the active button to blue */
}

.inq-nav-btn.disabled,
.inq-nav-btn.disabled:focus {
    position: relative;
    cursor: default;
    /* This prevents the button from being clickable */
    color: #c0c0c0;
    /* Optional: makes the button appear greyed out */
    background: #f0f0f0;
    /* Optional: changes the background to indicate it's disabled */
    border-color: #c0c0c0;
    /* Optional: changes the border color to match the disabled theme */

    &.no-data::after {
        content: "No data";
        width: 100%;
        height: 100%;
        background-color: #eee;
        border-radius: 20px;
        text-align: center;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 0.2s ease-in-out;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    &.no-data:hover::after {
        opacity: 1;
    }
}



.trophies-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.trophy-box { gap: 20px; }

.trophy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 400px;
    overflow: visible;
    /* Allow content to move outside the box if necessary */
    position: relative;
    /* Establish a positioning context for absolute children */
}

.rank-button {
    cursor: default;
    border: none;
    color: white;
    font-weight: bold;
    font-size: xx-large;
    padding: 10px 20px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    width: 100%;
}

.img-container { width: 100%; height: 100%; background-color: #eee; }
.img-container.clickable {
    cursor: pointer;
    transition: filter 0.2s ease;
}
.img-container.clickable:hover {
    filter: brightness(80%);
}

.img-description {
    position: absolute;
    bottom: 10px;
    background: white;
    padding: 10px;
    border-radius: 14px;
    width: calc(100% - 40px);
    left: 50%;
    translate: -50% 0;
}

.gold {
    background-color: gold;
}

.silver {
    background-color: silver;
}

.bronze {
    background-color: #cd7f32;
    /* A common bronze color */
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 1000;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.popup-text {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    margin: 0;
    background: white;
    padding: 10px;
    border-radius: 14px;
}

.x-container {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 10px;
    right: 10px;
    background-color: #d8d8d8;
    border-radius: 10px;
    border: 2px solid grey;
}
.x-container:hover {
    filter: brightness(80%);
    cursor: pointer;
    transition: filter 0.2s ease;
}
.line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: #515151;
    transform-origin: center;
}
.line1 { transform: translate(-50%, -50%) rotate(45deg); }
.line2 { transform: translate(-50%, -50%) rotate(-45deg); }


.visualization-area {
    display: flex;
    justify-content: center;
    align-items: center;
    /* This will vertically center the content */
    padding: 0;
    margin: auto;
    /* Center the area horizontally */
    width: 100%;
}

#inquireVisualizationContent {
    text-align: center;
    width: 100%;
    /* Ensure the content takes full width for proper centering */
}

#chartCanvas {
    width: 100%;
    height: 100%;
    justify-content: center;
}


/* Additional styles for the popup button and other elements as needed */

#treeVisualizationContainer {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    border-radius: 10px;
    border: var(--orange) solid 3px;
    background-color: #f2f2f2;
    position: relative;
}
#treeVisualizationContainer * { box-sizing: border-box; } /* ensures all attribute texts inside the boxes in the visualisation are centered at all screen-widths */

#treeVizTooltipContainer {
    font-size: 35px;
    position: absolute;
    top: 15px;
    left: 15px;
    margin: 0;
}

#inquireTreeVizDetailsContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

#treeSelectDropdown {
    font-size: 1.2rem;
    height: 40px;
    outline: none;
    border: var(--orange) solid 3px;
    border-radius: 10px;
    transition: border 0.2s linear;

    &:focus {
        border: #c44e00 solid 3px;

    }
}

.goals-container {
    width: 100%;
    height: 100%;
}

.goals-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* White border */
    border-radius: 8px;
    /* Rounded corners like a card */
    background-color: white;
    color: black;
    /* Orange background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* Card-like shadow */
    /* Font family can be changed as desired */
    padding: 20px;
    width: 100%;
    margin: 10px;
    /* Space between cards */
}

.goals-slide h2 {
    margin-bottom: 10px;
}

.goals-slide p {
    text-align: center;
}

.goals-button-next,
.goals-button-prev {
    color: #FFA584;
    /* Change to your desired arrow color */
    background-color: rgba(255, 165, 132, 0.5);
    /* Optional: Add a background color with some transparency */
}

.goals-button-next::after,
.goals-button-prev::after {
    font-size: 25px;
    /* Increase the size of the arrow icons */
    font-weight: bold;
    /* Make the arrow icons bolder */
}


/* Custom styles for thicker arrows */

.goal-image {
    /* max-height: 200px;
    max-width: 200px; */
    width: 60%;
}

.goals-button-next,
.goals-button-prev {
    border: 6px solid #FFA584;
    /* Make the border thicker and change its color */
    border-radius: 50%;
    /* Optional: Adds rounded corners to the navigation buttons */
    width: 70px;
    /* Increase the width for larger buttons */
    height: 70px;
    /* Increase the height for larger buttons */
    background-size: 50%;
    /* Adjust the background size if using background images for arrows */
}




#swiper-inquire-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    padding: 20px;
    flex: 1 1 auto;
    width: 100%;
}

#inquire-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 50%;
}

#inquire-details-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex: 1 1 50%;
    gap: 20px;
}

#inquire-details-container > #heading {
    margin-bottom: 0;
    font-size: 4rem;
}

#inquire-details-container > #percentage {
    color: #feffff;
    margin-top: 30px;
    font-size: 2.3rem;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 30px;
    width: auto;
    height: auto;
}

#inquire-details-container > #status-button {
    width: 140px;
    height: 50px;
    border-radius: 30px;
    font-size: 1.5rem;
    margin-top: 30px;
}


.detail-container {
    border: solid 2px var(--orange);
    border-radius: 15px;
    background: #ffae78;
    min-width: 400px;

}

.detail-heading-container {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background: var(--orange);
    color: white;
    padding: 5px;

    & > h2 {
        margin: 0;
    }
}

.detail {
    padding: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    color: #6b340f;
}


@media screen and (min-width: 769px) {
    .hidden-on-big {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    .hidden-on-small {
        display: none !important;
    }

    #swiper-inquire-container {
        flex-direction: column;
    }

    #inquire-icon-container {
        flex: 0 1 auto;
    }
    
    #inquire-details-container > #heading {
        font-size: 3rem;
    }

    .detail-container {
        min-width: 300px;
    }
}
