html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #000;
    background: url('wl-remote-xterm.png') no-repeat center center fixed;
    background-size: cover;
    /* Prevents stretching/black bars */
    overflow: hidden;
}

#status-container {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    /* space between download button and status circle */
}

#terminal {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    z-index: 2;
    padding: 10px 0px 10px 10px;

    scrollbar-width: thin;
    scrollbar-color: #00ff00 #111;
}

/* Style the scrollbar for xterm.js terminal */
#terminal ::-webkit-scrollbar {
    width: 10px;
    background: #111;
}

#terminal ::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 8px;
    border: 2px solid #111;
}

#terminal ::-webkit-scrollbar-thumb:hover {
    background: #00ff00;
}

.status-green,
.status-red {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    vertical-align: middle;
}

.status-green {
    background: #00ff00;
    box-shadow: 0 0 8px #0f0;
}

.status-red {
    background: #ff3333;
    box-shadow: 0 0 8px #f00;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #222;
    color: #00FF00;
    padding: 10px;
    font-size: 18px;
    font-family: inherit;
    border: none;
    border-radius: 50%;
    /* makes the button round */
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s, color 0.2s;
    width: 16px;
    /* fixed width and height for round shape */
    height: 16px;
    gap: 0;
}

.download-btn:hover {
    background: #00FF00;
    color: #222;
}

.download-icon {
    display: inline-block;
    vertical-align: middle;
    color: currentColor;
    width: 20px;
    height: 20px;
}

#matrix {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1;
    /* Behind terminal */
    pointer-events: none;
    /* Allows interaction with terminal */
}