﻿
.calculator-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 650px;
    margin-top: 140px;
    background-color: #c5cbcc;
}

h1 {
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="number"], select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #e3e6e6;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

    button:hover {
        background-color: #0056b3;
    }

#result {
    margin-top: 20px;
}

#fuelRequired {
    font-weight: bold;
    color: #28a745;
}

.fuel-tabs {
    display: flex;
}

.fuel-tab {
    width: 50%;
    height: 50px;
    text-align: center;
    padding: 0px;
    cursor: pointer;
    background-color: transparent;
    color: black;
}

    .fuel-tab > a:hover {
        background-color: rgba(55, 53, 184, 0.1);
        height: 49px;
    }

#accFuelButton {
    border-bottom-color: blue;
}
#lmuFuelButton {
    border-bottom-color: blue;
}

#accFuelButton.active {
    background-color: rgba(55, 53, 184, 0.2);
}
#lmuFuelButton.active {
    background-color: rgba(55, 53, 184, 0.2);
}

ul {
    margin-left: 0rem !important;
}

/* Base class colors with transparency */
.bronze-class td {
    background-color: rgba(205, 127, 50, 0.3) !important;
}

.silver-class td {
    background-color: rgba(160, 160, 160, 0.3) !important;
}

.gold-class td {
    background-color: rgb(230, 201, 28, 0.30) !important;
}

.platinum-class td {
    background-color: rgba(229, 255, 226, 0.3) !important;
}

/* Slightly darker for even rows to create subtle striping */
.bronze-class:nth-child(even) td {
    background-color: rgba(180, 100, 40, 0.3) !important;
}

.silver-class:nth-child(even) td {
    background-color: rgba(150, 150, 150, 0.3) !important;
}

.gold-class:nth-child(even) td {
    background-color: rgb(200, 196, 52, 0.30) !important;
}

.platinum-class:nth-child(even) td {
    background-color: rgba(200, 240, 200, 0.3) !important;
}

/* Optional: text color for better contrast */
.bronze-class td {
    color: #000;
}

.silver-class td {
    color: #000;
}

.gold-class td {
    color: #000;
}

.platinum-class td {
    color: #000;
}



#gridTable tr:hover {
    opacity: 0.85;
}


#gridBody select {
    width: auto;
    min-width: 180px;
    max-width: 250px;
    padding: 4px 8px;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 12px;
    appearance: none;
    cursor: pointer;
}

    #gridBody select:focus {
        outline: none; /* Remove default focus outline */
        border-color: #007bff; /* Highlight on focus */
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25); /* Subtle focus shadow */
    }

/* Optional: Custom arrow for select */
#gridBody select {
    background-size: 0.65em;
    background-position: calc(100% - 10px) center;
    background-repeat: no-repeat;
}

/* Adjust table cell padding if needed */
#gridBody td {
    padding: 8px; /* Standard padding */
    vertical-align: middle; /* Center content vertically */
}

#gridBody tr {
    cursor: grab; /* Default cursor when hovering over rows */
}

    #gridBody tr:active {
        cursor: grabbing; /* Cursor during active drag */
    }