@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');

:root {

    --ui-red: #B35963;

    --bdy: #FC6078;
    --bdy-bg: #503136;

    --tec: #A6A5F5;
    --tec-bg: #3C3B4D;

    --hwr: #B1AFB0;
    --hwr-bg: #4B494A;

    --matrix: #868686;
    --matrix-bg: #454344;

    --upgrades: #FFCF5C;
}

.orbitron {
    font-family: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    opacity: .9999999;
}

body {
    font-family: Orbitron;
    background-color: #000000;
    color: rgba(143, 255, 237, 0.85);
    margin: 0;
    padding: 20px;
    letter-spacing: 0.1em;
    min-height: 100vh;
}

.main-layout {
    display: flex;
    gap: 20px;
    height: calc(100vh - 40px);
    margin: 0 auto;
}

.matrix-sidebar {
    flex: 0 0 350px;
    background-color: #1d1d1d;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.container {
    flex: 1;
    background-color: #1d1d1d;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.right-sidebar {
    flex: 0 0 350px;
    background-color: #1d1d1d;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: rgba(143, 255, 237, 1);
    margin-bottom: 30px;
}

h2 {
    color: rgba(143, 255, 237, 0.85);
    font-size: 1.2em;
}

h3 {
    text-align: center;
    color: rgba(143, 255, 237, 0.85);
    margin-bottom: 20px;
}

.grid-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.column {
    flex: 1;
    padding: 10px;
    border-radius: 4px;
}

.left-column {
    flex: 1;
}

.center-column {
    flex: 1;
}

.weapon-column {
    flex: 1;
    background-color: rgba(143, 255, 237, 0.02);
    border: 1px solid rgba(143, 255, 237, 0.05);
    padding: 15px;
}

.weapons-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.row label {
    font-weight: bold;
    min-width: 100px;
}

select {
    padding: 8px;
    border-radius: 0.5px;
    border: 0.25em solid rgba(143, 255, 237, 0.7);
    flex-grow: 1;
    background-color: hsl(170, 25%, 20%);
    color: rgba(143, 255, 237, 0.85);
}

select option {
    color: rgba(143, 255, 237, 0.85) !important;
    /* Makes the text gray */
    background-color: hsl(170, 25%, 20%);
    /* Light background to visually distinguish it */
}

select option:first-child {
    color: rgba(143, 255, 237, 0.5) !important;
    opacity: 0.3;
}

.separator {
    border: 0;
    height: 0.5em;
    background: rgba(143, 255, 237, 0.65);
    margin: 30px 0;
}

.section-header {
    background-color: rgba(143, 255, 237, 0.25);
    border-left: 0.2em solid rgba(143, 255, 237, 0.1);
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.section-header h2 {
    margin: 0;
}

.flex {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.matrix-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2em;
    padding-bottom: 1em;
}

.node-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4em;
}

.matrix-arrows {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
}

.arrow-btn {
    width: 1.6em;
    height: 1.6em;
    font-size: 0.9em;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--matrix);
    background: var(--matrix-bg);
    color: var(--matrix);
}

.arrow-btn:hover {
    filter: brightness(120%);
}

.arrow-btn:disabled {
    opacity: 50%;
}

.arrow-btn:disabled:hover {
    filter: brightness(100%);
}

#tier-input {
    padding: 8px;
    border-radius: 0.5px;
    border: 0.25em solid rgba(143, 255, 237, 0.7);
    flex-grow: 1;
    background-color: hsl(170, 25%, 20%);
    color: rgba(143, 255, 237, 0.85);
}

.control-btn {
    border-style: solid;
    font-family: "Orbitron", sans-serif;
    width: 6rem;
    border-radius: 6px 2px 6px 2px;
}

.darker-text {
    font-weight: bolder;
    filter: brightness(80%)
}

.control-btn:hover {
    filter: brightness(120%);
}

#matrix-stats {
    display: flex;
    flex-direction: row;
    gap: 1em;
}

#matrix-node {
    border-style: solid;
    font-family: "Orbitron", sans-serif;
    font-size: 1em;
    width: 5.5rem;
    height: 5.5rem;
    font-size: 0.65em;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    display: inline-flex;
    border-color: var(--matrix);
    color: var(--hwr);
    background-color: var(--matrix-bg)
}

#stat-points {
    font-size: 2.7em;
    font-weight: bolder;
}

.stat-btn {
    border-style: solid;
    font-family: "Orbitron", sans-serif;
    font-size: 1em;
    width: 5rem;
    height: 5rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.5em;
    display: inline-flex;
    font-weight: bolder;
}

.stat-btn:hover {
    filter: brightness(120%);
}

.bdy {
    border-color: var(--bdy);
    color: var(--bdy);
    background-color: var(--bdy-bg);
}

.tec {
    border-color: var(--tec);
    color: var(--tec);
    background-color: var(--tec-bg);
}

.hwr {
    border-color: var(--hwr);
    color: var(--hwr);
    background-color: var(--hwr-bg);
}

.focus {
    color: var(--upgrades);
}

#matrix-graph {
    scale: 120%;
}

.matrix-segment {
    fill: none;
}

.matrix-segment.body {
    fill: var(--bdy);
}

.matrix-segment.tech {
    fill: var(--tec);
}

.matrix-segment.hardware {
    fill: var(--hwr);
}

option:disabled {
    color: rgba(143, 255, 237, 0.3) !important;
    background-color: hsl(168, 19%, 21%);
    font-style: italic;
    cursor: not-allowed;
}

select:disabled {
    background-color: hsl(170, 20%, 14%);
    color: rgba(143, 255, 237, 0.32);
    border-color: rgba(143, 255, 237, 0.12);
    opacity: 0.9;
    cursor: not-allowed;
}

select:disabled+.disabled-note {
    display: inline-block;
}

hr {
    border-color: rgba(143, 255, 237, 0.85);
}

.numberdispl {
    color: rgba(143, 255, 237, 0.5);
}