:root {
    --gray-95: #181818;
    --gray-94: #1a1a1a;
    --gray-93: #1c1c1c;
    --gray-90: #232323;
    --gray-85: #383838;
    --gray-50: #878787;

    --base-font-color: #9a9a9a;
    --font-active: #d2d2d2;

    --green-online: #7cc909;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.50);
}

body {
    height: 100vh;
    background-color: var(--gray-95);
    color: var(--base-font-color);
    font-family: Arial, serif;
    font-size: 13px;
}

code {
    font-family: "Courier New", serif;
}

.selectable{
    -webkit-touch-callout: all; /* iOS Safari */
    -webkit-user-select: all; /* Safari */
    -khtml-user-select: all; /* Konqueror HTML */
    -moz-user-select: all; /* Firefox */
    -ms-user-select: all; /* Internet Explorer/Edge */
    user-select: all; /* Chrome and Opera */
}

.container {
    display: flex;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
}

.right-pane {
    background-color: var(--gray-90);
}

.right-pane-container {
    display: flex;
    height: 100vh;
}

.right-pane-content {
    width: 270px;
    flex-grow: 1;
    border-left: 1px solid var(--gray-93);
}

.right-pane-tabs {
    width: 24px;
    border-left: 1px solid var(--gray-93);
}

.right-pane-tabs-container {
    display: flex;
    flex-direction: column;
}

.right-pane-tab {
    writing-mode: vertical-lr;
    padding: 10px 2px;
    line-height: 20px;
}

.right-pane-tab:hover {
    cursor: pointer;
    background-color: var(--gray-94);
}

.friends-container {
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
}

.friend-line {
    background-color: var(--gray-85);
    margin-bottom: 5px;
    border-radius: 3px;
    padding: 5px;
    display: flex;
    flex-direction: row;
}

.friend-line:hover {
    cursor: pointer;
}

.friend-line .status {
    color: var(--green-online);
    margin-left: 5px;
    margin-right: 10px;
}

.friend-line .user {
    flex-grow: 1;
}

.friend-line .actions {
    margin-left: 10px;
    margin-right: 5px;
    display: none;
}

.friend-line:hover .actions {
    display: block;
}

.friend-line .actions:hover {
    color: var(--font-active);
}

/** CONSOLE **/
.console {
    flex-grow: 1;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
}

.console .banner {
    font-size: 22px;
    font-family: Helvetica, serif;
    margin-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
}

.console .tabs {
    display: flex;
    border-bottom: 1px solid var(--gray-90);
    padding-left: 5px;
    padding-right: 5px;
}

.console .tabs .tab {
    border: 1px solid var(--gray-90);
    padding: 2px 5px;
    background-color: var(--gray-90);
    display: flex;
}

.console .tabs .tab .close {
    margin-left: 10px;
}

.console .tabs .add-tab {
    border: 1px solid transparent;
    padding: 2px 5px;
}

.console .tabs .tab:hover {
    background-color: var(--gray-95);
    cursor: pointer;
}

.console .tab-container {
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 5px;
    padding-right: 5px;
    width: 100%;
}

.console .line {
    display: flex;
    margin-bottom: 2px;
    border-top: 1px solid;
    border-right: 1px solid;
    border-bottom: 1px solid;
    border-color: transparent;
    overflow:hidden;
    border-radius: 3px;
}

.console .notification {
    line-height: 20px;
}

.console .icon {
    color: rgba(255, 255, 255, 0.90);
    margin-right: 5px;
    padding: 1px 5px;
    width: 23px;
    min-width: 23px;
    text-align: center;
}

.console .head {
    opacity: 0.6;
    display: flex;
    justify-content: space-between;
}

.console .head .date {
    margin-right: 5px;
    font-size: 10px;
    display: none;
}

.console .line:hover .date {
    display: block;
}

.console .input .icon {
    margin-right: 0;
}

.console .notification .content {
    flex-grow: 1;
}

.console .line.music {
    background-color: rgba(232, 88, 35, 0.16);
}

.console .line:hover.music {
    border-color: #e85823;
}

.console .music .icon {
    background-color: #e85823;
}

.console .notification.music .content {
    color: #df790d;
}

.console .line.chatroom {
    background-color: rgba(132, 82, 218, 0.16);
}

.console .line:hover.chatroom {
    border-color: #8452da;
}

.console .chatroom .icon {
    background-color: #8452da;
}

.console .line.chatroom .content {
    color: #a566e4;
}

.console .line.proxy {
    background-color: rgba(120, 143, 86, 0.16);
}

.console .line:hover.proxy {
    border-color: #788f56;
}

.console .proxy .icon {
    background-color: #788f56;
}

.console .notification.proxy .content {
    color: #91bd50;
}

.console .terminal .icon {
    background-color: #353535;
}

.console .line:hover.terminal {
    border-color: #353535;
}

.console .input .content {
    flex-grow: 1;
}

.console .input .head {
    padding-left: 5px;
    line-height: 20px;
}

.console .input .prompt {
    padding-left: 5px;
    line-height: 20px;
    color: white;
    outline: 0 solid transparent;
    display: block;
    word-break: break-all;
}

.console .input input[type=password].prompt {
    width: 100%;
    background-color: transparent;
    padding-left: 5px;
    line-height: 20px;
    color: white;
    outline: 0 solid transparent;
    border: 0;
    display: block;
    word-break: break-all;
}

.console .line .response {
    padding-left: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--gray-50);
    font-family: "Courier New", serif;
    position: relative;
}

.console .line .response.error {
    color: #ca3d3d;
}

.console .line .response pre {
    word-break: break-all;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.console .line .response .toolbar {
    opacity: 0;
    transition-duration: 0.5s;
    position: absolute;
    bottom: 2px;
    right: 5px;
}

.console .line .response .toolbar:hover {
    cursor: pointer;
}

.console .line .response:hover .toolbar {
    opacity: 1;
}
