.download-button {
    color: #0F2D50;         /* Blue color for a link-like appearance */
    text-decoration: underline;
    cursor: pointer;        /* Shows a pointer cursor to indicate it's clickable */
    margin: 0;              /* Remove any default margins */
    padding: 0;  
    text-align:center;
    font-weight:600;
    margin-bottom:25px;
}

.download-button:hover {
    color: #0056b3;         /* Darker blue on hover */
}






/* Remove internal borders for all cells in .formula-table */
.formula-table th,
.formula-table td {
    border-bottom:1px solid #bbbbbb;
}

/* Add a 1px solid black border under the header cells */
.formula-table thead th {
    border-bottom: 1px solid black;
}




.countryfilter{padding:10px;border-radius: 8px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #333;
    color: #000000;
    display: block !important;
    width: 200px;
    font-size: 16px;
    margin-bottom: 10px;}


/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .updated-table thead th {
        font-size: 12px;
        padding: 8px 10px;
    }

    .updated-table tbody td {
        font-size: 12px;
        padding: 8px 10px;
        
    }
.fuel-table {        display: block;
        overflow-x: auto;}
    
}

/* General container styling */
.calculator-main-container {
    margin: 0 auto;
    padding: 0px;
    font-family: Arial, sans-serif;
    margin-left:20px;
}

/* Calculator Container Styling */
.calculator-container {
    background-color: #333;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        margin-right: 20px;
}

.calculator-title {
    display: block;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: left;
    color: #ffffff;
}

.calc-input-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.calc-input-group {
    flex: 1 1 calc(33.33% - 20px);
    margin: 10px;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    padding-top: 10px;
    border-radius: 5px;
    padding-left: 10px;
    font-size:16px;
}

.calc-input-group label {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 600;
    color: #3d3d3d;
    text-align: center;
    /* padding-right: 10px; */
    border-bottom: 1px solid gray;
    margin-right: 10px;
}

.calc-input-group input,
.calc-input-group select {
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 16px;
    text-align: center; /* Center text in inputs */
}

/* Power Factor on the same row */
.input-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.result {
    margin-top: 15px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #fff1b3;
}

/* Two Column Layout Styling */
.two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.two-column-item {
    background-color: #333;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.two-column-item .calculator-title {
    margin-bottom: 10px;
}

.note {
    font-size: 12px;
    color: #ccc;
    margin-top: 10px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .input-group {
        flex: 1 1 100%;
    }

    .two-column {
        grid-template-columns: 1fr;
    }
}

/* Additional Styling for Power Factor Adjustment */
.input-container .input-group:last-child {
    flex: 1 1 calc(25% - 10px); /* Adjust width for Power Factor */
    margin: 10px;
}
/* Base styling for .formula-table */
.formula-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    display: block;
    max-width: 100%;
}

@media (max-width: 768px) {
    .formula-table {
        overflow-x: auto;
        width: 90%;
        display: block;
        margin:0 auto;
    }
}
  border: 1px;       /* outer border only */
}

/* Remove internal cell borders */
.formula-table th,
.formula-table td {
}

/* Global text alignment: center for all cells */
.formula-table th,
.formula-table td {
  text-align: center;
}

/* First column: left-aligned, all caps, and bold (no background color) */
.formula-table th:first-child,
.formula-table td:first-child {
  text-align: left;
  text-transform: uppercase;
  font-weight: bold;
}

/* Header Row: Continuous Gradient */
.formula-table thead {
  position: relative;
}

.formula-table thead::before {

}

.formula-table thead th {

}

/* Table Body Cells */
.formula-table tbody td {
  padding: 12px 15px;
}

/* Alternating Row Colors */
.formula-table tbody tr:nth-child(odd) {
  background-color: #fff;
}
.formula-table tbody tr:nth-child(even) {
  background-color: #f7f7f7;
}

/* Footer Styling (if a <tfoot> is present) */
.formula-table tfoot {
  position: relative;
}

.formula-table tfoot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #0F2D50, #C8CED4);
  z-index: 0;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

.formula-table tfoot td {
  position: relative;
  z-index: 1;
  padding: 12px 15px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}


/* ---------------------- */
/* Tab Styling            */
/* ---------------------- */
.tabs-container {
    margin-bottom: 20px;
        text-align: center;
}



.tab-content {
    margin-top: 20px;
}

.tab-content.active {
    display: block;
}

.diesel-table, .gas-table {
    display: none;
}

.diesel-table.active, .gas-table.active {
    display: block;
}
  #gas {
    display: none; /* Initially hide the gas table */
  }
/* ---------------------- */
/* Table Styling          */
/* ---------------------- */
.fuel-filter-container {
    margin-bottom: 20px;
}

#capacityFilter {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #333;
    color: #000000;
    width: 186px;
    font-size: 16px;
}

.fuel-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    text-align: center;
}

.fuel-table thead th {
    padding: 15px;
    border-bottom: 1px solid black;
    font-weight: bold;
    color: #000;
    background-color: transparent;
}

.fuel-table tbody td {
    padding: 15px;
    border-bottom: 1px solid #bbbbbb;
    font-weight: normal;
    font-size: 15px;
}

.fuel-table tbody td:first-child {
    background-color: #333;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.fuel-table tbody tr:nth-child(odd) {
    background-color: #fff;
}

.fuel-table tbody tr:nth-child(even) {
    background-color: #f7f7f7;
}


/* Style for the view inventory link */
.view-inventory {
  color: #EDCE3E;
  text-decoration: none;
  font-weight: normal;
}
.fuel-table,
.fuel-table th,
.fuel-table td {
  text-align: center;
}

.download-button {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    background-color: #0f2d50;
    color: #ffffff;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 5px;
    transition: background 0.3s;
    margin-bottom: 10px;
}

.download-button:hover {
    background-color: #0c2240;
}

