/*
 *  Terminal Entry
 *  A classic, retro-futuristic hacker theme inspired by old operating systems and monochrome CRT monitors.
 */

/* Keyframe Animations */
@keyframes blink-caret {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Body and base background */
body {
    background-color: #051005;
    color: #00FF41;
    position: relative;
}

/* CRT Scanline Overlay */
main::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5) 1px,
            transparent 1px,
            transparent 2px);
    pointer-events: none;
}

#startscreen {
    background-color: #0A0A0A;
    border: 1px solid #00FF41;
}

/* Header and navigation background */
header,
#fixednav {
    font-family: 'Lucida Console', 'Andale Mono', 'Courier New', monospace;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
    background-color: #0A0A0A;
    border-bottom: 2px solid #00FF41;
}

/* Heading styles */
.heading {
    font-family: 'Lucida Console', 'Andale Mono', 'Courier New', monospace;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
    padding-bottom: 1.3em;
    position: relative;
    display: inline-block;
}

.heading::after {
    content: "_";
    font-weight: bold;
    animation: blink-caret 1s step-end infinite;
    margin-left: 10px;
}


/* Request list item backgrounds */
.requestlist>li.rqli {
    background-color: transparent;
    border-bottom: 1px dashed rgba(0, 255, 65, 0.2);
    padding: 8px 0;
}

/* Add a command prompt ">" before each list item */
.requestlist>li.rqli .liwrap .atext h2 {
    position: relative;
    padding-left: 0.8em;
}

.requestlist>li.rqli .liwrap .atext h2::before {
    content: ">";
    position: absolute;
    left: 0;
    top: 0;
}

.requestlist>li.rqli:nth-child(odd) {
    background-color: transparent;
}

.requestlist>li.requestoutgoing.visible_request,
.requestlist>li.requestlocal.visible_request {

    background-color: rgba(0, 255, 65, 0.05);
}

.liwrap {
    font-family: 'Lucida Console', 'Andale Mono', 'Courier New', monospace;
    color: #00FF41;
}

.render .liwrap p {
    color: #FFF;
}

/* Link and interactive element colors */
#dialogbody h2:before,
#toseed,
#actions div,
#dialog .customtrigger,
#canceldialog,
#backupcd,
#backupactions .util_icon,
.linkcolor,
.selectarrows,
.qrscanner,
.ref {
    color: #009788;
    text-decoration: underline;
}

.button,
.alias {
    font-family: 'Lucida Console', 'Andale Mono', 'Courier New', monospace;
    background-color: #00FF41;
    color: #051005;
    border: none;
    text-shadow: none;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
    border-radius: inherit;
    text-transform: uppercase;
}

.alias {
    color: rgba(255, 255, 255, 0);
}

/* Icon Filter */
.currencylist .cmc_icon {
    filter: grayscale(1) brightness(0.5) sepia(1) hue-rotate(55deg) saturate(20);
}