@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #1E1E1E;
    color: #E0E0E0;
}

a {
    all: unset;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1E1E1E;
    color: #E0E0E0;
    border: 1px solid rgba(224, 224, 224, 0.4);
    padding: 20px;
    border-radius: 8px;
    z-index: 1000;
    width: 300px;
    text-align: center;
}

.modal-headline {
    font-size: 24px;
    font-weight: bold;
}

.modal-content {
    position: relative;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body.no-scroll {
    /*position: fixed; disable this for now to prevent the site from jumping all the way to the top*/
    /*overflow-y: scroll;*/
}

#wrapper {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

#result {
    border-bottom: 1px solid rgb(224, 224, 224, 0.2);
    border-top: 1px solid rgb(224, 224, 224, 0.2);
    background-color: #2E2E2E;
    position: sticky;
    padding: 10px;
    height: 75px;
    top: 0;
}

.display {
    width: auto !important;
    display: grid !important;
    grid-template-rows: 1fr 1fr;
}

.align-right {
    margin-left: auto !important;
}

.consume-all {
    height: 100%;
}

.grid-content {
    display: flex;
    align-items: center;
}

#headline {
    font-size: 50px;
    padding: 5px;
}

#regex {
    font-family: "Roboto Mono", monospace;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 24px;
}

.highlight-headline {
    color: white;
}

.configuration {
    padding: 10px;
    font-size: 20px;
}

.config-space {
    width: 200px;
}

.small-gap {
    gap: 5px;
}

.side-margin {
    margin: 0 10px;
}

.discord-icon:hover {
    color: white;
    cursor: pointer;
}

.header-sidebar {
    display: flex;
    font-size: 24px;
    margin-left: auto;
    align-items: center;
}

.github-icon:hover {
    color: white;
    cursor: pointer;
}

.config {
    display: flex;
    padding-bottom: 10px;
}

.custom-input {
    background: #2E2E2E;
    border-radius: 5px;
    margin: 10px 0px;
    font-size: 20px;
    border: none;
    color: white;
}

.space-evenly {
    justify-content: space-between;
}

.modal-content input:focus {
    outline: none;
}

.smart-input {
    margin: 0px 10px;
    width: 50px;
}

.flex {
    display: flex;
}

.vertical {
    flex-direction: column;
}

.split-view {
    display: flex;
    flex-direction: row;
}

.split-view-container {
    flex-direction: column;
    display: flex;
    width: 100%;
    padding: 5px;
    margin: 5px;
    gap: 5px;
}

.filter-header {
    display: flex;
    flex-direction: column;
    height: 70px;
}

.column-header {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.grid-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.mod-container {
    display: grid;
    gap: 3px;
}

.selectable {
    white-space: break-spaces;
    background: #2C2C2C;
    border-radius: 7px;
    padding: 5px;
}

.vaal {
    background: rgba(108, 35, 35, 0.3);
}

.t17 {
    background: #453d57;
}

.selectable:hover {
    background: #404040;
    cursor: pointer;
}

.selected-item {
    background: #007ACC !important;
}

.disabled-item {
    background: #1A1A1A !important;
}

.disabled-item:hover {
    cursor: default !important;
}

.disabled {
    position: relative;
    pointer-events: none;
    opacity: 0.5;
}

.disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.5);
    border-radius: 5px;
    z-index: 1;
    pointer-events: none;
}

.styled-button {
    background-color: #4A90E2;
    color: #FFF;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.styled-button:hover {
    background-color: #357ABD;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.styled-button:active {
    background-color: #2C5AA0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-button {
    background-color: #333333;
}

.header-button:hover {
    background-color: #4D4D4D;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.header-button:active {
    background-color: #1A1A1A;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.no-space {
    padding: 0px;
    margin: 0px;
}

.hidden {
    display: none;
}