:root {
    --wagerGreen: #1cad75;
    --backColour: #191919;
    --tabColour: #262626;
    --textColour: #f1f1f1;
    --highlight: #1cad75;
    --borderColour: #333333;
    --boxShadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    --gold: rgb(180, 140, 58);
}

.calc-body-container {
    margin-top: 25px;
    gap: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;

}

.calc-image-container {
    display: flex;
    justify-content: left;
}

.software-banner-ad {
    width: 400px;
}

.calc-main-container {
    padding-top: 60px;
}

h1 {
    text-align: center;

    color: white;
}

.baseholder {
    background-color: #191919 !important;
    color: white;
}

#calculator-container {
    width: 450px;
    height: fit-content;
    padding: 20px;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.calcHeading {
    font-size: 1em !important;
    max-width: 500px;
    margin: 0 auto;
    padding: 5px;
}

.calcHeading h2 {
    font-weight: 600;
    font-size: 0.85em !important;
}

.input-field {
    margin-bottom: 20px;
}

label {
    font-family: 'poppins', sans-serif;
    display: block;
    font-size: 0.8em;
    margin-bottom: 8px;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid grey;
    background-color: #191919;
    color: white;
    border-radius: 4px;
}

.checkbox-container {
    display: flex;
    align-items: center;
}

input[type="checkbox"] {
    margin-right: 10px;
}

.button-container {
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.calc-button {
    width: 150px;
    padding: 10px;
    background-color: #1cad75;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    transition: 0.4s;
}

.calc-button:hover {
    transform: translateY(-5px);
}

#result {
    margin-top: 20px;
}

.result-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-card-header {
    font-weight: bold;
    margin-bottom: 8px;
}

.result-profit {
    color: #1cad75;
}

.arbCalcText {
    font-size: medium;
    padding-bottom: 50px;
    padding-top: 20px;
    text-align: center;
}

.resultCon {
    display: flex;
    flex-direction: column;
}

.resultConSep {
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.oddsTypeCon {
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.oddsTypeCon select {
    border-radius: 5px;
    color: white;
    background-color: var(--backColour);

}

.tooltip-wrapper {
    display: inline-block;
    position: relative;
    margin-left: 6px;
    color: var(--gold);
    cursor: pointer;
}

.tooltip-wrapper .tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: 220px;
    background-color: var(--backColour);
    color: #fff;
    text-align: left;
    padding: 8px 10px;
    border-radius: 4px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    /* above the icon */
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.2s ease;
    font-size: 0.85rem;
    line-height: 1.4;
    white-space: normal;
}

.tooltip-wrapper:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.top-information-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'poppins', sans-serif;
}

.top-information {
    text-align: center;
    max-width: 600px;
}

.button-container-selection {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.calc-button-selection {
    width: 35px;
    font-size: 2em;
    font-family: 'inter', sans-serif;
    border: none;
    color: white;
    outline: none;
    padding: 5px;
    background-color: var(--backColour);
    transition: 0.4s;
}

.calc-button-selection:hover {
    transform: translateY(-5px);
}

@media (max-width: 1000px) {
    #oddsType {
        font-size: 0.8em;
    }
}

@media (max-width: 770px) {
    .calc-button {
        width: 200px;
    }

    .software-banner-ad {
        width: 300px;
        height: auto !important;
    }

    #calculator-container {
        width: 300px;
    }

    #oddsType {
        height: 30px;
        font-size: 0.7em;
    }
}

@media (max-width: 600px) {
    .calc-body-container {
        gap: 5px;
    }

    .software-banner-ad {
        width: 200px;
        height: auto !important;
    }
}

@media (max-width: 500px) {
    .calc-body-container {
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .software-banner-ad {
        width: 300px;
        height: auto !important;
    }
}