/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
footer {
    margin: 2em 0 1em;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

footer section {
    height: 1em;
    display: flex;
    align-items: center;
}

footer section img {
    height: 1em;
    margin: 0.05em 0 0 0.5em;
}
header {
    display: flex;
    align-items: center;
    height: 4rem;
    z-index: 10;
    padding: 1em;
    background-color: unset;
    position: fixed;
    left: 0;
    right: 0;
    max-width: 1400px;
    margin: 0 auto;
    transition: background-color 0.2s linear, backdrop-filter 0.2s linear;
}

header.dark {
    background-color: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
}

header.dark.nav-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: transparent;
}

header img {
    height: 100%;
}

.spacer {
    flex-grow: 1;
}

.burger {
    width: 1.75em;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    z-index: 10;
    margin: 0 0.5em;
    transform-origin: center;
    will-change: transform;
    transition: transform 0.2s ease;
}

.burger:hover {
    transform: scale(1.075);
    transition: transform 0.2s ease;
}

.burger span {
    will-change: transform;
    display: block;
    height: 2px;
    width: 100%;
    background-color: #74121D;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.2s ease;
    transform-origin: center;
}


.burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) ;
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

header nav.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s linear, visibility 0.2s linear;
}

header nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s linear, visibility 0.2s linear;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.92);
}

header nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

header nav ul li {
    font-family: "Italiana", serif;
    font-size: 2em;
    transition: color 0.2s ease;
}

header nav ul li:hover {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

header nav a {
    text-decoration: none;
    position: relative;
    display: inline-block;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

header nav a:hover::after,
header nav a.active::after {
    transform: scaleX(1);
}

.gallery-hint {
    font-family: "Poppins", sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    opacity: 0.5;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.gallery-hint:hover {
    opacity: 0.9;
}

.gallery-hint-arrow {
    transition: transform 0.2s ease;
    line-height: 1;
    position: relative;
    top: -1px;
}

.gallery-hint:hover .gallery-hint-arrow {
    transform: translateX(4px);
}

header nav ul li.impressum {
    margin: 1rem 0 0 0;
    font-size: 1.25rem;
}

* {
    box-sizing: border-box;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-family: "Poppins", sans-serif;
    color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-gutter: stable;
    overflow-x: hidden;
}

body {
    min-height: 100dvh;
    background-color: black;
}

#root {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background-color: black;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

main {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1em;
    padding-top: 4rem;
}

a {
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Italiana", serif;
    text-align: center;
}

label:hover {
    cursor: pointer;
}
.italiana {
    font-family: "Italiana", serif;
}

h1 {
    font-size: 2em;
    font-weight: 500;
    margin: 0.5rem 0;
    letter-spacing: 0.05em;
}

.home-banner {
    position: relative;
    height: 100dvh;
    margin-top: -4rem;
    flex-shrink: 0;
    background: #080808;
    overflow: hidden;
}

.home-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(65%);
}

.home-banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 8vh;
}

.home-banner h1 {
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    margin: 0;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.home-banner h2 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(0.65rem, 1.6vw, 0.88rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.6;
    margin: 0.6rem 0 0;
}

.profile-placeholder {
    color: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

main section:not(.home-banner) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 680px;
    width: 100%;
    align-self: center;
    padding: 0 1.5rem;
    gap: 1em;
    margin: 0;
}

main section.socials {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
}

main section span {
    line-height: 1.6;
}

main section > ul {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    list-style-type: disc;
    gap: 0.5em;
    margin: 0 0 0 1em;
}

h3 {
    color: #C42030;
    font-size: 2em;
    flex-basis: 100%;
    text-align: center;
    letter-spacing: 0.04em;
}

.social-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-grow: 1;
    font-size: 0.8em;
}

.social-badge ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}

.social-badge img {
    height: 3em;
}

.profile {
    border-radius: 50%;
    width: 7em;
    height: 7em;
    object-fit: cover;
}

.auth-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2.75rem;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    font-family: "Poppins", sans-serif;
    user-select: none;
    padding: 0 1rem;
    z-index: 20;
}

.auth-bar-label {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.auth-bar-divider {
    width: 0.5px;
    height: 1rem;
    background: rgba(255, 255, 255, 0.15);
}

.auth-bar-btn {
    background: none !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.55);
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    transition: color 150ms;
}

.auth-bar-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

body[data-auth] header {
    top: 2.75rem;
}

body[data-auth] main {
    padding-top: calc(4rem + 2.75rem);
}

.home-loading {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    transition: opacity 300ms ease;
}

.home-loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

.home-loading span {
    font-family: "Italiana", serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
}
strong {
    font-weight: 600;
}

.impressum {
    padding: 1.5rem 2rem 3rem;
    max-width: 700px;
    align-self: center;
    width: 100%;
    line-height: 1.6;
}

.albums-wrapper {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.albums {
    display: grid;
    grid-template-columns: repeat(2, clamp(130px, 42vw, 260px));
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem 0 2.5rem;
}

.albums a {
    text-decoration: none;
    display: block;
}

.albums div {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.4em;
    background: rgba(255, 255, 255, 0.04);
}

.albums div:hover {
    cursor: pointer;
}

.albums div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 450ms ease;
}

.albums a:hover div img {
    transform: scale(1.04);
}

.albums div span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 0.85rem 0.7rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
    font-family: "Italiana", serif;
    font-size: 1.35em;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

@media (min-width: 550px) {
    .albums {
        grid-template-columns: repeat(3, clamp(130px, 26vw, 250px));
        gap: 1.25rem;
    }
}

@media (min-width: 800px) {
    .albums {
        grid-template-columns: repeat(4, clamp(150px, 20vw, 280px));
        gap: 1.5rem;
        padding: 1rem 0 3rem;
    }
}

.not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    gap: 0.5rem;
    padding: 2rem 1rem;
    text-align: center;
}

.not-found h1 {
    font-family: "Italiana", serif;
    font-size: 5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
}

.not-found p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
}

.not-found-btns {
    display: flex;
    gap: 0.5rem;
}

.not-found .dashboard-button {
    background: transparent;
    border: 0.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.55rem 1rem;
    font-size: 0.83rem;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    transition: background 150ms, border-color 150ms, color 150ms;
    margin: 0;
}

.not-found .dashboard-button:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.35);
    color: white;
}

.not-found .dashboard-button a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.red {
    color: #C42030;
}

.back-btn {
    display: block;
    align-self: flex-start;
    font-family: "Poppins", sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.38);
    padding: 0.5rem 0 0 1rem;
    transition: color 0.2s ease;
}

.back-btn:hover {
    color: rgba(255, 255, 255, 0.72);
}

.gallery {
  display: grid;
  gap: 0.6rem;
  padding: 0.75rem 0.75rem 2.5rem;
  box-sizing: border-box;
  grid-template-columns: 1fr;
  grid-auto-flow: dense;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  user-select: none;
  display: block;
  grid-row-end: span 2;
  cursor: pointer;
}

.gallery img.wide {
  aspect-ratio: 3 / 2;
  grid-row-end: span 2;
  display: unset;
}

.gallery .backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    backdrop-filter: blur(10px) brightness(50%);
    display: flex;
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99;
    transition: opacity 300ms ease, visibility 300ms ease;
}

.gallery .backdrop.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 300ms ease, visibility 300ms ease;
}

.gallery .backdrop img {
    height: auto;
    width: min(90vw, calc(80vh * 2 / 3));
    animation: zoomIn 300ms ease;
    opacity: 0;
    transition: opacity 300ms ease;
    cursor: default;
}

.gallery .backdrop img.wide {
    width: min(90vw, calc(80vh * 3 / 2));
}

.gallery .backdrop.active img {
    opacity: 1;
    transition: opacity 300ms ease;
}

.gallery .backdrop .close-icon {
    will-change: transform;
    position: absolute;
    top: 1em;
    right: 1em;
    width: 2em;
    aspect-ratio: 1 / 1;
    align-self: flex-start;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
    cursor: pointer;
}

.gallery .backdrop .close-icon:hover {
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform: scale(1.1);
    opacity: 1;
}

@keyframes zoomIn {
    from {
        transform: scale(0.96);
    }

    to {
        transform: scale(1);
    }
}

@media (min-width: 250px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery img.wide {
      grid-column-end: span 2;
  }
}

@media (min-width: 750px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery img.wide {
    aspect-ratio: 4.1/3;
  }
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
}


.error-list {
    position: fixed;
    top: 0;
    right: 0;
    max-width: 70%;
    z-index: 9999;
    display: flex;
    height: calc(100% - 2rem);
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    margin: 1rem;
    pointer-events: none;
}

.error-list > div {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(28, 28, 28, 0.97);
    backdrop-filter: blur(8px);
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    pointer-events: all;
}

.error-list div .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.error-list div .icon img {
    width: 100%;
    height: 100%;
}

.error-list div::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
}

.error-list div.error::before { background: #ef3e36; }

.error-list div.warning::before { background: #ff8600; }

.error-list div.info::before { background: #0496ff; }

.error-list div.success::before { background: #72b01d; }
.login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: 2rem 1rem;
}

.login h1 {
    font-family: "Italiana", serif;
    font-size: 2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}

.login h2 {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.06em;
    margin-bottom: 2rem;
    font-family: "Poppins", sans-serif;
}

.login-form {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.login-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.35);
    font-family: "Poppins", sans-serif;
}

.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 0.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    padding: 0.6rem 0.75rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 150ms;
    font-family: "Poppins", sans-serif;
}

.login-input:focus {
    border-color: rgba(255, 255, 255, 0.35);
}

.login-eye {
    position: absolute;
    right: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: color 150ms;
    display: flex;
    align-items: center;
}

.login-eye:hover {
    color: rgba(255, 255, 255, 0.65);
}

.login-btn {
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.7rem;
    border-radius: 5px;
    border: 0.5px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    font-family: "Italiana", serif;
    font-weight: 400;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 150ms, border-color 150ms;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.32);
}
.dashboard-admin {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 2rem 1rem;
    width: 100%;
}

.dashboard-admin h1 {
    font-family: "Italiana", serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    letter-spacing: 0.02em;
    margin-bottom: 2.5rem;
}

.dashboard-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
    width: 100%;
    max-width: 400px;
}

.dashboard-admin h2 {
    font-family: "Italiana", serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.dashboard-admin .dashboard-button {
    background: transparent;
    border: 0.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.55rem 1rem;
    font-size: 0.83rem;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    transition: background 150ms, border-color 150ms, color 150ms;
    width: 100%;
    margin: 0;
}

.dashboard-admin .dashboard-button:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.35);
    color: white;
}

.dashboard-admin .dashboard-button a {
    text-decoration: none;
    color: inherit;
    display: block;
}
#loading {
    position: absolute;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100dvw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99;
    color: white;
}

#loading sub {
    font-family: "Italiana", serif;
}

.home-icon {
    position: absolute;
    top: 0.5;
    left: 0.5rem;
    height: 2rem;
    padding: 0.5rem;
    border-radius: 0.3rem;
    backdrop-filter: brightness(50%);
    box-sizing: content-box;
}

.home-icon:hover {
    cursor: pointer;
    transform: scale(1.1);
}
.album-selector {
    position: relative;
    width: 100%;
}

.album-selector .trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 150ms;
    user-select: none;
}

.album-selector .trigger:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.album-selector .trigger .trigger-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.album-selector .trigger .trigger-label img {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

.album-selector .trigger .chevron {
    width: 12px;
    height: 12px;
    opacity: 0.4;
    transition: transform 150ms;
}

.album-selector.open .trigger .chevron {
    transform: rotate(180deg);
}

.album-selector .dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(22, 22, 22, 0.97);
    border: 0.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    backdrop-filter: blur(8px);
    z-index: 999;
    overflow: hidden;
    list-style: none;
}

.album-selector .dropdown li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 9px 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background 120ms;
}

.album-selector .dropdown li:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.95);
}

.album-selector .dropdown li .checkmark {
    width: 13px;
    height: 13px;
    opacity: 0;
    flex-shrink: 0;
}

.album-selector .dropdown li.selected .checkmark {
    opacity: 0.8;
}

.album-selector .dropdown li.selected {
    color: white;
}

.album-selector.drop-up .dropdown {
    top: unset;
    bottom: calc(100% + 6px);
}
.image-browser-main {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem;
}

.image-browser-main > .album-selector {
    margin-bottom: 0.75rem;
}

.image-browser {
    display: grid;
    gap: 0.75rem;
    box-sizing: border-box;
    grid-template-columns: 1fr;
    grid-auto-flow: dense;
    flex: 1 1 100%;
}

.image-browser-main h2 {
    flex: 1 1 100%;
    text-align: left;
    font-family: "Poppins", sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: -0.25rem;
}

.image-browser .image-container.wide {
    aspect-ratio: 3 / 2;
    grid-row-end: span 2;
    display: unset;
}

.image-browser .image-container > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: visible;
}

.image-browser .image-container:hover {
    cursor: pointer;
    filter: brightness(90%);
}

.image-browser .image-container {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    user-select: none;
    display: block;
    grid-row-end: span 2;
    position: relative;
    overflow: hidden;
}

.image-browser .image-container .image-settings {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: opacity 180ms ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 18px;
}

.image-browser .image-container .image-settings.hidden {
    opacity: 0;
    pointer-events: none;
}

.image-browser .image-container .image-settings .middle-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex: 1;
}

.image-browser .image-container .image-settings .order-row {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.image-browser .image-container .image-settings .spacer {
    height: 34px;
    flex-shrink: 0;
}

.image-browser .image-container .order-btn {
    width: 2.5em;
    height: 2.5em;
    border-radius: 5px;
    border: 0.5px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 150ms;
}

.image-browser .image-container .order-btn img {
    width: 55%;
    height: auto;
    opacity: 0.85;
    transition: opacity 150ms;
}

.image-browser .image-container .order-btn:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.image-browser .image-container .order-btn:hover img {
    opacity: 1;
}

.image-browser .image-container .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.image-browser .image-container .icon img {
    width: 1.8em;
    height: 1.8em;
    transition: opacity 150ms, transform 150ms;
}

.image-browser .image-container .icon:hover img {
    transform: scale(1.12);
}

.image-browser .image-container .more-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(28, 28, 28, 0.82);
    backdrop-filter: blur(8px);
    transform: translateY(100%);
    transition: transform 200ms ease;
    border-radius: 0 0 var(--border-radius, 6px) var(--border-radius, 6px);
}

.image-browser .image-container .more-panel.open {
    transform: translateY(0);
}

.image-browser .image-container .more-action {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background 120ms;
}

.image-browser .image-container .more-action:hover {
    background: rgba(255, 255, 255, 0.06);
}

.image-browser .image-container .more-action img {
    width: 15px;
    height: 15px;
}

.image-browser .image-container .more-action.danger {
    color: #e07070;
}

.image-browser .image-container .more-action.album-section {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    cursor: default;
    padding-bottom: 10px;
}

.image-browser .image-container .album-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.image-browser .image-container .divider {
    height: 0.5px;
    background: rgba(255, 255, 255, 0.07);
    margin: 0 14px;
}

.image-browser-main .upload {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    border: 0.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 0.75rem;
}

.image-browser-main .upload-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border: 0.5px dashed rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    cursor: pointer;
    transition: background 150ms, border-color 150ms;
    position: relative;
}

.image-browser-main .upload-dropzone:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.3);
}

.image-browser-main .upload-dropzone input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.image-browser-main .upload-dropzone i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.image-browser-main .upload-dropzone .drop-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.image-browser-main .upload-dropzone .drop-label span {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.image-browser-main .upload-dropzone .file-types {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
}

.image-browser-main .files-selected {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

.image-browser-main .upload-hint {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
}

.image-browser-main .upload-hint i {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

.image-browser-main .upload-progress {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.image-browser-main .progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.image-browser-main .progress-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.image-browser-main .progress-label i {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.image-browser-main .progress-pct {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.image-browser-main .progress-track {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.image-browser-main .progress-fill {
    height: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    transition: width 300ms ease;
}

.image-browser-main .upload-btn {
    width: 100%;
    padding: 0.6rem;
    border-radius: 5px;
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 150ms, border-color 150ms;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.image-browser-main .upload-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
}

.image-browser-main .upload-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.image-browser-main .upload-btn i {
    font-size: 0.9rem;
}

button.delete-mode {
    flex: 1 1 100%;
    border-radius: 0.25rem;
    border: 1px solid white;
    max-width: unset;
    transition: background-color 0.1s ease;
}

.delete-mode.red {
    transition: background-color 0.1s ease;
    background-color: #e63946 !important;
}

.image-browser-main .upload div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 250px) {
    .image-browser {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-browser .image-container.wide {
        width: 100%;
        grid-column-end: span 2;
    }
}

@media (min-width: 700px) {
    .image-browser {
        grid-template-columns: repeat(3, 1fr);
    }

    .image-browser .image-container.wide {
        aspect-ratio: 4.1/3;
    }
}
.admin-albums {
    width: 100%;
    align-self: stretch;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.albums-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.albums-home-icon {
    height: 1.2rem;
    width: auto;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 150ms;
    flex-shrink: 0;
}

.albums-home-icon:hover {
    opacity: 0.85;
}

.albums-top-divider {
    width: 0.5px;
    height: 18px;
    background: rgba(255, 255, 255, 0.2);
}

.albums-title {
    font-size: 1.5rem;
    font-weight: 400;
    font-family: "Italiana", serif;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.album-card {
    border: 0.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 200ms, background 200ms;
    background: rgba(255, 255, 255, 0.03);
    position: relative;
}

.album-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.album-card-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.2);
}

.album-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.album-card-footer {
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 0.5px solid rgba(255, 255, 255, 0.1);
    gap: 0.6rem;
}

.album-card-order {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

.album-card .order-btn {
    width: 32px !important;
    height: 18px !important;
    border: 0.5px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 3px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 150ms !important;
    cursor: pointer;
}

.album-card .order-btn:hover {
    border-color: rgba(255, 255, 255, 0.6) !important;
    background: rgba(255, 255, 255, 0.14) !important;
    color: white !important;
}

.album-card-name {
    font-size: 0.88rem;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    text-align: right;
    padding: 0 0.35rem;
}

.albums-new-btn {
    width: 100%;
    padding: 0.85rem !important;
    border-radius: 6px;
    border: 0.5px solid rgba(255, 255, 255, 0.18) !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.85rem !important;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    transition: background 150ms, border-color 150ms, color 150ms;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0;
    max-width: unset;
}

.albums-new-btn:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.32) !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.admin-albums form {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.6);
    z-index: 10;
    padding: 0;
    gap: 0;
}

.albums-panel {
    background: black;
    border: 0.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 1.5rem;
    width: 90%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.albums-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.1rem;
}

.albums-panel-lbl {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    font-family: "Poppins", sans-serif;
}

.albums-panel-x {
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: color 150ms;
    display: flex;
}

.albums-panel-x:hover {
    color: rgba(255, 255, 255, 0.8);
}

.albums-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.albums-flabel {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.4);
    font-family: "Poppins", sans-serif;
}

.albums-cover-wrapper {
    display: flex;
    gap: 0.4rem;
    flex-direction: column;
    align-items: center;
}

.albums-cover-preview {
    width: 100%;
    max-width: 160px;
    aspect-ratio: 1 / 1;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 0.5px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    position: relative;
}

.albums-cover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.albums-sel-btn {
    width: 100%;
    padding: 0.5rem !important;
    border-radius: 5px;
    border: 0.5px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.78rem !important;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    transition: background 150ms, border-color 150ms;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0;
    max-width: unset;
}

.albums-sel-btn:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    color: rgba(255, 255, 255, 0.88) !important;
}

.albums-finput {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 0.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    padding: 0.6rem 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 150ms;
}

.albums-finput:focus {
    border-color: rgba(255, 255, 255, 0.38);
}

.albums-finput::placeholder {
    color: rgba(255, 255, 255, 0.22);
}

.albums-actions {
    display: flex;
    gap: 0.5rem;
}

.albums-abtn {
    flex: 1;
    margin: 0.5rem 0 0;
    padding: 0.48rem 0.6rem !important;
    border-radius: 5px;
    font-size: 0.83rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: background 150ms, border-color 150ms;
    max-width: unset !important;
    width: auto !important;
    font-family: "Poppins", sans-serif;
}

.albums-abtn-del {
    background: rgba(224, 112, 112, 0.08) !important;
    border: 0.5px solid rgba(224, 112, 112, 0.3) !important;
    color: #e07070 !important;
}

.albums-abtn-del:hover {
    background: rgba(224, 112, 112, 0.16) !important;
    border-color: rgba(224, 112, 112, 0.5) !important;
}

.albums-abtn-del svg {
    color: #e07070;
}

.albums-abtn-save {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 0.5px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.albums-abtn-save:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.dropdown-image-browser {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    z-index: 20;
}

.dropdown-image-browser > div {
    padding: 1rem;
    background-color: #0a0a0a;
    width: 70%;
    max-height: 80dvh;
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.album-card-edit {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.7);
    border: 0.5px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 150ms;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
}

.album-card:hover .album-card-edit {
    opacity: 1;
}

.dropdown-image-browser-x {
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem 0.5rem 0;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.35);
    transition: color 150ms;
}

.dropdown-image-browser-x:hover {
    color: rgba(255, 255, 255, 0.75);
}

.albums-sel-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 150ms;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
}

.albums-cover-preview:hover .albums-sel-overlay {
    opacity: 1;
}
.admin-users {
    width: 100%;
    align-self: stretch;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.users-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.users-home-icon {
    height: 1.2rem;
    width: auto;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 150ms;
    flex-shrink: 0;
}

.users-home-icon:hover {
    opacity: 0.85;
}

.users-top-divider {
    width: 0.5px;
    height: 18px;
    background: rgba(255, 255, 255, 0.2);
}

.users-title {
    font-size: 1.5rem;
    font-weight: 400;
    font-family: "Italiana", serif;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
}

.users-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.user-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    transition: background 150ms, border-color 150ms;
}

.user-row:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.18);
}

.user-id {
    font-size: 0.75rem;
    font-family: "Poppins", sans-serif;
    color: rgba(255, 255, 255, 0.28);
    flex-shrink: 0;
    min-width: 2rem;
}

.user-name {
    font-size: 0.88rem;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    flex: 1;
}

.user-edit-btn {
    width: 28px;
    height: 28px;
    border: 0.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 150ms, border-color 150ms, color 150ms;
    padding: 0;
}

.user-edit-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.9);
}

.users-new-btn {
    width: 100%;
    padding: 0.85rem;
    border-radius: 6px;
    border: 0.5px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    transition: background 150ms, border-color 150ms, color 150ms;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.users-new-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.32);
    color: rgba(255, 255, 255, 0.85);
}

.admin-users form {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.6);
    z-index: 10;
    padding: 0;
    gap: 0;
}

.users-panel {
    background: black;
    border: 0.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 1.5rem;
    width: 90%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.users-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.1rem;
}

.users-panel-lbl {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    font-family: "Poppins", sans-serif;
}

.users-panel-x {
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: color 150ms;
    display: flex;
}

.users-panel-x:hover {
    color: rgba(255, 255, 255, 0.8);
}

.users-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.users-flabel {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.4);
    font-family: "Poppins", sans-serif;
}

.users-finput {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 0.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    padding: 0.6rem 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-family: "Poppins", sans-serif;
    outline: none;
    transition: border-color 150ms;
}

.users-finput:focus {
    border-color: rgba(255, 255, 255, 0.38);
}

.users-finput::placeholder {
    color: rgba(255, 255, 255, 0.22);
}

.users-finput:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.users-actions {
    display: flex;
    gap: 0.5rem;
}

.users-abtn {
    flex: 1;
    margin: 0.5rem 0 0;
    padding: 0.48rem 0.6rem;
    border-radius: 5px;
    font-size: 0.83rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: background 150ms, border-color 150ms;
    font-family: "Poppins", sans-serif;
}

.users-abtn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.users-abtn-del {
    background: rgba(224, 112, 112, 0.08);
    border: 0.5px solid rgba(224, 112, 112, 0.3);
    color: #e07070;
}

.users-abtn-del:hover:not(:disabled) {
    background: rgba(224, 112, 112, 0.16);
    border-color: rgba(224, 112, 112, 0.5);
}

.users-abtn-save {
    background: rgba(255, 255, 255, 0.08);
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.users-abtn-save:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
}

.admin-utils {
    width: 100%;
    align-self: stretch;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.utils-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.utils-home-icon {
    height: 1.2rem;
    width: auto;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 150ms;
    flex-shrink: 0;
}

.utils-home-icon:hover {
    opacity: 0.85;
}

.utils-top-divider {
    width: 0.5px;
    height: 18px;
    background: rgba(255, 255, 255, 0.2);
}

.utils-title {
    font-size: 1.5rem;
    font-weight: 400;
    font-family: "Italiana", serif;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
}

.utils-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
    border: 0.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.utils-section-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.utils-section-name {
    font-size: 0.88rem;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.utils-section-desc {
    font-size: 0.75rem;
    font-family: "Poppins", sans-serif;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.4;
}

.utils-action-btn {
    flex-shrink: 0;
    padding: 0.48rem 0.9rem;
    border-radius: 5px;
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.83rem;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 150ms, border-color 150ms, color 150ms;
    white-space: nowrap;
}

.utils-action-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.38);
    color: white;
}

.admin-homepage {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hp-save-btn {
    margin-left: auto;
    flex-shrink: 0;
    padding: 0.34rem 0.75rem;
    border-radius: 5px;
    border: 0.5px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: background 150ms, border-color 150ms, color 150ms;
}

.hp-save-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
    color: white;
}

.hp-save-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

/* ── Section card ─────────────────────────────────────────────────────── */

.hp-section {
    background: rgba(255, 255, 255, 0.02);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.hp-section-label {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: rgba(255, 255, 255, 0.3);
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.07);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hp-hero-layout {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.hp-hero-img-col {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.hp-hero-preview {
    width: 88px !important;
    max-width: 88px !important;
    aspect-ratio: 2 / 3 !important;
}

.hp-about-preview {
    width: 80px !important;
    max-width: 80px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
}

.hp-hero-fields {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 0.1rem;
}

/* ── Textarea ─────────────────────────────────────────────────────────── */

.hp-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.65;
    font-family: "Poppins", sans-serif;
    font-size: 0.83rem;
}

.hp-textarea-tall {
    min-height: 220px;
}

/* ── List rows (equipment + social entries) ───────────────────────────── */

.hp-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.hp-list-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hp-list-input {
    flex: 1;
    margin: 0;
    min-width: 0;
}

.hp-list-remove {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 5px;
    background: rgba(224, 112, 112, 0.07);
    border: 0.5px solid rgba(224, 112, 112, 0.22);
    color: rgba(224, 112, 112, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 150ms, border-color 150ms, color 150ms;
    padding: 0;
}

.hp-list-remove:hover {
    background: rgba(224, 112, 112, 0.16);
    border-color: rgba(224, 112, 112, 0.48);
    color: #e07070;
}

.hp-add-btn {
    margin-top: 0.3rem !important;
}

/* ── Socials ──────────────────────────────────────────────────────────── */

.hp-socials {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.hp-social-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hp-social-type-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.32);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
}

.hp-social-entries {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* read-only mailto: badge next to email entries */
.hp-url-badge {
    flex-shrink: 0;
    height: 34px;
    padding: 0 0.6rem;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.025);
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    font-size: 0.7rem;
    font-family: "Poppins", sans-serif;
    color: rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    cursor: default;
    user-select: none;
}

/* ── Loading state ────────────────────────────────────────────────────── */

.hp-loading {
    padding: 2rem 1.5rem;
    font-family: "Poppins", sans-serif;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 480px) {
    .admin-homepage {
        padding: 1rem;
        gap: 1rem;
    }

    .hp-section {
        padding: 1rem;
    }

    /* Stack hero image above fields on narrow screens */
    .hp-hero-layout {
        flex-direction: column;
        align-items: flex-start;
    }

    .hp-hero-img-col {
        align-items: flex-start;
    }

    .hp-hero-preview {
        width: 72px !important;
        max-width: 72px !important;
    }

    /* Instagram: wrap handle + URL onto separate lines */
    .hp-list-row {
        flex-wrap: wrap;
    }

    .hp-list-input {
        min-width: calc(100% - 42px);
    }

    .hp-url-badge {
        max-width: 100%;
        min-width: calc(100% - 42px);
    }
}

