:root {
    --black: #000000;
    --background-start: #0f111a;
    --background-end: #13162a;
    --text-primary: #ffffff;
    --text-secondary: #ffffff8e;
    --text-3: #ffffff76;
    --text-4: #ffffffd0;
    --container-max-width: 1200px;
    --primary: #8b9afc;
    --primary-2: #3f4fbb;
    --primary-3: #495bcd;
    --surface: #191b2b;
    --surface-2: #171928;
    --surface-3: #1d1f32;
    --surface-4: #1e2134;
    --blur: 14px;
    --edit: #3f4fbb;
    --delete: #23328f;
    --error-text: #ff1f1f;
    --loader: #818ee6;
}

::-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;
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    background-color: var(--black);
    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%;
}

.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);
}

.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;
}

.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;
    height: 95px;
}

.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: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;
}

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

.bubble-row p {
    height: fit-content;
    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;
}

.group {
    width: auto;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.button-group button, .button-group a {
    text-decoration: none;
    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:not(.disabled-button):hover, .button-group a:hover {
    transform: translateY(-2px);
}

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

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

.secondary-button {
    background: transparent;
    color: var(--loader);
    border: 1.5px solid var(--loader);
}

.disabled-button {
    border-color: var(--disabled);
}

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

.warning-button {
    border: 0;
    background: var(--delete);
}

.button-special {
    padding: 10px 15px;
    width: fit-content;
    border-radius: 10px;
    align-self: center;
    transition: transform 0.2s ease;
}

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

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

.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;
    max-height: 80%;
    overflow: 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%;
}

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

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

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

.field {
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
}

.field-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.field-error {
    margin: 0;
    color: var(--error-text);
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.1s ease;
}

.field-box {
    margin-top: 5px;
    width: calc(100% - 10px);
    height: 15px;
    padding: 5px;
    border-radius: 5px;
    background: var(--surface-4);
    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: row;
    gap: 5px;
    transition: all 0.2s ease;
}

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

.field-icon {
    color: var(--text-secondary);
}

.input {
    width: calc(100% - 10px);
    left: 18px;
    color: var(--text);
    background: 0;
    border: 0;
    padding: 0;
}

.input:focus {
    outline: 0;
}

.field-name {
    color: var(--text-secondary);
}

.text-1 {
    font-weight: 400;
    font-size: 15px;
    color: var(--text-secondary);
}

.inline {
    height: 20px;
    align-items: center;
    justify-content: space-between;
    display: flex;
    gap: 5px;
}

.ignore {
    display: none;
}

.user-button-group {
    justify-content: flex-end;
    width: 450px;
}

.overlay-subtitle {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin-top: 15px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.centered {
    flex-direction: column;
    margin-top: 10px;
    margin-bottom: 10px;
    justify-content: center;
}

.centered button {
    width: 100%;
}

.information-box {
    height: 524px;
    width: calc(50% - 1rem);
}

.information-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.information-list p {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.sub-title {
    font-weight: 600;
    font-size: 25px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.information-text {
    color: var(--text-4);
}

.information-title {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-primary);
    margin: 0;
    margin-top: 5px;
}

.important-info {
    color: transparent;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    background-clip: text;
}

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

.button-row {
    display: flex;
    margin-bottom: 15px;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.button-row button {
    width: fit-content;
    min-width: 150px;
    height: 40px;
}

.button-row p {
    width: fit-content;
}

.redeem {
    width: 35%;
    background: var(--surface-3);
    border: 1px solid color-mix(in srgb, var(--primary), transparent 50%);
    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;
    color: var(--text-4);
}

.redeem:focus {
    outline: 0;
}

.button2 {
    font-weight: 800;
    cursor: pointer;
    color: var(--primary);
    background: 0;
    border: 0;
    text-decoration: none;
}

.button2:hover {
    text-decoration: underline;
}

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

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
}

.row1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.stat-box {
    width: calc(100% - 30px);
}

.stat-grid {
    display: flex;
    flex-direction: column;
    width: calc(50% - 1rem);
    gap: 1rem;
}

.box-divider {
    width: 100%;
    align-self: center;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--primary), transparent 50%), transparent);
    margin-bottom: 10px;
    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;
}

.stat-text1 {
    width: fit-content;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-secondary);
}

#admin-tab {
    display: none;
}