/* ===== GLOBAL STYLES ===== */

.back-arrow {
    max-width: 40px;
    padding-left: 10px;
    font-size: 34px; /* Adjust this value to make the arrow larger or smaller */
    text-decoration: none; /* This removes the underline from the link */
    color: black; /* This sets the color of the arrow. Change it to any color you like. */
}
#row7{
    width: 95%;
}
.container {
    display: flex;
    border: 2px solid teal;
    height: 700px;
    width: 1460px;
    margin-top: auto;
    margin-left: 10px;
}

.na {
            color: blue;
        }

        .k {
            color: orange;
        }

#backBtn, #fwdBtn{
    background-color: #c3d9d9;
    font-style: oblique;
}

.btn {
    width: 50%;
    padding: 10px;
    background-color: rgba(153, 182, 182, 0.89);
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #ccc;
}

.title {
    color: teal;
    font-weight: bold;
    margin: 10px 0;
    flex: 0 0 auto;
}

/* ===== LEFT COLUMN STYLES ===== */
.left-col {
    width: 38%;
    max-height: 700px; /* to match the container height */
    overflow-y: auto;
    border: 2px solid teal;
    display: flex;
    flex-direction: column;
}

.left-row {
    display: flex;
    height: 100%; /* each row has a fixed height of 400px */
    border-bottom: 2px solid teal;
}
.left-content-top {
    display: flex;
    flex-direction: column;
    padding: 8px 8px 24px;
    padding-top: 0px;
    height: 450px;
    width: 100%;
}

.left-content {
    height: 275px;
    display: flex;
    flex-direction: column;
    padding: 8px;
    width: 60%;
    padding-bottom: 25px;
}

.no-wrap {
    font-size: 13px;
    flex: 0 0 auto;
}

.explainer {
    background-color: #eceff1;
    flex: 1 1 auto;  /* it will expand to take available space */
    overflow-y: scroll; /* auto means it will only show scrollbar when necessary */
    overflow-x: hidden;
    padding: 8px;
    font-size: 15px;
    line-height: 1.5;
}


/* ... other styles remain unchanged ... */

/* Webkit Scrollbar styles */
.explainer::-webkit-scrollbar {
    width: 8px;
}

.explainer::-webkit-scrollbar-thumb {
    background-color: teal;
    border-radius: 4px;
}

.explainer::-webkit-scrollbar-track {
    background-color: #eee;
}


.left-bg {
    display: flex;
    justify-content: center;  /* horizontally center */
    align-items: center;      /* vertically center */
    width: 40%;
}

.left-bg img {
    max-width: 90%;
    max-height: 90%;
    margin: auto;

}
/* Scrollbar styles for Webkit browsers (like Chrome, Safari) */
.left-col::-webkit-scrollbar, .explainer::-webkit-scrollbar {
    width: 8px;
}

.left-col::-webkit-scrollbar-thumb, .explainer::-webkit-scrollbar-thumb {
    background-color: teal;
    border-radius: 4px;
}

.left-col::-webkit-scrollbar-track, .explainer::-webkit-scrollbar-track {
    background-color: #eee;
}

/* Scrollbar styles for Firefox */
@supports (scrollbar-width: thin) {
    .left-col, .explainer {
        scrollbar-width: thin;
        scrollbar-color: teal #eee;
    }
}








/* ===== RIGHT COLUMN STYLES ===== */
.right-col {
    width: 62%;
    height: 100%;
    border: 2px solid teal;
    display: flex;  /* Change to flex */
    flex-direction: column; /* Stack child elements vertically */
}

/* Allocate space for the tabs */
.tab-buttons {
    height: 5%; /* 5% of the right-col */
    display: flex;
    border-bottom: 1px solid teal;
    margin-bottom: 10px;
}

.tab-link {
    color: #e3efef;
    padding: 10px 15px;
    border: none;
    background-color: teal;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-grow: 1; /* Allow each tab to grow equally */
}

.tab-link:hover {
    background-color: #256464;
}

.tab-link.selected {
    background-color: #59a4a4;
}

.right-top {
   /*height: 67%; /* Reduced to accommodate tab-buttons, right-bottom and currents-container */
}

.right-bottom {
    height: 5%; /* 23% of the right-col */
    display: flex;
    width: 100%;
}

.currents-container {
    height: 25%; /* 5% of the right-col */
    display: block;
    margin-top: 5px;
}



#contentTab{
     height: 100%;
}


#constructionTab{
    height: 100%;
}

.hidden {
    display: none;
}

.active {
    display: block;
}
#plotlyGraph{
    width: 70%;
    margin: auto;
max-height: 450px;
}

button[disabled] {
    color: lightgrey;
    pointer-events: none;
    cursor: not-allowed;
}


#stageid{
    padding: 15px;
    margin: auto;
    margin-top: 0;
}
#stageid_title{
    font-weight: bold;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding-top: 14px;
    margin: auto;
    text-align: center;
}