/* === General Settings === */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

body {
    font-family: 'Orbitron', sans-serif;
    background-color: #0d0d0d;
    color: #e0e0e0;
    margin: 0;
    padding: 0 20px;
}

h1, h3 {
    text-align: center;
    color: #00fff7;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
}

/* === Containers === */
#inputs, #weightsContainer, #thresholdsContainer, #resultsContainer {
    background-color: #1a1a1a;
    border: 1px solid #00fff7;
    border-radius: 12px;
    padding: 15px;
    margin: 20px auto;
    max-width: 800px;
}

/* === Labels and Inputs === */
label {
    display: block;
    margin: 10px 0;
    font-weight: bold;
    color: #00d2ff;
}

input[type="number"] {
    background-color: #0d0d0d;
    color: #e0e0e0;
    border: 1px solid #00fff7;
    border-radius: 6px;
    padding: 5px 8px;
    width: 80px;
    transition: 0.2s;
}

input[type="number"]:focus {
    border-color: #ff00ff;
    outline: none;
}

/* === Buttons === */
button {
    background-color: #00fff7;
    color: #0d0d0d;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

button:hover {
    background-color: #ff00ff;
    color: #fff;
}

/* === Tables === */
table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 10px;
    text-align: center;
}

th, td {
    border: 1px solid #00fff7;
    padding: 8px;
}

th {
    background-color: #0f0f0f;
    color: #00fff7;
}

td {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

/* === Highlight Best Alternative === */
td.highlight, tr.highlight {
    background-color: #00ff99 !important;
    color: #000;
}

/* === Responsive === */
@media (max-width: 600px) {
    input[type="number"] {
        width: 60px;
    }

    h1 {
        font-size: 2rem;
    }
}
