1028 lines
20 KiB
CSS
1028 lines
20 KiB
CSS
/* Font Import */
|
|
@import url('https://fonts.googleapis.com/css2?family=Bagel+Fat+One&display=swap');
|
|
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;600&display=swap');
|
|
|
|
/* Reset / Normalize */
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Colors + Main Font */
|
|
:root {
|
|
--max-width: 1200px;
|
|
--padding: 1.5rem;
|
|
|
|
|
|
--tomato: #D44B24;
|
|
--tomato-dark: #B53A18;
|
|
--tomato-light: #E5937C;
|
|
--olive: #6B6B05;
|
|
--olive-dark: #545404;
|
|
--olive-light: #C8CC7A;
|
|
--butter: #F5F1BC;
|
|
--butter-light: #FAF9F0;
|
|
--white: #ffffff;
|
|
--black: #141411;
|
|
--brown: #66340d;
|
|
--blue: #3489DA;
|
|
--blue-dark: #1D70BF;
|
|
--error: #FF3B30;
|
|
--error-text: #d91200;
|
|
|
|
--font-main: 'Jost', sans-serif;
|
|
--font-size-base: 1rem;
|
|
|
|
/* Shadows */
|
|
--shadow-interaction: 0 0.1875rem 0.75rem rgba(102, 52, 13, 0.1);
|
|
--shadow-error: 0 0 0 2px rgba(255, 59, 48, 0.1);
|
|
|
|
/* Spacing Scale > 1rem = 16px*/
|
|
--space-0: 0.25rem; /* 4px */
|
|
--space-6: 0.375rem; /* 6px */
|
|
--space-8: 0.5rem; /* 8px */
|
|
--space-12: 0.75rem; /* 12px */
|
|
--space-16: 1rem; /* 16px */
|
|
--space-20: 1.25rem; /* 20px */
|
|
--space-24: 1.5rem; /* 24px */
|
|
--space-32: 2rem; /* 32px */
|
|
--space-40: 2.5rem; /* 40px */
|
|
--space-48: 3rem; /* 48px */
|
|
--space-64: 4rem; /* 64px */
|
|
--space-80: 5rem; /* 80px */
|
|
|
|
|
|
/* Radius Scale */
|
|
--radius-pill: 100rem;
|
|
--radius-sm: 0.5rem;
|
|
--radius-md: 1rem;
|
|
--radius-lg: 2rem;
|
|
|
|
/* Letter Spacing */
|
|
--ls-none: 0;
|
|
--ls-sm: 2.5%;
|
|
--ls-lg: 5%;
|
|
}
|
|
|
|
/* Base Styles */
|
|
body {
|
|
font-family: var(--font-main);
|
|
background-color: var(--butter);
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
/* Typography */
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: 'Bagel Fat One';
|
|
font-weight: 500;
|
|
letter-spacing: var(--ls-sm);
|
|
line-height: 120%;
|
|
color: var(--brown);
|
|
}
|
|
|
|
h1 {
|
|
font-size: clamp(2.25rem, 5vw, 3rem);
|
|
letter-spacing: var(--ls-sm);
|
|
margin-bottom: var(--space-32);
|
|
}
|
|
|
|
h2 {
|
|
font-size: 2.5rem;
|
|
margin-bottom: var(--space-24);
|
|
}
|
|
|
|
h3 {
|
|
font-size: 2rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
p {
|
|
font-family: var(--font-main);
|
|
font-size: 1.125rem;
|
|
line-height: 1.45;
|
|
color: var(--black);
|
|
}
|
|
|
|
.p-small {
|
|
font-family: var(--font-main);
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.label-input-field,
|
|
.filter-label {
|
|
font-family: var(--font-main);
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
line-height: 1;
|
|
margin-bottom: var(--space-8);
|
|
}
|
|
|
|
|
|
label {
|
|
font-family: var(--font-main);
|
|
font-size: 1.125rem;
|
|
font-weight: 600;
|
|
letter-spacing: var(--ls-lg);
|
|
line-height: 1;
|
|
margin-bottom: var(--space-16);
|
|
}
|
|
|
|
.option {
|
|
font-family: var(--font-main);
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
letter-spacing: var(--ls-sm);
|
|
line-height: 1;
|
|
margin-bottom: var(--space-8);
|
|
}
|
|
|
|
.link-text a{
|
|
color: var(--blue);
|
|
margin-top: var(--space-24);
|
|
text-decoration: none;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.link-text a:hover {
|
|
color: var(--blue-dark);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.link-text-footer{
|
|
color: var(--black);
|
|
text-decoration: none;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.link-text-footer:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.error-message {
|
|
font-family: var(--font-main);
|
|
font-size: 1rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.error-message--inline {
|
|
color: var(--error-text);
|
|
}
|
|
|
|
.error-message--field-callout {
|
|
display: none;
|
|
width: fit-content;
|
|
max-width: min(100%, 20rem);
|
|
padding: var(--space-6) var(--space-16);
|
|
/*margin-bottom: -32px;*/
|
|
border-radius: var(--radius-md);
|
|
|
|
background: var(--error);
|
|
color: var(--butter-light);
|
|
text-align: center;
|
|
overflow-wrap: anywhere;
|
|
position: relative;
|
|
}
|
|
|
|
.error-message--field-callout::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: -0.35rem;
|
|
right: 1.6rem;
|
|
width: 0.8rem;
|
|
height: 0.8rem;
|
|
background: inherit;
|
|
border-top-left-radius: 0.2rem;
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.error-message--callout {
|
|
display: none;
|
|
width: max-content;
|
|
max-width: 15rem;
|
|
padding: var(--space-6) var(--space-16);
|
|
border-radius: var(--radius-md);
|
|
background: var(--error);
|
|
color: var(--butter-light);
|
|
text-align: center;
|
|
overflow-wrap: anywhere;
|
|
|
|
z-index: 1;
|
|
}
|
|
|
|
.error-message--callout:not(:empty) {
|
|
display: block;
|
|
}
|
|
|
|
.error-message--callout::after {
|
|
content: "";
|
|
position: absolute;
|
|
right: 2.1rem;
|
|
bottom: -0.55rem;
|
|
width: 1.1rem;
|
|
height: 1.1rem;
|
|
background: inherit;
|
|
border-bottom-right-radius: 0.25rem;
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
/* Margins */
|
|
|
|
.margin-bottom-16 {
|
|
margin-bottom: var(--space-16);
|
|
}
|
|
|
|
.margin-bottom-24 {
|
|
margin-bottom: var(--space-24);
|
|
}
|
|
|
|
.margin-bottom-40 {
|
|
margin-bottom: var(--space-40);
|
|
}
|
|
|
|
.event-side {
|
|
/* Right-side action area: availability status and optional signup button. */
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: var(--space-16);
|
|
padding-top: 36px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Event-Beschrieb oberhalb von Eventtitel */
|
|
.event-location,
|
|
.event-date-time,
|
|
.event-gast,
|
|
.profile-event-meta {
|
|
color: var(--olive);
|
|
font-family: var(--font-main);
|
|
font-size: 1.125rem;
|
|
font-weight: 400;
|
|
line-height: 1;
|
|
|
|
display: inline-flex;
|
|
gap: var(--space-0);
|
|
}
|
|
|
|
/* Layout */
|
|
|
|
.layout-wide {
|
|
width: 75%;
|
|
max-width: 1200px;
|
|
margin: 82px auto 0 auto;
|
|
}
|
|
|
|
.layout-narrow {
|
|
width: 55%;
|
|
max-width: 900px;
|
|
margin: 82px auto 0 auto;
|
|
}
|
|
|
|
|
|
/*
|
|
.container {
|
|
width: 80%;
|
|
max-width: 75rem;
|
|
margin: 0 auto;
|
|
}
|
|
*/
|
|
|
|
/* Media Queries (Responsive) */
|
|
@media (max-width: 48rem) {
|
|
.container {
|
|
width: 95%;
|
|
}
|
|
|
|
.nav {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
.icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
flex: 0 0 20px;
|
|
display: inline-block;
|
|
}
|
|
|
|
/* Top Navigation */
|
|
.top-nav-wrap {
|
|
position: sticky;
|
|
height: 58px;
|
|
top: 1rem;
|
|
z-index: 100;
|
|
background: none;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.top-nav {
|
|
background: var(--white);
|
|
/*backdrop-filter: blur(3px) saturate(140%);
|
|
-webkit-backdrop-filter: blur(3px) saturate(140%);*/
|
|
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-interaction);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
min-height: 3rem;
|
|
padding: 0.1875rem 0.75rem 0.1875rem var(--space-32);
|
|
max-width: none;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 3.125rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.brand img {
|
|
width: auto;
|
|
height: 100%;
|
|
max-width: 6.5rem;
|
|
display: block;
|
|
}
|
|
|
|
.nav-tab {
|
|
color: var(--black);
|
|
font-size: 1.125rem;
|
|
font-weight: 400;
|
|
letter-spacing: var(--ls-sm);
|
|
line-height: 1;
|
|
text-decoration: none;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.nav-tab:hover, .nav-tab:active,
|
|
.nav-tab:focus-visible {
|
|
text-decoration: underline;
|
|
text-underline-offset: 6px;
|
|
text-decoration-thickness: 1.5px;
|
|
}
|
|
|
|
.nav-tab--active {
|
|
text-decoration: underline;
|
|
text-underline-offset: 6px;
|
|
text-decoration-thickness: 1.5px;
|
|
}
|
|
|
|
.nav-tab-links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-32);
|
|
}
|
|
|
|
|
|
/* Badge */
|
|
.badge,
|
|
.host-role {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: fit-content;
|
|
color: var(--olive-dark);
|
|
font-family: var(--font-main);
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
letter-spacing: var(--ls-lg);
|
|
z-index: 0;
|
|
}
|
|
|
|
.badge::before,
|
|
.host-role::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background-color: var(--olive-light);
|
|
margin: -0.25rem -0.75rem;
|
|
z-index: -1;
|
|
|
|
clip-path: polygon(
|
|
1.5% 0%,
|
|
100% 0%,
|
|
98.5% 100%,
|
|
0% 100%
|
|
);
|
|
}
|
|
|
|
|
|
/* Buttons */
|
|
.button-primary {
|
|
display: inline-block;
|
|
padding: var(--space-6) var(--space-24);
|
|
background-color: var(--olive);
|
|
border: 1.5px solid var(--olive);
|
|
border-radius: var(--radius-lg);
|
|
font-family: var(--font-main);
|
|
font-weight: 400;
|
|
font-size: 1.25rem;
|
|
color: var(--butter-light);
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition: background-color 0.2s ease, border-color 0.2s ease;
|
|
}
|
|
|
|
.button-primary:hover {
|
|
background-color: var(--olive-dark);
|
|
border-color: var(--olive-dark);
|
|
}
|
|
|
|
.button-primary:disabled {
|
|
border-color: transparent;
|
|
background: transparent;
|
|
color: var(--olive-dark);
|
|
opacity: 0.6;
|
|
padding: var(--space-6) 0 var(--space-6) var(--space-24);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
|
|
.button-primary-abmelden {
|
|
display: inline-block;
|
|
padding: 0.375rem 1.5rem;
|
|
background-color: var(--blue);
|
|
border: 1.5px solid var(--blue);
|
|
border-radius: var(--radius-lg);
|
|
font-family: var(--font-main);
|
|
font-weight: 400;
|
|
font-size: 1.25rem;
|
|
color: var(--butter-light);
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition: background-color 0.2s ease, border-color 0.2s ease;
|
|
}
|
|
|
|
.button-primary-abmelden:hover:not(:disabled),
|
|
.button-primary-abmelden:focus-visible:not(:disabled) {
|
|
background: var(--blue-dark);
|
|
border-color: var(--blue-dark);
|
|
}
|
|
|
|
.button-primary-abmelden:disabled {
|
|
background-color: var(--blue);
|
|
border-color: var(--blue);
|
|
color: var(--butter-light);
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.button-primary-eigener-event{
|
|
display: inline-block;
|
|
padding: 0.375rem 1.5rem;
|
|
background-color: var(--blue);
|
|
border: 1.5px solid var(--blue);
|
|
border-radius: var(--radius-lg);
|
|
font-family: var(--font-main);
|
|
font-weight: 400;
|
|
font-size: 1.25rem;
|
|
color: var(--butter-light);
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition: background-color 0.2s ease, border-color 0.2s ease;
|
|
}
|
|
|
|
.button-primary-eigener-event:hover {
|
|
background: var(--blue-dark);
|
|
border-color: var(--blue-dark);
|
|
}
|
|
|
|
.button-primary-eigener-event:disabled {
|
|
border-color: transparent;
|
|
background-color: var(--olive-light);
|
|
color: var(--olive-dark);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.button-secondary {
|
|
display: inline-block;
|
|
padding: 0.375rem 1.5rem;
|
|
background-color: transparent;
|
|
border: 1.5px solid var(--olive);
|
|
border-radius: var(--radius-lg);
|
|
font-family: var(--font-main);
|
|
font-weight: 400;
|
|
font-size: 1.25rem;
|
|
color: var(--olive);
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.button-secondary:hover {
|
|
color: var(--olive-dark);
|
|
background-color: var(--olive-light);
|
|
border-color: var(--olive-dark);
|
|
}
|
|
|
|
|
|
.button--outline {
|
|
background-color: transparent;
|
|
color: var(--olive);
|
|
border: 1.5px solid var(--olive);
|
|
}
|
|
|
|
.button--outline:hover {
|
|
background-color: var(--olive-light);
|
|
color: var(--olive-dark);
|
|
border: 1.5px solid var(--olive-dark);
|
|
}
|
|
|
|
.counter-button {
|
|
width: 44px;
|
|
height: 44px;
|
|
background-color: var(--olive);
|
|
border: 1.5px solid var(--olive);
|
|
border-radius: var(--radius-lg);
|
|
font-family: var(--font-main);
|
|
font-weight: 400;
|
|
font-size: 1.25rem;
|
|
color: var(--butter-light);
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition: background-color 0.2s ease, border-color 0.2s ease;
|
|
}
|
|
|
|
.counter-button:hover,
|
|
.counter-button:focus-visible {
|
|
background-color: var(--olive-dark);
|
|
border-color: var(--olive-dark);
|
|
}
|
|
|
|
|
|
.category-item {
|
|
border: 1.5px solid var(--tomato);
|
|
color: var(--tomato);
|
|
border-radius: var(--radius-pill);
|
|
background: var(--butter-light);
|
|
font-family: var(--font-main);
|
|
font-weight: 400;
|
|
font-size: 1.125rem;
|
|
line-height: 1;
|
|
padding: var(--space-8) var(--space-20);
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease, color 0.2s ease;
|
|
}
|
|
|
|
.category-item:hover,
|
|
.category-item:focus-visible,
|
|
.category-item.is-active,
|
|
.category-item.active {
|
|
background: var(--tomato);
|
|
color: var(--butter-light);
|
|
}
|
|
|
|
.category-item.disabled {
|
|
opacity: 0.6;
|
|
pointer-events: none;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
|
|
.category-items {
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-8);
|
|
}
|
|
|
|
.category-item-profile {
|
|
position: relative;
|
|
font-size: 1.25rem;
|
|
font-weight: 400;
|
|
line-height: 1;
|
|
height: 44px;
|
|
padding: 0 var(--space-24);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-16);
|
|
}
|
|
|
|
.filter-delete {
|
|
border: 1.5px solid var(--olive);
|
|
color: var(--olive);
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
.filter-delete:hover {
|
|
border: 1.5px solid var(--olive-dark);
|
|
color: var(--olive-dark);
|
|
background: var(--olive-light);
|
|
|
|
}
|
|
|
|
.button-small {
|
|
background: var(--olive);
|
|
color: var(--butter-light);
|
|
border: none;
|
|
font-size: 1.125rem;
|
|
letter-spacing: var(--ls-sm);
|
|
font-family: var(--font-main);
|
|
font-weight: 400;
|
|
line-height: 1;
|
|
border-radius: var(--radius-pill);
|
|
padding: 10px var(--space-16);
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
§
|
|
.button-small:hover, .button-small:active,
|
|
.button-small:focus-visible {
|
|
background: var(--olive-dark);
|
|
}
|
|
|
|
.logout-button {
|
|
margin-right: -1.25rem;
|
|
}
|
|
|
|
/* Auth-Links in ausgeloggter Navigation: klarer Aktiv-/Default-Zustand. */
|
|
.auth-nav-button--default {
|
|
background: transparent;
|
|
color: var(--olive);
|
|
border: 2px solid var(--olive);
|
|
}
|
|
|
|
.auth-nav-button--default:hover,
|
|
.auth-nav-button--default:focus-visible {
|
|
background: var(--olive-light);
|
|
color: var(--black);
|
|
}
|
|
|
|
.auth-nav-button--active {
|
|
background: var(--olive);
|
|
color: var(--butter-light);
|
|
border: 2px solid var(--olive);
|
|
}
|
|
|
|
.profile-pill {
|
|
position: relative;
|
|
width: 2.375rem;
|
|
height: 2.375rem;
|
|
border-radius: 1.1875rem;
|
|
background: var(--tomato);
|
|
color: var(--white);
|
|
font-size: 1.0625rem;
|
|
font-weight: 400;
|
|
letter-spacing: var(--ls-ui);
|
|
line-height: 1.3;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.notification-dot {
|
|
position: absolute;
|
|
top: -2px;
|
|
right: -2px;
|
|
width: 12px;
|
|
height: 12px;
|
|
background-color: var(--error);
|
|
border-radius: 50%;
|
|
border: 2px solid var(--butter-light);
|
|
z-index: 10;
|
|
}
|
|
|
|
/* Utilities */
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
|
|
/* Text Muted */
|
|
.text-muted {
|
|
color: #888;
|
|
font-size: 0.8rem;
|
|
font-weight: 400;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* Instagram Invite */
|
|
.instagram-invite {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 1em; /* keeps it aligned with text size */
|
|
margin-top: var(--space-48);
|
|
}
|
|
|
|
.instagram-invite__link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.instagram-invite_icon {
|
|
height: 32px;
|
|
width: 32px;
|
|
object-fit: contain;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.footer-invite_logo {
|
|
height: 56px;
|
|
width: 56px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.inline {
|
|
color: var(--tomato);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* Modal / Popup */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1000;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
animation: modalFadeIn 0.3s ease;
|
|
}
|
|
|
|
@keyframes modalFadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
.modal.show {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal-content {
|
|
background-color: var(--white);
|
|
padding: var(--space-40);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-interaction);
|
|
max-width: 460px;
|
|
width: 90%;
|
|
text-align: center;
|
|
animation: modalSlideIn 0.5s ease;
|
|
}
|
|
|
|
.btn-info {
|
|
width: 48px;
|
|
height: 48px;
|
|
flex: 0 0 48px;
|
|
border: 1.5px solid var(--olive-light);
|
|
border-radius: var(--radius-pill);
|
|
color: var(--black);
|
|
background: var(--butter-light);
|
|
font-family: "Bagel Fat One";
|
|
font-size: 1.75rem;
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.btn-info:hover,
|
|
.btn-info:focus-visible {
|
|
background: var(--olive-light);
|
|
}
|
|
|
|
@keyframes modalSlideIn {
|
|
from { transform: translateY(-50px); opacity: 0; }
|
|
to { transform: translateY(0); opacity: 1; }
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: var(--space-24);
|
|
}
|
|
|
|
.modal-header h2 {
|
|
margin: 0;
|
|
padding: 0;
|
|
text-align: left;
|
|
flex: 1;
|
|
}
|
|
|
|
.modal-close {
|
|
width: 32px;
|
|
height: 32px;
|
|
flex: 0 0 32px;
|
|
margin-left: auto;
|
|
border: none;
|
|
background: transparent;
|
|
color: transparent;
|
|
font-size: 2rem;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.modal-close:hover,
|
|
.modal-close:focus-visible {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.close-btn {
|
|
font-size: 28px;
|
|
color: var(--black);
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
width: 30px;
|
|
height: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.modal-body {
|
|
font-family: var(--font-main);
|
|
font-size: 1.125rem;
|
|
padding: var(--space-24) 0 var(--space-40) 0;
|
|
text-align: left;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.modal-footer {
|
|
display: flex;
|
|
gap: var(--space-12);
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Snackbar */
|
|
.snackbar,
|
|
.snackbar--danger {
|
|
position: fixed;
|
|
bottom: 40px;
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(100px);
|
|
color: var(--butter-light);
|
|
background: var(--tomato);
|
|
padding: var(--space-16) var(--space-40);
|
|
border-radius: var(--radius-pill);
|
|
font-size: 1.125rem;
|
|
font-weight: 400;
|
|
font-family: var(--font-main);
|
|
box-shadow: var(--shadow-interaction);
|
|
opacity: 0;
|
|
transition: transform 0.5s ease, opacity 0.4s ease;
|
|
z-index: 9999;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.snackbar--visible {
|
|
transform: translateX(-50%) translateY(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Lightbox */
|
|
.lightbox {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 200;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
}
|
|
|
|
.lightbox.is-open {
|
|
display: flex;
|
|
}
|
|
|
|
.lightbox__backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.75);
|
|
}
|
|
|
|
.lightbox__content {
|
|
position: relative;
|
|
margin: 0;
|
|
max-width: min(96vw, 1100px);
|
|
max-height: 90vh;
|
|
z-index: 1;
|
|
}
|
|
|
|
.lightbox__image {
|
|
display: block;
|
|
width: 100%;
|
|
max-height: 90vh;
|
|
object-fit: contain;
|
|
border-radius: 16px;
|
|
background: #111;
|
|
}
|
|
|
|
.lightbox__close {
|
|
position: absolute;
|
|
top: -42px;
|
|
right: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--white);
|
|
font-size: 40px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Formulare */
|
|
|
|
input[type="text"],
|
|
input[type="email"],
|
|
input[type="password"] {
|
|
font-size: 1.125rem;
|
|
font-family: var(--font-main);
|
|
width: 100%;
|
|
padding: var(--space-12) var(--space-16);
|
|
border: 1.5px solid var(--olive-light);
|
|
border-radius: var(--radius-md);
|
|
background: var(--butter-light);
|
|
transition: border-color 0.3s ease;
|
|
}
|
|
|
|
input:focus {
|
|
outline: none;
|
|
border: 2px solid var(--olive);
|
|
}
|
|
|
|
/* ---------------------------------------------------------
|
|
Overview Empty State
|
|
--------------------------------------------------------- */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: var(--space-32) var(--space-40);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--butter-light);
|
|
}
|
|
|
|
.empty-state-kicker {
|
|
color: var(--olive);
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.empty-state-link {
|
|
display: inline-block;
|
|
margin-top: 20px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
|
|
/* Footer */
|
|
|
|
.footer {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
align-items: center;
|
|
margin-top: 120px;
|
|
padding: var(--space-16) var(--space-48);
|
|
}
|
|
|
|
.footer-links {
|
|
display: flex;
|
|
gap: var(--space-24);
|
|
}
|
|
|
|
/* Left aligned */
|
|
.footer-left {
|
|
justify-self: start;
|
|
}
|
|
|
|
/* Centered */
|
|
.footer-center {
|
|
justify-self: center;
|
|
}
|
|
|
|
/* Right aligned */
|
|
.footer-right {
|
|
justify-self: end;
|
|
display: flex;
|
|
gap: var(--space-24);
|
|
}
|
|
|