input,
select {
    border-radius: 5px;
    border: 2px solid var(--secondary);
}


.summary-pages {
    width: 100%;
    height: 50vh;
    padding: 2%;
}

.flex {
    display: flex;
}

.option-section {
    height: fit-content;
    width: 100%;
    background-color: red;
}

.option-section button {
    border: none;

}

.form>div {
    margin-right: 10px;
}

.summary-pages .detail-section .detail {
    justify-content: space-between;
    height: 40%;
    width: 100%;
}

.summary-pages .detail-section .detail>div {
    border: 2px solid var(--secondary);
    margin-top: 1%;
    padding-top: 5px;
    width: 30%;
    height: 15vh;
}

.summary-pages .detail-section .detail .value {
    text-align: center;
    font-weight: bold;
    font-size: 2em;
    background-color: rgba(255, 0, 0, 0);
}

.summary-pages .detail-section .detail .value sup {
    background-color: rgba(255, 0, 0, 0);
}

.summary-pages .detail-section .detail-value {
    font-weight: bold;
    font-size: 1em;
    background-color: rgba(255, 0, 0, 0);
}

.summary-pages .detail-section .subtitle {
    margin-top: 5%;
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
    background-color: rgba(255, 0, 0, 0);
}

.div-button {
    border-radius: 5px;
}

.div-button:hover {
    background-color: var(--secondary);
    cursor: pointer;
}

.div-button:hover .value,
.div-button:hover .subtitle,
.div-button:hover .detail-value,
.div-button:hover span,
.div-button:hover sup {
    color: var(--primary);
}

.detail .tooltip {
    position: absolute;
    top: 15%;
    z-index: 3;
    background: var(--secondary);
    box-shadow: 0 5px 10px var(--secondary);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 400;
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
    transition: 0s;
    color: var(--primary) !important;
}

.total-cost .tooltip {
    left: calc(20%);
}

.total-consumption .tooltip {
    left: calc(55%);
}

.total-carbon-emission .tooltip {
    left: calc(90%);
}

.div-button:hover .tooltip {
    opacity: 1;
    pointer-events: auto;
    transition: all 0.4s ease;
    /* top: 50%; */
    transform: translateY(-50%);
}

.submit-section{
    display: flex;
}

.submit-tooltip {
    position: relative !important;
    /* top: 15%; */
    /* z-index: 3; */
    margin-left: 10px;
    background: var(--secondary);
    box-shadow: 0 5px 10px var(--secondary);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 400;
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
    transition: 0s;
    color: var(--primary) !important;
}

.graph-section .chart{
    overflow-x: scroll;
}

/* .submit-section:hover .tooltip {
    opacity: 1;
    pointer-events: auto;
    transition: all 0.4s ease;
    transform: translateY(-50%);
} */

/* .submit-section .tooltip .active {
    opacity: 1;
    transition: all 0.4s ease;
} */