.transform-nav-btn {
    padding: 10px 25px;
    width: 280px;
    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;
    position: relative;
    transition: background-color 0.1s linear;

    &.active {
        cursor: default;
    }

    &:hover {
        background-color: #d25400; /* darker orange; didnt let me use darken() */
    }
}

.dash {
    width: 100%;
}
.dashboard-nav {
    flex-wrap: wrap;
}


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

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

.transform-nav-btn.no-data {
    position: relative;
    color: #888;
    background-color: #ddd;
    cursor: default;

    &::after {
        content: "No data";
        width: 100%;
        height: 100%;
        background-color: #ddd;
        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;
    }

    &:hover::after {
        opacity: 1;
    }
}

.transform-nav-btn.locked {
    position: relative;
    color: #888;
    background-color: #ddd;
    cursor: default;

    &::after {
        content: "Locked";
        width: 100%;
        height: 100%;
        background-color: #ddd;
        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;
    }

    &:hover::after {
        opacity: 1;
    }
}


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

#transformVisualizationContent {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.transformtable {
    width: 100%;
    color: #000;
    width: 800px;
    text-align: left;
}

.transformtable th,
.transformtable td {
    padding: 10px;
    /* Adjust the padding as needed */
}

.border-bottom {
    border-bottom: 1px solid #000 !important;
}

.border-top {
    border: #ddd !important;
    border-top: 1px solid #ddd !important;
}


/*-------------------------------------------------------------------*/

.gas-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgb(235,64,52);
    background: linear-gradient(90deg, rgba(235,64,52,1) 41%, rgba(2,176,10,1) 70%);
    border-radius: 10px;
    overflow: visible;
    position: relative;
    padding: 20px;
    height: 80px;
    width: 100%;
}

.gas-line {
    height: 120%;
    width: 5px;
    border-radius: 10px;
    background-color: #000000;
    position: absolute;
    /* left: 60%; */ /* change this property to move black line for GAS... */
    top: -10%; 
}

.gas-line-text {
    position: absolute;
    color: #000000;
    bottom: -60%;
    left: -70px;
    white-space: nowrap;
    font-size: 2rem;
}

.gas-label {
    color: white;
    font-weight: bold;
    font-size: 20px;
}

/*-------------------------------------------------------------------*/

.process-wrapper {
    margin: auto;
    max-width: 1080px;
}

#progress-bar-container .step-container .step.active, #progress-bar-container .step-container .step:hover:not(.no-data) {
    background: var(--blue);

    & + .step-var-text { /* show step variable text if step button hovering or active*/
        background: #3ab0ff; 
    }
}

#progress-bar-container {
    flex-wrap: wrap;
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.step-container {
    display: flex;
    flex-direction: column; 
    flex: 1 1 auto;
}

.step-container .step {
    color: white;
    background: var(--orange);
    text-transform: uppercase;
    font-size: 1.3rem;
    cursor: pointer;
    font-weight: 700;
    transition: all ease 0.2s;
    padding: 5px 0;
    border-radius: 8px 50px 50px 8px;

    & + .step-var-text {
        background: #ff893b; 
    }
}

.step-container .step.no-data {
    color: #888;
    cursor: default;
    background-color: #ddd;

    & + .step-var-text {
        color: #888;
        background-color: #ddd;
    }
}

.step-var-text {
    color: white;
    border-radius: 15px;
    font-size: 1.2rem;
    margin: 10px 0;
    transition: background ease 0.2s;
    padding: 8px 12px;
    font-weight: 700;
    white-space: nowrap;
}

#progress-bar-container li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 20px;
    /* Adjust the size of the arrow */
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    /* Adjust the color of the arrow */
    z-index: 1;
    /* Ensure the arrow is behind the text */
}

#progress-bar-container .line {
    width: 80%;
    margin: auto;
    background: #eee;
    height: 6px;
    position: absolute;
    left: 10%;
    top: 57px;
    z-index: 1;
    border-radius: 50px;
    transition: all ease 0.9s;
}

#progress-bar-container .line-progress {
    content: " ";
    width: 3%;
    height: 100%;
    background: #207893;
    background: linear-gradient(to right, #207893 0%, #2ea3b7 100%);
    position: absolute;
    z-index: 2;
    border-radius: 50px;
    transition: all ease 0.9s;
}

#progress-content-section {
    border-radius: 4px;
}

#progress-content-section .section-content {
    width: 100%;
}

#progress-content-section .section-content h2 {
    font-size: 17px;
    text-transform: uppercase;
    color: #333;
    letter-spacing: 1px;
}

#progress-content-section .section-content p {
    font-size: 16px;
    line-height: 1.8em;
    color: #777;
}

#progress-content-section .section-content { /* line 3 of this rule makes ATP text blurry :[ */
    display: none;
    animation: FadeInUp 400ms ease 1;
    /* animation-fill-mode: forwards; */
    /* transform: translateY(15px); */
    /* opacity: 0; */
}

#progress-content-section .section-content.active {
    display: block;
}

@keyframes FadeInUp {
    0% {
        transform: translateY(15px);
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex: 1 1 80%;
}

.step {
    display: flex;
    min-width: 150px;
    flex: 1 1 15%;
    flex-direction: column;
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: 700;
}

.step__title {
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    text-align: center;
    background-color: #43c6ac;
    padding: 3px 0;
    color: #fff;
    font-family: sans-serif;
}

/* .step__title:before,
.step__title:after {
    content: "";
    position: absolute;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}

.step__title:before {
    border-left: 20px solid #fff;
    left: 0;
}

.step__title:after {
    border-left: 20px solid #43c6ac;
    right: -20px;
} */

.step__info {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 10px;
    background: #d7ede1;
    font-size: small;
    height: 100%;
}

.circle-letter {
    display: flex;
    /* Use flex to center content */
    align-self: stretch;
    /* Stretch circle vertically to match sibling container height */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    min-width: 150px;
    background-color: #F16101;
    /* Orange background */
    color: white;
    /* White text */
    border-radius: 15px;
    /* Makes the div circular */
    font-size: 54px;
    /* Large text size */
    font-weight: bold;
    /* Bold text */
    position: relative;
    /* To allow for hoverable (no icon) tooltips above circle letter */
}
.section-content .card-container { /* section content is an ATP section (1 of 6 steps) in Transform dash */
    display: flex; 
    flex-direction: column; 
    gap: 20px;
}

.box {
    display: flex;
    align-items: center;
    /* Adds a border, adjust color as needed */
    text-align: left;
    /* Ensures text within the box is left-aligned */
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}


/* Style for the vertical line, if needed */

.parent-container {
    height: 100%;
    /* This is an example; adjust as necessary for your layout */
}

.triangle-column {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 730px;
}

.triangle-column::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #a2fcb7;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 0;
}

.content {
    position: relative;
    z-index: 1;
    padding: 15px;
    color: black;
    text-align: left;
}

.fullCard {
    background: #bbe2fc;
    width: 100%;
    padding: 2%;
    min-height: 80px;
    margin-bottom: 10px;
    /* Add bottom margin to the card */
}

.resource-cards-container {
    display: flex; 
    flex-direction: row;
    gap: 15px; 
    flex: 1 1 80%;
}

@media screen and (max-width: 600px) {
    .resource-cards-container {
        flex-direction: column;
    }
}

.resourcesCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* align content to the top */
    min-height: 80px;
    border-radius: 10px;
    border: 3px solid;
    color: inherit;
    /* height: 190px; */
    /* Consider using min-height instead if content varies in size */
    font-weight: 500;
    box-sizing: border-box;
    padding: 0;
    position: relative;
    margin-top: 0;
    /* Make sure there's no margin pushing it down */
    flex: 1 1 80%;
}

.cardTitle {
    border-bottom: 3px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* Take the full width of the card */
    max-height: 100px;
    min-height: 40px;
    /* Set a max height */
    color: white;
    border-color: inherit;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    /* No margin to avoid gaps */
    padding: 0;
    /* Adjust padding if needed, but ensure it's not causing a gap */
    position: absolute;
    /* Position it absolutely within the relative parent */
    top: 0;
    /* Stick it to the top */
    left: 0;
    /* Align it to the left */
    right: 0;
    margin-bottom: 20px;
    /* Align it to the right */
}

.coloured-card-text {
    font-weight: 500px;
    font-size: 0.8rem !important;
}

.cardTitle-green {
    background-color: #03ad23; 
}

.cardTitle-orange {
    background-color: #F16100;
}

.cardTitle-yellow {
    background-color: #f7ba07;
}

.cardTitle-blue {
    background-color: #0599fc; 
}

.resourcesCard h2 {
    color: inherit !important;
    font-weight: 500px !important;
    font-size: 1.6rem !important;
    text-transform: none !important;
    margin: 0 !important;
    padding: 10px 0;
}

.resourcesCard-Blue {
    background: white;
    border-color: #0599fc;
    color: #0599fc;
}

.resourcesCard-Green {
    background: white;
    border-color: #03ad23;
    color: #03ad23;
}

/* Orange Variant */

.resourcesCard-Orange {
    background: white;
    border-color: #F16100;
    color: #F16100;
}


/* Yellow Variant */

.resourcesCard-Yellow {
    background: white;
    border-color: #e2aa05;
    color: #d49f00; /* (text color is a tad darker for better readability) */
}

.p-2 {
    padding: 10px;
    margin-top: 40px;
    /* Slightly more than the max-height of .cardTitle */
    /* Space between bubbles */
    display: flex;
    flex-direction: column;
    /* Stack the bubbles vertically */
    align-items: center;
    /* Center bubbles horizontally */
    width: 100%;
    /* Match width of the card */
}

.textBubble {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px;
    /* Space between bubbles */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    /* height: 35px; */
    /* max-width: 300px; */
    /* Rounded corners for the bubble */
    /* font-size: small; */
    font-size: 1.2rem;
    font-weight: 600;
    /* Corrected from 600px to 600 */
}


/* Assuming .resourcesCard-Orange specifics, repeat for Blue, Yellow, etc. */

.resourcesCard-Orange .textBubble {
    background-color: #ffcead;
    /* Matching the card background */
    border: 2px solid #F16100;
    /* Matching the card border */
}

.resourcesCard-Blue .textBubble {
    background-color: #bbe2fc;
    /* Matching the card background */
    border: 2px solid #52b7fa;
    /* Matching the card border */
}

.resourcesCard-Yellow .textBubble {
    background-color: #fce8ae;
    /* Matching the card background */
    border: 2px solid #cdb262;
    /* Matching the card border */
}

.resourcesCard-Green .textBubble {
    background-color: #adffbc;
    /* Matching the card background */
    border: 2px solid #03ad23;
    /* Matching the card border */
}


.dynamic-flex-grid {
    display: flex !important;
    flex-direction: row; 
    flex-wrap: wrap; 
    justify-content: center;
}

.dynamic-flex-grid > .dfg-child-50 {
    flex: 1 1 45%; /* take 45% of space; leaving space for margins, etc. */
}



/*-------------------------------------------------------------------------------------*/

.horizontalCard {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 50%;
    padding: 0px;
    box-sizing: border-box;
    min-height: 50px;
    border-radius: 12px;
    font-size: 22px;
    overflow: hidden;
}

.section-content .horizontal-cards { /* apply this style only to transform ATP horizontal cards container */
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;

    & .horizontalCard {
        flex: 1 1 30%;
        min-width: 210px;
    }
}

.horizontalCard-Orange {
    border: 3px solid #F16100;
    border-radius: 12px;
}

.cardTitleLeft {
    flex: 1;
    background-color: #ffcead;
    /* Example color, adjust as needed */
    border-right: 3px solid #F16100;
    border-left: none;
    box-sizing: border-box;
    height: 100%;
    min-height: 50px;
    padding: 2%;
    /* Optional: Add `display: flex` and `align-items: center` for vertical centering of the title */
}

.cardBodyRight {
    flex: 2;
    height: 100%;
    box-sizing: border-box;
    min-height: 50px;
    padding: 2%;
}

.horizontalCard-Orange .cardTitleLeft {
    background-color: #F16100;
    border-right: 3px solid #F16100;
    color: white;
}

.horizontalCard-Blue .cardTitleLeft {
    background-color: #bbe2fc;
    border-right: 3px solid #52b7fa;
}

.table.rounded-3 {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    /* Adjust as necessary for your design */
    overflow: hidden;
    /* Ensures the content does not overflow the rounded borders */
}

.atpTable {
    background: white;
    color: #0599fc;
    width: 100%;
    border-collapse: collapse;
    empty-cells: show;
    margin-bottom: 20px;
    table-layout: fixed;
    /* Ensures that borders are shown even on empty cells */
}


/* Apply rounded bottom corners to the last row */

.atpTable td {
    text-align: center;
    vertical-align: middle;
    padding: 20px;
}

.atpTable th {
    background: #bbe2fc;
    text-align: center;
    vertical-align: middle;
    padding: 20px;
}

.atpTable .textBubble {
    display: inline-block;
    margin: 0 auto;
    padding: 10px;
    background-color: #bbe2fc;
    border: 3px solid #52b7fa;
    border-radius: 10px;
    text-align: center;
    font-size: 18px !important;
    height: 50px !important;
    margin-bottom: 20px !important;
}

.atpTable .tableNumber {
    background: white; 
    color: #0599fc; 
    border: 4px white solid; 
    border-radius: 15%; 
    padding: 10px; 
    font-size: 1.7rem; 
    margin: 0;
}

.atpTableGreen {
    background: white;
    color: #03ad23;
    width: 100%;
    border-collapse: collapse;
    empty-cells: show;
    border-radius: 8px;
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 20px;
    /* Ensures that borders are shown even on empty cells */
}

.atpTableGreen th,
.atpTableGreen td {
    text-align: center;
    vertical-align: middle;
    padding: 20px;
}

.atpTableGreen th {
    background: #80f295;
}

.atpTableGreen .textBubble {
    display: inline-block;
    margin: 0 auto;
    padding-left: 5px !important;
    padding-right: 5px !important;
    background-color: #80f295;
    border: 3px solid #03ad23;
    border-radius: 10px;
    text-align: center;
    font-size: 18px !important;
    height: 50px !important;
    margin-bottom: 20px !important;
}

.atpTableRed {
    background: white;
    color: #c2261b;
    width: 100%;
    border-collapse: collapse;
    empty-cells: show;
    border-radius: 8px;
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 20px;
    /* Ensures that borders are shown even on empty cells */
}

.atpTableRed th,
.atpTableRed td {
    text-align: center;
    vertical-align: middle;
    padding: 20px;
}

.atpTableRed th {
    background: #f28f88;
}

.atpTableRed .textBubble {
    display: inline-block;
    margin: 0 auto;
    padding-left: 5px !important;
    padding-right: 5px !important;
    background-color: #f28f88;
    border: 3px solid #c2261b;
    border-radius: 10px;
    text-align: center;
    font-size: 18px !important;
    height: 50px !important;
    margin-bottom: 20px !important;
}

.swiper-slide-transform {
    justify-content: flex-start !important;
    /* Aligns children at the start of the container */
    align-items: flex-start !important;
    /* Rounded corners like a card */
    background-color: white !important;
}


.swiper-pagination-bullet {
    background-color: #fd8c40;
    width: 20px;
    height: 20px;
    transition: background-color 0.1s linear;
}

.swiper-pagination-bullet-active:hover {
    cursor: default;
}

.swiper-pagination-bullet:not(.swiper-pagination-bullet-active):hover {
    background-color: #a26048;
}

.swiper-button-prev, .swiper-button-next {
    top: auto; /* position buttons at bottom */
    border-radius: 15%;
    background-color: #ec8f526f;
    border: 6px solid #fd8c40;
    color: #fd8c40;
    transition: background-color 0.1s linear, border 0.1s linear, color 0.1s linear;

    &:hover {
        background-color: #bb6f3d6f;
        border: 6px solid #d17233;
        color: #d17233;
    }
}

.swiper-button-prev {
    left: 30px;
}

.swiper-button-next {
    right: 30px;
}