:root {
    /* Minimal Black Color Palette */
    --background-color: #000000;
    --background-strong-color: #000000;
    --primary-text-color: white;
    --secondary-text-color: #cccccc;
    --hover-color: #1a1a1a;
    --primary-container-color: #111111;
    --secondary-container-color: #000000;

    --primary-button-color: #000000;
    --secondary-button-color: #b99400;
    --primary-button-hover-color: #333333;
    --secondary-button-hover-color: #ffcc00;
    --primary-button-border-hover-color: #ffffff;
    --secondary-button-border-hover-color: #ffcc00;
    --primary-button-text-color: white;
    --secondary-button-text-color: white;
    --primary-button-hover-text-color: white;
    --secondary-button-hover-text-color: white;

    --primary-link-color: white;
    --secondary-link-color: #b99400;
    --primary-link-hover-color: #b99400;
    --secondary-link-hover-color: #ffcc00;

    --primary-input-focus-color: #b99400;
    --secondary-input-focus-color: #ffffff;

    --primary-help-text-color: #cccccc;
    --secondary-help-text-color: #b99400;

    --primary-error-color: #ff4444;
    --secondary-error-color: #ff6666;

    /* Modern Color Palette - Updated to black theme */
    --color-bg: #000000;
    --color-surface: #111111;
    --color-border: #333333;
    --color-text-primary: white;
    --color-text-secondary: #cccccc;
    --color-accent: #b99400;
    --color-accent2: #ffcc00;
    --color-success: #4CAF50;
    --color-hover: #1a1a1a;
    --color-disabled: #333333;
    --color-link: white;
    --color-link-hover: #b99400;
    --color-error: #ff4444;
    --color-warning: #ff9800;

    /* Border & Radius */
    --border-radius: 8px;
    --border-radius-lg: 10px;

    /* Typography */
    --font-logo: 'UnifrakturMaguntia', cursive;
    --font-heading: 'Cinzel Decorative', serif;
    --font-accent: 'Tangerine', cursive;
    --font-body: 'EB Garamond', serif;
    --font-sans: 'Inter', 'Roboto', system-ui, sans-serif;

    /* Spacing */
    --gap-xs: 8px;
    --gap-sm: 12px;
    --gap-md: 16px;
    --gap-lg: 20px;
    --gap-xl: 24px;
}

/* Font Faces */
@font-face {
    font-family: 'JD Neos';
    src: url('../fonts/jd_neos.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Themevck Text';
    src: url('../fonts/themevck-text.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Vermin Vibes 1989';
    src: url('../fonts/Vermin Vibes 1989.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Reset & Base */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    color: var(--primary-text-color);
    font-family: var(--font-body);
}

body {
    font-family: var(--font-body);
    background: var(--background-color);
    color: var(--primary-text-color);
    min-height: 100vh;
    overscroll-behavior: none;
}

a {
    color: var(--primary-link-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover,
a:focus-visible {
    color: var(--primary-link-hover-color);
    text-decoration: underline;
}

a.btn,
button,
input[type="submit"],
input[type="button"] {
    font-family: var(--font-body);
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border 0.15s;
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
}

a.btn-primary,
button.btn-primary,
input[type="submit"] {
    background: var(--primary-button-color);
    color: var(--primary-button-text-color);
    font-weight: 600;
    border: 1px solid var(--primary-button-color);
}

a.btn-primary:hover,
button.btn-primary:hover,
input[type="submit"]:hover,
a.btn-primary:focus-visible,
button.btn-primary:focus-visible,
input[type="submit"]:focus-visible {
    outline: none;
    border: 1px solid var(--primary-button-border-hover-color);
    box-shadow: 0 0 10px var(--primary-button-border-hover-color);
}

a.btn-reset,
button.btn-reset {
    background: transparent;
    color: var(--primary-error-color);
    border: 1px solid var(--primary-error-color);
    transition: background-color 0.8s;
}

a.btn-reset:hover,
button.btn-reset:hover,
a.btn-reset:focus-visible,
button.btn-reset:focus-visible {
    outline: none;
    background-color: #ff06068f;
}

input,
textarea,
select {
    font-family: var(--font-body);
    background: var(--color-surface);
    color: var(--primary-text-color);
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    padding: 10px;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-input-focus-color);
    border-color: var(--primary-input-focus-color);
}

input[type="file"] {
    background: none;
    color: var(--primary-text-color);
    border: none;
    cursor: pointer;
}

input[type="file"]:focus-visible {
    outline: none;
    color: var(--primary-input-focus-color);
    text-decoration: underline;
}

input[type="date"] {
    cursor: pointer;
}

::-webkit-input-placeholder {
    color: transparent;
}

::-moz-placeholder {
    color: transparent;
}

:-ms-input-placeholder {
    color: transparent;
}

::placeholder {
    color: transparent;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    margin-bottom: var(--gap-sm);
}

h1 {
    font-size: 2.6rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.95rem;
}

.logo,
.brand,
.slogan {
    font-family: var(--font-logo);
    font-size: 2.3em;
    letter-spacing: 0.04em;
}

.accent,
.quote {
    font-family: var(--font-accent);
    color: var(--color-accent);
    font-size: 1.3em;
}

/* Navbar */
nav.navbar-default {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--background-color);
    height: 60px;
    border-bottom: 1px solid var(--color-border);
    padding: 0 2rem;
    box-shadow: none;
}

.navbar .navbar-brand {
    font-family: var(--font-logo);
    color: var(--primary-text-color);
    font-size: 28px;
    letter-spacing: 1px;
    word-spacing: 6px;
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    text-decoration: none;
}

.navbar-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar a:focus-visible,
.navbar a:focus-visible>.icon path {
    outline: none;
    color: var(--primary-link-hover-color);
    text-decoration: underline;
    stroke: var(--primary-link-hover-color);
}

.navbar-right-aligned {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-right-aligned>a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    font-size: 16px;
    color: var(--primary-text-color);
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar-right-aligned>a.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.navbar-right-aligned>a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.navbar-right-aligned a:hover .icon path {
    stroke: var(--color-accent);
    stroke-width: 2px;
}

.navbar-right-aligned .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-profile {
    padding: 8px 16px !important;
}

.nav-link:hover+.dropdown>.dropdown-menu,
.dropdown:hover>.dropdown-menu,
.dropdown-menu:hover {
    display: flex !important;
}

.nav-profile>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-profile>div small {
    font-size: 12px;
    color: var(--color-text-secondary);
}

.nav-link .icon path {
    color: white;
    stroke: white;
    stroke-width: 2px;
    fill: none;
}

.navbar-language {
    margin-left: 0.5rem;
    padding: 0;
}

.navbar-language .lang-icon {
    height: 24px;
    width: auto;
    margin: 0;
    border: 0.5px solid var(--color-border);
    vertical-align: middle;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar-language:hover .lang-icon,
.navbar-language:focus-visible .lang-icon {
    transform: scale(1.1);
    box-shadow: 0 0 8px rgba(185, 148, 0, 0.5);
}

/* Dropdown */
.navbar .dropdown {
    position: relative;
}

.navbar .dropdown .dropdown-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 100%;
    right: 0;
    width: 160px;
    padding: 12px;
    z-index: 1000;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.navbar .dropdown .dropdown-menu a {
    padding: 8px 12px;
    color: var(--color-text-primary);
    border-radius: 4px;
    transition: background 0.2s ease;
}

.navbar .dropdown .dropdown-menu a:hover {
    background: var(--color-hover);
    color: var(--color-accent);
}

/* Forms & Cards */
.form-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 50px 50px 50px;
}

.content-wrapper,
.form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 720px;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    background: var(--color-surface);
    color: var(--primary-text-color);
    border: 1px solid var(--color-border);
    text-align: center;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.form-row .form-cell {
    width: 100%;
}

.form-cell,
.form-cell>div {
    position: relative;
    z-index: 1;
}

.form-cell input:not([type="file"]),
.form-cell textarea,
.form-cell select {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background: var(--background-color);
    color: var(--primary-text-color);
}

.form-cell-textarea textarea {
    position: relative;
    width: 100%;
    height: 100px;
    max-height: 350px;
    min-height: 40px;
    resize: vertical;
    padding: 10px;
    z-index: 1;
    background: var(--background-color);
    color: var(--primary-text-color);
    border: 1px solid var(--color-border);
}

.form-cell label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s;
    pointer-events: none;
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.form-cell input:focus+label,
.form-cell input:not(:placeholder-shown)+label {
    font-size: 14px;
    top: 0;
    background: var(--background-color);
    border-radius: 6px;
    padding: 0 5px;
    color: var(--color-accent);
}

.form-cell-textarea label,
.form-cell-select label,
.form-cell-file label {
    position: relative;
    color: var(--primary-text-color);
}

.form-cell-button button,
.form-cell-button input {
    width: 100%;
    height: 45px;
    border: none;
    border-radius: var(--border-radius);
    background: var(--color-accent);
    color: var(--background-color);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-cell-button button:hover,
.form-cell-button input:hover {
    background: var(--color-accent2);
    transform: translateY(-1px);
}

.form-cell-multibutton {
    display: flex;
    gap: 10px;
}

.form-cell-multibutton button,
.form-cell-multibutton input {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: var(--border-radius);
    color: var(--primary-button-text-color);
    cursor: pointer;
}

.form-cell-textarea,
.form-cell-select,
.form-cell-file {
    text-align: left;
}

.form-cell-select>div>* {
    width: 100% !important;
}

.form-cell .errorlist {
    position: relative;
    margin: 0;
    padding: 12px;
    background: var(--primary-error-color);
    border-radius: var(--border-radius);
    color: white;
    text-align: left;
}

.form-cell .errorlist-connector {
    position: absolute;
    background: red;
    width: 100%;
    top: -10px;
    left: 0;
    height: 20px;
    margin: 0 !important;
}

.form-cell .errorlist li {
    position: relative;
    list-style: none;
    padding-left: 25px;
}

.form-cell .errorlist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url('/static/svg/iconoir/actions/warning-triangle.svg');
    background-repeat: no-repeat;
    background-size: contain;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.custom-file-wrapper .file-label {
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: auto;
    cursor: pointer;
    width: 100%;
    line-height: 39px;
}

.custom-file-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--background-color);
    border-radius: var(--border-radius);
    padding-left: 10px;
    border: 1px solid var(--color-border);
}

.custom-file-flex-container label {
    color: var(--primary-text-color);
    transform: none;
    position: inherit;
}

.custom-file-input-buttons {
    display: flex;
    gap: 1px;
}

.custom-file-input-buttons button {
    height: 39px;
    width: auto;
    color: white;
    padding: 0 8px;
    cursor: pointer;
    background: var(--primary-button-color);
    border: 1px solid var(--primary-button-color);
    border-left: 1px solid var(--color-border);
}

.custom-file-input-buttons button:hover,
.custom-file-input-buttons button:focus-visible {
    outline: none;
    border: var(--primary-button-border-hover-color) 1px solid;
    box-shadow: 0 0 10px var(--primary-button-border-hover-color);
}

.form-cell-help-text {
    color: var(--primary-help-text-color);
    font-size: 14px;
    margin: 5px 15px;
    text-align: left;
}

/* Extra Links */
.extra-link,
p a {
    color: var(--primary-link-color);
    text-decoration: underline;
}

.extra-link:hover,
.extra-link:focus-visible,
p a:hover,
p a:focus-visible,
a.hover:hover,
a.hover:focus-visible {
    outline: none;
    color: var(--primary-link-hover-color);
}

.extra-link {
    display: inline-block;
    margin-top: 20px;
    text-align: center;
}

/* Main Content */
.main-content-placeholder {
    text-align: center;
}

main {
    min-height: 70svh;
    margin-bottom: 120px;
}

main>.center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex-center {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.gap8 {
    gap: var(--gap-xs);
}

.gap12 {
    gap: var(--gap-sm);
}

.gap16 {
    gap: var(--gap-md);
}

.gap20 {
    gap: var(--gap-lg);
}

.gap24 {
    gap: var(--gap-xl);
}

/* Footer */
footer {
    position: relative;
    padding: 0 10px 10px 10px;
    text-align: center;
    z-index: 10;
    background: var(--background-strong-color);
    color: white;
    border-top: 1px solid white;
    margin-top: 3rem;
}

.fi-container {
    padding: 20px 10px 20px 10px;
}

.fi-container h3 {
    margin-bottom: 10px;
}

.fi-container li {
    list-style: none;
}

.fi-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.fi-social-link-img {
    height: 31px;
}

/* Page Banner */
.page-baner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    padding: 40px 20px 70px 20px;
    text-align: center;
}

/* Grid & Cards */
.grid-list {
    position: relative;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(2, minmax(400px, 1fr));
    gap: var(--gap-lg);
    padding: 0 50px;
}

.grid-list-item {
    padding: 16px;
    display: grid;
    grid-template-columns: 25% 1fr;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    align-items: center;
    text-decoration: none;
    color: var(--color-text-primary);
}

.grid-list-item:hover {
    background: var(--color-hover);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(185, 148, 0, 0.15);
    text-decoration: none;
    color: var(--color-text-primary);
}

.grid-list-item.fade {
    opacity: 0.6;
}

.grid-list-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: auto;
    border-radius: var(--border-radius);
}

.grid-list-item table {
    padding: 8px;
    table-layout: fixed;
}

.grid-list-item table td {
    vertical-align: top;
    padding: 4px 0;
}

.grid-list-item table td:first-child {
    font-weight: bold;
    width: 100px;
    color: var(--color-accent);
}

.grid-list-item table td:last-child {
    width: calc(100% - 100px);
    padding-left: 15px;
    color: var(--color-text-primary);
}

.grid-list-item>div>div {
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.grid-list-item p {
    margin: 0;
    padding-left: 10px;
    width: 100%;
}

.grid-list-item p strong {
    display: inline-block;
    width: 150px;
}

.grid-list-item .additional-info {
    display: none;
    padding: 0px;
    margin-top: 10px;
}

.grid-list .empty-for {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1.2rem;
}

.grid-list-item.expanded {
    grid-column: span 2;
    grid-template-columns: 30% 1fr;
}

.grid-list-item.expanded img {
    max-height: 137px;
}

.grid-list-item.expanded div {
    display: block;
}

.grid-list-item.hidden {
    display: none !important;
}

.game-list a {
    text-decoration: none;
}

/* Toasts */
.toast {
    position: fixed;
    margin: 10px;
    padding: 10px;
    background: #444;
    color: #fff;
    opacity: 0;
    cursor: pointer;
    user-select: none;
    min-width: 400px;
    max-width: 400px;
    transition: opacity 0.8s;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(20, 20, 25, 0.18);
    z-index: 2000;
}

.toast.top-center {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.toast.top-right {
    top: 10px;
    right: 10px;
}

.toast.top-left {
    top: 10px;
    left: 10px;
}

.toast.bottom-center {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.toast.bottom-right {
    bottom: 10px;
    right: 10px;
}

.toast.bottom-left {
    bottom: 10px;
    left: 10px;
}

.toast.show {
    opacity: 1;
}

.toast.success {
    background: #4CAF50;
}

.toast.warning {
    background: #ff9800;
}

.toast.error {
    background: #f44336;
}

.toast.info {
    background: #2196F3;
}

.toast:hover {
    opacity: 0.8;
}

/* Mobile Navigation */
.navmenu {
    display: none;
    position: relative;
}

.navmenu .nav-icon {
    display: none;
    padding: 12px;
    cursor: pointer;
    color: var(--primary-text-color);
    font-size: 20px;
    transition: color 0.3s ease;
}

.navmenu .nav-icon:hover {
    color: var(--color-accent);
}

.navmenu .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    overflow-y: hidden;
    transition: height 0.4s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.navmenu .overlay:not(.open) * {
    user-select: none;
}

.navmenu .overlay.open {
    height: 100vh;
}

.overlay-header {
    padding: 2rem;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface);
}

.overlay-header .overlay-profile {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--color-text-primary);
}

.overlay-header .overlay-profile span:first-child {
    font-size: 1.2rem;
    font-weight: 600;
}

.overlay-header .overlay-profile span:last-child {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.overlay-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.overlay-content a {
    padding: 1rem 0;
    font-size: 1.5rem;
    color: var(--color-text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.overlay-content a.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.overlay-content a:hover,
.overlay-content a:focus-visible {
    color: var(--color-accent);
    padding-left: 1rem;
}

.overlay-content small {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-top: 0.5rem;
}

.overlay a .icon path {
    stroke: currentColor;
    stroke-width: 2px;
    fill: none;
}

.overlay-content-block {
    margin-bottom: 1.5rem;
}

.overlay-footer {
    padding: 2rem;
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-footer .overlay-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--color-hover);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--color-text-primary);
    transition: all 0.3s ease;
}

.overlay-footer .overlay-language:hover {
    background: var(--color-accent);
    color: black;
}

.overlay-footer .overlay-language .lang-icon {
    height: 20px;
    width: auto;
    border-radius: 2px;
}

.closebtn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--color-text-primary);
    text-decoration: none;
    z-index: 10;
    transition: color 0.3s ease;
}

.closebtn:hover {
    color: var(--color-accent);
}

/* Section Cards */
.bizarre-section {
    position: relative;
    padding: 30px;
    margin: 40px auto;
    background: var(--color-surface);
    color: var(--primary-text-color);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    min-height: 120px;
    max-width: 720px;
    width: 90%;
}

.bizarre-section h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.bizarre-section a {
    margin-top: 25px;
    color: var(--color-accent);
}

.bizarre-section a:hover {
    color: var(--color-accent2);
}

main section {
    margin: 30px 0;
}

#info-section {
    max-width: none;
    width: 100%;
    text-align: center;
    padding: 30px;
    background: #191919;
    /* background-image: url('/static/img/bizarre-door-logo-transparent-512x512.png'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px;
    margin: 0;
    min-height: 62vh;
    display: flex;
    justify-content: center;
    height: 100%;
    backdrop-filter: blur(10px) brightness(.5);
}

#info-section>div {
    align-content: center;
}

#info-section h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.job-application-section,
.project-section {
    padding: 20px;
}

#in-progress-banner {
    position: fixed;
    bottom: 20px;
    right: 0;
    display: flex;
    gap: 5px;
    align-items: center;
    z-index: 100;
    background: var(--background-strong-color);
    padding: 8px;
    border: solid 2px white;
    border-right: none;
    border-radius: 20px 0 0 20px;
}

#in-progress-banner svg,
#in-progress-banner svg * {
    stroke: white;
}

/* Messages */
.messages {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 0 50px 30px 50px;
}

.messages div {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    font-size: 16px;
    text-align: center;
}

.messages .success {
    background: #0d8412;
}

.messages .info {
    background: #1c70b3;
}

.messages .warning {
    background: #c98726;
}

.messages .error {
    background: #9e3027;
}

.info-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 0 50px;
}

.info-box-item {
    width: 100%;
    max-width: 720px;
    padding: 20px;
    border-radius: var(--border-radius);
    font-size: 16px;
    background: var(--color-surface);
    color: var(--primary-text-color);
    border: 1px solid var(--color-border);
    text-align: center;
    line-height: 1.5;
}

.info-box-item>h1 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.info-box-item>span {
    text-align: left;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-overlay.open {
    display: flex;
}

.popup-content {
    background: var(--background-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: var(--border-radius);
    position: relative;
    height: 60svh;
    width: 80%;
    min-height: 400px;
    min-width: 600px;
    max-height: 90svh;
    max-width: 800px;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
}

.popup-thumbnail img {
    height: auto;
    width: 100%;
    max-height: 225px;
    object-fit: fill;
}

/* Select2 - Dark Theme */
.select2-container {
    color: var(--color-text-primary);
}

.select2-container .select2-selection--single {
    height: 40px;
    background: var(--background-color);
    border: 1px solid var(--color-border);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
    color: var(--color-text-primary);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--color-text-primary) transparent transparent transparent;
}

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent transparent var(--color-text-primary);
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--color-text-primary) transparent;
}

.select2-dropdown {
    background: var(--background-color);
    border: 1px solid var(--color-border);
}

.select2-results__options {
    background: var(--background-color);
}

.select2-container--default .select2-results__option {
    color: var(--color-text-primary);
    background: var(--background-color);
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: var(--color-hover);
    color: var(--color-accent);
}

.select2-container--default .select2-results__option--selected {
    background: var(--color-accent);
    color: var(--background-color);
}

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}

.select2-container--default .select2-selection--single {
    background: var(--background-color);
    border: 1px solid var(--color-border);
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(185, 148, 0, 0.2);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background: var(--background-color);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--color-accent);
    outline: none;
}

/* Error Page */
.error-page {
    margin-top: 100px;
    margin-bottom: 60px;
}

.dsgvo {
    margin: 50px 30px;
}

.dsgvo h1 {
    text-align: center;
}

.dsgvo h1,
.dsgvo h2,
.dsgvo h3,
.dsgvo h4,
.dsgvo h5,
.dsgvo h6 {
    margin: 25px 0 10px 0;
}

.dsgvo p {
    margin-bottom: 15px;
}

.dsgvo ul {
    margin-left: 15px;
    margin-bottom: 15px;
}

/* Utility Classes */
.right-border-rad {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.left-border-rad {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.no-transition {
    transition: none !important;
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    .grid-list {
        display: grid;
        justify-content: center;
        grid-template-columns: 1fr;
        padding: 0 50px;
    }

    .grid-list-item {
        grid-column: 1;
        grid-template-columns: 1fr;
    }

    .grid-list-item.expanded {
        grid-column: 1;
        grid-template-columns: 1fr;
    }

    .grid-list-item img {
        max-height: 220px;
    }

    .grid-list-item.expanded img {
        max-height: 300px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {

    .navbar-right-aligned .nav-link,
    .navbar-language {
        display: none !important;
    }

    .navmenu {
        display: block;
    }

    .navmenu .nav-icon {
        display: block;
    }

    .bizarre-section {
        width: 80%;
        height: 100%;
    }

    .navbar {
        padding: 0 1rem;
    }
}

@media screen and (max-width: 767px) {
    main {
        margin-bottom: 80px;
    }

    .navbar-right-aligned .nav-link,
    .navbar-language {
        display: none !important;
    }

    .navmenu {
        display: block;
    }

    .navmenu .nav-icon {
        display: block;
    }

    .messages {
        margin: 0 20px 30px 20px;
    }

    .grid-list {
        display: grid;
        justify-content: center;
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .info-box {
        padding: 0 20px;
    }

    .bizarre-section {
        width: 90%;
        height: 100%;
        margin: 20px auto;
    }

    .form-centered {
        margin: 30px 20px 50px 20px;
    }

    .navbar {
        padding: 0 1rem;
        height: 60px;
    }

    .navbar .navbar-brand {
        font-size: 24px;
    }

    .navbar-logo {
        height: 32px;
    }

    .page-baner {
        padding: 20px 20px 40px 20px;
    }

    .page-baner h1 {
        font-size: 2rem;
    }

    #in-progress-banner span {
        display: none;
    }

    #in-progress-banner:hover span {
        display: block;
    }
}