: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: #24273e;
    --surface-4: #1e2134;
    --error-text: #ff1f1f;
    --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;
}

.container {
    display: flex;
    justify-content: center;
    max-width: var(--container-max-width);
    width: 100%;
}

.main-container {
    padding-top: 5rem;
    padding-bottom: 2rem;
    justify-items: center;
    min-height: 500px;
    height: auto;
    width: 100%;
    max-width: 1200px;
    justify-self: center;
}

.topbar {
    display: flex;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    justify-content: center;
    background: color-mix(in srgb, var(--surface), transparent 35%);
    border-bottom: 1px solid color-mix(in srgb, var(--primary), transparent 85%);
    backdrop-filter: blur(var(--blur));
    z-index: 5000;
}

.topbar-container {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

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

.topbar-links {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.topbar-links a {
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.topbar-links a:hover {
    opacity: 1;
}

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

.button {
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.2s ease;
    font-weight: 800;
    display: flex;
    padding: 10px 20px;
    background: linear-gradient(90deg, var(--primary-2), var(--primary));
    border: 1px solid color-mix(in srgb, var(--primary), transparent 80%);
    border-radius: 10px;
    box-shadow: 0 10px 30px color-mix(in srgb, var(--primary), transparent 82%);
}

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

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

.text {
    padding: 0;
    margin: 0;
    margin-bottom: 1rem;
}

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

.box { 
    width: 100%;
    max-width: 500px;
    min-width: 300px;
    height: 315px;
    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;
}

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

.password-input {
    width: calc(100% - 41px);
}

.input:focus {
    outline: 0;
}

.button-1 {
    width: 20px;
    border: 0;
    background: 0;
    padding: 0;
    align-items: center;
    justify-items: center;
    cursor: pointer;
}

.text-1 {
    font-weight: 400;
    font-size: 15px;
}

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

.button1 {
    margin-top: 10px;
    width: 100%;
    justify-content: center;
}

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

.inline1 {
    margin-top: 30px;
    gap: 0;
}

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

.real-checkbox {
    display: none;
}

.checkbox {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--primary), transparent 80%);
    background-color: var(--surface-4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

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

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

.checkbox i {
    visibility: hidden;
    width: 10px;
    margin-top: 1px;
    height: 10px;
    text-align: center;
    font-size: 10px;
}

.inline:not(.inline1) .real-checkbox:checked + .checkbox {
  background-color: var(--primary);
}

.inline:not(.inline1) .real-checkbox:checked + .checkbox i {
    visibility: visible;
}

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

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

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

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

.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:not(.disabled-button):hover {
    transform: translateY(-2px);
}

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

.ignore {
    display: none;
}

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

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

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

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

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