:root {
    --black: #000000;
    --background-start: #0f111a;
    --background-end: #13162a;
    --text-primary: #ffffff;
    --text-secondary: #ffffff8e;
    --text-3: #ffffff76;
    --container-max-width: 1200px;
    --primary: #8b9afc;
    --primary-2: #3f4fbb;
    --surface: #191b2b;
    --surface-2: #171928;
    --surface-3: #1d1f32;
    --surface-4: #1e2134;
    --blur: 14px;
    --edit: #3f4fbb;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--black);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-3);
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    background-color: var(--black);
}

body {
    -ms-overflow-style: none;
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Inter, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background: linear-gradient(180deg, var(--background-start), var(--background-end));
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100dvh;
    flex-direction: row;
}

.content {
    display: flex;
    flex-direction: row;
}

.main {
    margin-top: 1rem;
    width: calc(100vw - 230px);
    height: auto;
    padding-bottom: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.container {
    width: 100%;
}

.loading-divider {
    width: 100%;
    align-self: center;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--primary), transparent 50%) 50%, transparent 100%);
    margin: 0;
}

.text {
    padding: 0;
    margin: 0;
}

.body {
    font-weight: 400;
    font-size: 100%;
    color: var(--text-secondary);
    margin: 0;
}

.body1 {
    font-weight: 500;
    font-size: 12px;
    color: var(--text-3);
}

.sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: sticky;
    top: 0;
    left: 0;
    width: 180px;
    height: calc(100vh - 40px);
    align-items: start;
    padding: 20px;
    background: color-mix(in srgb, var(--surface), transparent 35%);
    border-right: 1px solid color-mix(in srgb, var(--primary), transparent 85%);
    backdrop-filter: blur(var(--blur));
    z-index: 5000;
}

.group0 {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.home-button {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.home-button img {
    width: 35px;
    height: 35px;
    border-radius: 10px;
}

.home-button span {
    color: var(--text-primary);
}

.home-button:hover {
    transform: translateY(-2px);
}

.home-button:active {
    transform: scale(95%);
    transition: transform 0.05s ease;
}

.divider {
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
    height: 1px;
    background: color-mix(in srgb, var(--primary), transparent 80%);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.sidebar-links a, .sidebar-links button {
    display: block;
    box-sizing: content-box;
    text-decoration: none;
    color: var(--text-secondary);
    border-radius: 10px;
    width: calc(100% - 20px);
    height: 25px;
    padding: 10px;
    transition: transform 0.2s ease;
    font-weight: 400;
    font-size: 16px;
    text-align: left;
}

.sidebar-links a:not(.sidebar-selected), .sidebar-links button:not(.sidebar-selected) {
    border: 1px solid transparent;
    background: 0;
}

.sidebar-links a:hover, .sidebar-links button:hover {
    transform: translateX(5px);
}

.sidebar-links a:not(.sidebar-selected):hover, .sidebar-links button:not(.sidebar-selected):hover {
    border: 1px solid color-mix(in srgb, var(--primary), transparent 80%);
}

.sidebar-links a:active, .sidebar-links button:active {
    transform: scale(95%);
    transition: transform 0.05s ease;
}

.sidebar-selected {
    border: 1px solid color-mix(in srgb, var(--primary), transparent 70%);
    background-color: var(--surface-3);
}

.box {
    padding: 15px;
    border-radius: 15px;
    background: var(--surface);
    border: 1px solid color-mix(in srgb, var(--primary), transparent 80%);
    box-shadow: 0 30px 50px color-mix(in srgb, var(--black), transparent 70%);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.stats-grid {
    display: grid;
    flex-direction: row;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    justify-content: space-between;
    width: 100%;
}

.box { 
    height: 120px;
}

.box:hover {
    transform: translateY(-5px);
}

.box-top {
    display: flex;
    flex-direction: row;
    height: 30px;
    gap: 10px;
    align-items: baseline;
}

.box-icon {
    width: 35px;
    height: 35px;
    text-align: center;
    align-content: center;
    background-color: var(--surface-3);
    border: 1px solid color-mix(in srgb, var(--primary), transparent 70%);
    border-radius: 10px;
}

.box-divider {
    width: 100%;
    align-self: center;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--primary), transparent 50%), transparent);
    margin-bottom: 5px;
    margin-top: 15px;
}

.box-title {
    font-weight: 700;
    font-size: 15px;
}

.stat-text {
    width: fit-content;
    font-size: 20px;
    font-weight: 1000;
    margin-bottom: 5px;
    color: transparent;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    background-clip: text;
}

.overlay-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: color-mix(in srgb, var(--surface), transparent 35%);
    backdrop-filter: blur(2px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    width: 450px;
    height: auto;
    padding: 15px;
    background: color-mix(in srgb, var(--surface), transparent 35%);
    backdrop-filter: blur(var(--blur));
    border: 1px solid color-mix(in srgb, var(--primary), transparent 80%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}

.overlay-title {
    display: flex;
    flex-direction: column;
    width: 60%;
}

.keep-at-top {
    align-self: flex-start;
}

.loading-title {
    align-items: center;
    width: 100%;
}

.overlay-title h1 {
    font-weight: 800;
    font-size: 25px;
}

.ignore {
    display: none;
}

.bubble-row {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.bubble-row p {
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    border: 1px solid color-mix(in srgb, var(--primary), transparent 80%);
    border-radius: 20px;
    margin: 0;
}

.executions-box {
    width: calc(100% - 30px);
    height: auto;
}

.execution-graph {
    margin-top: 1rem;
    height: 300px;
}

.executor-box {
    width: calc(100% - 30px);
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.executor-key {
    height: 100%;
}

.executor-row {
    height: 200px;
    width: 100%;
    display: flex;
    flex-direction: row;
}

#admin-tab {
    display: none;
}

.primary-button {
    border: 0;
    background: var(--edit);
}

.button-group button {
    font-weight: 500;
    font-size: 15px;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 10px 25px color-mix(in srgb, var(--black), transparent 70%);
    transition: transform 0.2s ease;
}

.button-group button:hover {
    transform: translateY(-2px);
}

.button-group button:active {
    transform: scale(95%);
    transition: transform 0.05s ease;
}

.seperate-group {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.banner {
    display: none;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
}

.banner-text {
    display: none;
    height: 25px;
    width: calc((80% - 25px) * tan(25deg));
    text-align: center;
    background: var(--primary-2);
    color: white;
    transform: rotate(25deg);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    padding: 10px 5px;
    box-shadow: 0 2px 5px color-mix(in srgb, var(--black), transparent 70%);
    border-radius: 10px;
    justify-content: center;
}

#banner {
    height: 300px;
}

#banner1 {
    height: 200px;
}

.graph-info {
    pointer-events: none;
    opacity: 0;
    height: fit-content;
    width: fit-content;
    position: absolute;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.graph-regular::after {
    content: '';
    position: absolute;
    top: calc(50% - 10px);
    left: -20px;
    margin-left: 0;
    border-width: 10px;
    border-style: solid;
    border-color: transparent rgba(0, 0, 0, 0.35) transparent transparent;
}

.graph-flipped::after {
    content: '';
    position: absolute;
    top: calc(50% - 10px);
    right: -20px;
    margin-left: 0;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.35);
}

.graph-header {
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 0;
    margin-top: 0;
    color: var(--text-primary);
}

.graph-regular .graph-header {
    margin-left: 5px;
    margin-right: 10px;
}

.graph-flipped .graph-header {
    align-self: flex-end;
    text-align: right;
    margin-right: 5px;
    margin-left: 10px;
}

.graph-text {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 10px;
    margin-top: 0px;
    margin-bottom: 0;
}

.graph-regular .graph-text {
    margin-left: 5px;
    margin-right: 10px;
}

.graph-flipped .graph-text {
    align-self: flex-end;
    text-align: right;
    margin-left: 10px;
    margin-right: 5px;
}

.graph-divider  {
    width: 95%;
    padding-top: 1px;
    border-radius: 12px;
}

.graph-regular .graph-divider  {
    margin-left: 2px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--primary), transparent 50%), transparent);
}

.graph-flipped .graph-divider {
    align-self: flex-end;
    margin-right: 2px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary), transparent 50%));
}