:root {
    font-family: 'IBM Plex Mono', 'Consolas', 'Menlo', 'Monaco', 'Courier New', monospace;

    --line-height: 26px; /* 4px of spacing top and bottom */
    --base-font-size: 18px;

    --true-black: #000000;
    --true-white: #FFFFFF;
    --terminal-green-color: #23D72F;
    --terminal-purple-color: #7890EF;
    --terminal-yellow-color: #FFFF00;
    --terminal-magenta-color: #ad00af;
    --terminal-red-color: #EF1717;

    line-height: var(--line-height);
    font-size: var(--base-font-size);

}

body {
    margin: 0;
    font-family: 'IBM Plex Mono', 'Consolas', 'Menlo', 'Monaco', 'Courier New', monospace;
    background: var(--true-black);
    color: var(--true-white);
    display: flex;
    flex-direction: column;
    height: 100vh;
}

* {
    font-family: 'IBM Plex Mono', 'Consolas', 'Menlo', 'Monaco', 'Courier New', monospace;
}

header, footer {
    flex-shrink: 0;
    margin-left: 8px;
    margin-right: 8px;
}

main {
    flex: 1;
    /* overflow-y: auto; */
}

pre {
    padding: 0;
    margin: 0;
}

a {
    color: var(--true-white);
}

.index-title-container-desktop {
    margin-left: 2ch;
    margin-right: 2ch;
}

.index-title-container-mobile {
    display: none;
    margin-left: 2ch;
    margin-right: 2ch;
    overflow: hidden;
}

@media only screen and (max-width: 810px) {
    .index-title-container-desktop {
        display: none;
    }
    
    .index-title-container-mobile {
        display: block;
    }

    .index-title-text {
        font-size: 16px;
    }
}

@media only screen and (max-width: 810px) {
    .header-nav-links {
        font-size: 16px;
        display: grid !important;
    }
    
    .wrapping-links-mobile {
        display: flex;
        /* flex-wrap: wrap; */
        flex-direction: column;
        gap: 1ch;
        font-size: 17px;
        font-weight: bold;
        margin-top: 1rem;
    }

    .header-logo-text {
        font-size: 30px;
    }
}

.single-terminal-line {
    display: flex;
    align-items: center;
    gap: 2ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: hidden;
    line-height: var(--line-height);
    margin-bottom: 2px;
}

.single-terminal-line input {
    height: var(--line-height);
    border: none;
    padding-top: 0;
    padding-bottom: 0;
}

.single-terminal-line input[type="checkbox"] {
    margin: 0;
    height: calc(var(--line-height) - 4px);
    accent-color: var(--terminal-yellow-color);

}
    .single-terminal-line input[type="checkbox"]:hover {
        cursor: pointer;
    }

.single-terminal-line select {
    height: var(--line-height);
    border: none;
    padding-top: 0;
    padding-bottom: 0;
}
    .single-terminal-line select:hover {
        cursor: pointer;
    }

.single-terminal-line button {
    height: var(--line-height);
    min-width: 100px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 4px;
    padding-right: 4px;
    border: 0;
    box-shadow: inset 0 0 0 1px white;
}
    .single-terminal-line button:hover {
        cursor: pointer;
        box-shadow: inset 0 0 0 2px white;
    }
    
    .single-terminal-line button:disabled {
        cursor: not-allowed;
        opacity: 0.6;
    }

@media only screen and (max-width: 810px) {
    .single-terminal-line.wrap-text-mobile {
        white-space: revert;
    }
}

.double-terminal-line {
    display: flex;
    align-items: center;
    gap: 2ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: hidden;
    line-height: calc(var(--line-height) * 2);
}

.double-terminal-line button {
    height: calc(var(--line-height) * 2);
    font-size: var(--base-font-size);
    min-width: 300px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 4px;
    padding-right: 4px;
    border: 0;
    box-shadow: inset 0 0 0 1px white;
}
    .double-terminal-line button:hover {
        cursor: pointer;
        box-shadow: inset 0 0 0 4px white;
    }

.multi-terminal-line-company-image {
    display: flex;
    align-items: center;
    gap: 2ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: hidden;
    line-height: calc(var(--line-height) * 2);
    height: calc(var(--line-height) * 6);
}

.multi-terminal-line-company-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.multi-terminal-line-text {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}


.primary-cta {
    background-color: var(--terminal-green-color);
}

.secondary-cta {
    background-color: var(--terminal-yellow-color);
}

.warning-cta {
    background-color: var(--terminal-red-color);
}

.neutral-cta {
    background-color: var(--terminal-purple-color);
}

.important-cta {
    background-color: var(--terminal-magenta-color);
}

.important-field-label {
    color: var(--terminal-magenta-color);
}

.money-field-label {
    color: var(--terminal-green-color);
}

.caution-field-label {
    color: var(--terminal-yellow-color);
}

.full-width-button {
    min-width: 100px;
    width: 100%;
    height: var(--line-height);
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 4px;
    padding-right: 4px;
    border: 0;
    box-shadow: inset 0 0 0 1px white;
}

    .full-width-button:hover {
        cursor: pointer;
        box-shadow: inset 0 0 0 2px white;
    }

/* ================================================================================================================== */
/* Global */
/* ================================================================================================================== */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    color: var(--terminal-purple-color);
}

.left-right-margin {
    margin-left: 8px;
    margin-right: 8px;
}

.left-right-margin-1-rem {
    margin-left: 1rem;
    margin-right: 1rem;
}

.flex-display {
    display: flex;
}

.centered {
    align-items: center;
    justify-content: center;
}

.align-right {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.flex-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.hyperlink {
    text-decoration: underline;
}
    .hyperlink:hover {
        cursor: pointer;
        color: var(--terminal-green-color);
    }

.simple-hyperlink {
    /* text-decoration: underline; */
}
    .simple-hyperlink:hover {
        cursor: pointer;
        /* transform: scale(1.003); */
        color: var(--terminal-green-color);
        opacity: 1;
    }

.border-top {
    border-top: 1px solid var(--terminal-green-color);
}

.border-bottom {
    border-bottom: 1px solid var(--terminal-green-color);
}

.border-left {
    border-left: 1px solid var(--terminal-green-color);
}

.border-right {
    border-right: 1px solid var(--terminal-green-color);
}

.tabbed {
    padding-left: 15px;
}

.underline {
    border-bottom: 1ch solid white;
}

.overflow-ellipsis {
    text-overflow: ellipsis;
}

.validation-message {
    color: var(--terminal-red-color);
    display: inline;
}

.big-input {
    width: 100%;
    height: calc(var(--line-height) * 4); /* or however many lines you want */
    resize: vertical;
    border: none;
    /* font-family: inherit; */
    padding: 4px;
    /* box-sizing: border-box; */
}

.min-width-100 {
    min-width: 100ch;
}

.opaque {
    opacity: 0.2;
}

.hide-above-1076px {
    display: none;
}

@media only screen and (max-width: 1076px) {
    .hide-above-1076px {
        display: revert !important;
    }
}

.pad-top-25px {
    padding-top: 25px;
}

.hide-overflow {
    overflow: hidden;
}

.standard-left-right-margin {
    margin-left: 2ch;
    margin-right: 2ch;
}

/* ================================================================================================================== */
/* Job Postings page */
/* ================================================================================================================== */
.divided-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.divided-sidebar {
    max-width: 35vw;
    border-right: 1px solid var(--terminal-green-color);
    padding: 1rem;
}

.divided-sidebar input,
.divided-sidebar select {
    width: 100%;
}

.divided-main {
    flex-grow: 1;
    /* padding: 1rem; */
    margin-left: 2ch;
    margin-right: 2ch;
    overflow-x: auto;
}

.hide-job-postings-filter-button {
    display: none;
}

.job-previews-header {
    font-size: clamp(1px, 0.8vw, 18px);
}

.job-previews {
    font-size: clamp(1px, 0.8vw, 18px);
}

@media only screen and (max-width: 1076px) {
    .divided-container {
        display: grid;
        height: revert;
    }

    .divided-sidebar {
        max-width: revert;
        border-right: none;
        border-bottom: 1px solid var(--terminal-green-color);
    }

    .hide-filter {
        display: none;
    }

    .hide-job-postings-filter-button {
        display: inline-block;
        margin-left: 2ch;
        margin-right: 2ch;
        height: 46px;
    }

    .job-previews-header {
        display: none !important;
    }

    .single-terminal-line.job-previews {
        gap: 0;
    }

    .job-previews {
        flex-direction: column;
        font-size: var(--base-font-size);
        pointer-events: none; /* sudo-disable div onclick behavior used for desktop layout */
        cursor: default;
        align-items: revert !important;
    }

    .job-previews span {
        display: block;
        text-align: left !important;
        white-space: normal !important;
        overflow: visible;
    }

    .job-previews span[data-label]::before {
        content: attr(data-label) ": ";
        color: var(--terminal-purple-color);
    }

    .mobile-view-job-button {
        width: 100%;
        height: 46px;
        /* font-size: revert !important; */
        font-size: 17px;
        font-weight: bold;
        pointer-events: all; /* override div onclick disable */
    }
}

.divided-half {
    width: 49%;
    flex-shrink: 0;
}

.shift-right-25 {
    /* display: inline-block;
    transform: translateX(25%); */
    margin-left: 25%;
}

.even-spacing {
    display: flex;
    align-items: center;
}

.even-spacing > span {
    flex: 1;
    text-align: left; /* or center/right if needed */
    overflow: hidden;
    white-space: nowrap;
}

.even-spacing > .expand {
    flex-grow: 2;
}

.even-spacing > .shrink {
    flex-grow: 0.75;
}

    .even-spacing > .shrink button {
        min-width: 0px !important;
        font-size: clamp(1px, 0.8vw, 13.33px);
    }

.even-spacing > .centered {
    text-align: center;
}

/* ================================================================================================================== */
/* Full job posting display */
/* ================================================================================================================== */
.dotted-justify {
    display: flex;
    justify-content: space-between;
    /* align-items: baseline; */
}

.dotted-justify > :nth-child(1) {
    flex-shrink: 0;
}

.dotted-justify > :nth-child(2) {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
}

.dotted-justify > :nth-child(3) {
    flex-shrink: 0;
    min-width: 100ch;
    text-align: left;
}

.dotted-justify.min-width-350px > :nth-child(3) {
    min-width: 350px;
}

.dotted-justify.min-width-450px > :nth-child(3) {
    min-width: 450px;
}

.dotted-justify.min-width-518px > :nth-child(3) { /* this perfectly matches the width of the credit card element */
    min-width: 518px;
}

.dotted-justify.min-width-exempt > :nth-child(3) {
    min-width: 0;
}

@media only screen and (max-width: 810px) {
    .dotted-justify {
        display: block !important;
    }

    .dotted-justify > * {
        min-width: 0 !important;
        white-space: normal !important;
        overflow: visible !important;
    }
 
    .dotted-justify > :nth-child(1) {
        color: var(--terminal-purple-color) !important;
        font-weight: bold;
    }

    .dotted-justify > :nth-child(1)::after {
        content: ": ";
    }

    .dotted-justify > :nth-child(2) {
        display: none !important;
    }

    .dotted-justify > .money-field-label {
        color: var(--terminal-green-color); /* keep color if desired */
    }

    .dotted-justify > .important-field-label {
        color: var(--terminal-magenta-color);
    }
}


/* ================================================================================================================== */
/* Typeahead input component (post a job) */
/* ================================================================================================================== */
.dotted-justify:has(.typeahead-list) {
    position: relative;
    text-overflow: revert;
    overflow: revert;
}

.dotted-justify .typeahead-list {
    position: absolute;
    top: 8px;
    right: 0;
    background-color: var(--true-black);
    border: 1px solid #ccc;
    padding: 0;
    list-style: none;

    /* this is a perfect ratio to the actual font size for squished inputs. Scales with size too, pretyy coooool, man*/
    font-size: calc(var(--base-font-size) * 0.743);
    min-width: 100ch;
}

.typeahead-list-item {
    cursor: pointer;
}

.typeahead-list-item:hover {
    color: var(--terminal-green-color);
}


/* ================================================================================================================== */
/* Typeahead input component (job posting search) */
/* ================================================================================================================== */
.divided-sidebar .single-terminal-line:has(.typeahead-list) {
    position: relative;
    text-overflow: revert;
    overflow: revert;
}

.divided-sidebar .single-terminal-line .typeahead-list {
    position: absolute;
    top: 8px;
    left: 0;
    background-color: var(--true-black);
    border: 1px solid #ccc;
    padding: 0;
    list-style: none;
    font-size: calc(var(--base-font-size) * 0.743);
}


/* ================================================================================================================== */
/* Applicant resume image upload component */
/* ================================================================================================================== */

.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.image-upload-box {
    width: 250px;
    height: 500px;
    border: 1px dashed var(--terminal-green-color);
    color: var(--terminal-green-color);

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
    .image-upload-box:hover {
        cursor: pointer;
        border-style: solid;
    }

.image-preview-box {
    width: auto;
    height: 500px;
    z-index: 2;
}

.image-preview {
    width: 363px;
    height: 470px;
    transform-origin: top left;
    transition: transform 0.1s;
}
    .image-preview:hover {
        transform: scale(2);
        border: 1px solid var(--terminal-green-color);
    }

.hidden-file-input {
    display: none;
}

@media only screen and (max-width: 1076px) {
    .image-preview-box {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}


/* ================================================================================================================== */
/* Stripe payment elements */
/* ================================================================================================================== */
.stripe-card-element {
    background-color: var(--true-white) !important;
    width: 480px;
    padding: none !important;
}

.special-stripe-bullshit {
    display: flex;
    align-items: center;
}

.special-stripe-bullshit > :nth-child(1) {
    flex-shrink: 0;
    margin-right: 0.5ch;
}

.special-stripe-bullshit > :nth-child(2) {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
}

.special-stripe-bullshit > :nth-child(3) {
    flex-shrink: 0;
    margin-right: 42px;
}

@media only screen and (max-width: 810px) {
    .stripe-card-element {
        width: 100%;
    }

    .special-stripe-bullshit {
        display: block !important;
    }

    .special-stripe-bullshit > * {
        min-width: 0 !important;
        white-space: normal !important;
        overflow: visible !important;
    }
 
    .special-stripe-bullshit > :nth-child(1) {
        color: var(--terminal-purple-color) !important;
        font-weight: bold;
    }

    .special-stripe-bullshit > :nth-child(1)::after {
        content: ": ";
    }

    .special-stripe-bullshit > :nth-child(2) {
        display: none !important;
    }

    .special-stripe-bullshity > .money-field-label {
        color: var(--terminal-green-color); /* keep color if desired */
    }

    .special-stripe-bullshit > .important-field-label {
        color: var(--terminal-magenta-color);
    }
}

/*
    EXPERIMENTAL
*/
.tooltip-trigger {
    color: var(--terminal-magenta-color);
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.hidden-tooltip {
    display: none;
    position: absolute;
    /* top: 1.5em; */
    left: 0;
    border: 1px solid var(--terminal-green-color);
    background-color: var(--true-black);
    padding: 0.5rem;
    z-index: 3;
}

.tooltip-trigger:hover .hidden-tooltip {
    display: block;
}

.container {
    display: flex;
    overflow-x: hidden;
    margin-left: 1rem;
    margin-right: 1rem;
}

.widget1 {
    width: 60%;
}

.widget2 {
    width: 40%;
    border-left: 1px solid var(--terminal-green-color);
    margin-left: 2ch;
    padding-left: 2ch;
}

@media only screen and (max-width: 1740px) {
    .container {
        /* display: block; */
        display: flex;
        flex-direction: column-reverse;
    }
    .widget1 {
        width: revert;
    }

    .widget2 {
        width: revert;
        border: none;
        padding-left: 0;
        margin-left: 0;
    }
}

.index-hero-image {
    display: block;
    width: calc(100% - 4ch);
    /* padding-left: 2%;
    padding-right: 2%; */
    margin-left: 2ch;
    margin-right: 2ch;
    height: auto;
    image-rendering: pixelated; /* makes mono glyphs crisper when scaled */
}

.index-main-cta-gif-container {

}

.index-main-cta-gif {
    display: block;
    width: 25%;
    height: auto;
    image-rendering: pixelated;
}
    .index-main-cta-gif:hover {
        cursor: pointer;
    }

@media only screen and (max-width: 600px) {
    .index-main-cta-gif-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .index-main-cta-gif {
        width: 100%;
        margin-left: 2ch;
        margin-right: 2ch;
    }
}

.index-ascii-text-wrapper {
    transform: scale(0.8);
    transform-origin: top left;
}

.index-ascii-text {
    font-family: monospace;
    font-size: 20px;
}

@media only screen and (max-width: 600px) {
    .index-ascii-text-wrapper {
        transform: scale(0.15);
        margin-bottom: -150px;
    }
}


/* ================================================================================================================== */
/* Job Application Decision Component */
/* ================================================================================================================== */
.skibbity-wrapper {
    display: flex;
    /* width: 100%;
    height: 100%; */
    margin-left: 2ch;
    margin-right: 2ch;
}

.skibbity-left {
    display: flex;
    align-items: center;
}

.skibbity-right {
    /* display: revert; */
    width: 100%;
    padding-left: 2ch;
}

.status-option-wrapper {
    display: flex;
    gap: 2ch;
}

.status-option {
    /* all: unset; */
}
    .status-option:hover {
        cursor: pointer;
        color: var(--terminal-magenta-color);
    }

@media only screen and (max-width: 1076px) {
    .skibbity-wrapper {
        /* display: revert; */
        flex-direction: column;
        width: revert;
        height: revert;
        margin: revert;
        padding: revert;
    }

    .skibbity-right {
        padding-left: revert;
        margin-top: 2ch;
    }
}


/* ================================================================================================================== */
/* Paginator */
/* ================================================================================================================== */
.paginator-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: none;
    margin-left: 0;
    margin-right: 0;
    margin-top: 1ch;
}

.paginator-container {
    gap: 2ch;
    display: flex;
}

.paginator-button {
    all: unset;
}
    .paginator-button:hover {
        cursor: pointer;
        color: var(--terminal-magenta-color);
    }

.paginator-button.active {
    color: var(--terminal-green-color);
}

.paginator-arrow-button {
    all: unset;
}
    .paginator-arrow-button:hover {
        cursor: pointer;
        color: var(--terminal-magenta-color);
    }