/* ======================
    Colors
====================== */

:root {
    --jw-red: #C34141;
    --jw-red-hover: #9c3030;
    --jw-dark-red: #591b1b;
    --jw-green: #0F3F31;
    --jw-dark-green: #0A261F;
    --jw-light-green: #3B6B56;
    --jw-green-tp: rgba(59, 107, 86, 0.2);
    --jw-gold: #E7C875;
    --jw-dark-gold: #bb8a02;
    --jw-light-gold: #ffebb6;
    --jw-gold-tp: rgba(231, 200, 117, 0.2);
    --jw-light-red: #e26969;
    --jw-smooth-red: #E3C0C7;
    --jw-cream: #F5E4D5;
    --jw-cream-tp: #f5e4d547;
    --jw-snow: #F8F8F8;
    --jw-snow-dark: #DADADA;
    --jw-grey: #a5a4a4;
    --jw-frost: #F4F4F4;
    --jw-forest: #0B0E0D;
    --jw-red-shadow: rgba(195, 65, 65, 0.2);
    --jw-shadow: rgba(0, 0, 0, 0.1);
}

/* ======================
    General Styles
====================== */
@font-face {
    font-family: 'Franklin';
    src: url('/src/font/Franklin_Regular.ttf?v=1.0') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Freestyle';
    src: url('/src/font/freestyle_script.TTF?v=1.0') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html * {
    font-family: 'Franklin', sans-serif;
    font-size: 20px;
}

body {
    padding: 0;
    margin: 0;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    padding: 0;
}

strong {
    font-family: inherit;
    font-size: inherit;
    display: contents;
}

/* ======================
    Welcome Page Styles
====================== */
#snow-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    /* Damit man noch Buttons & Links klicken kann */
    z-index: 1;
    /* Über allem, aber anpassbar */
}

.welcome-top {
    height: 80svh;
    background: var(--jw-cream);
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.welcome-bottom {
    height: 20svh;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 20%;
    display: flex;
    background: var(--jw-red);
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

img.welcome-logo {
    width: 180px;
}

.reeny-waving {
    height: 200px;
    width: fit-content;
    margin-right: -20px;
    flex-shrink: 0;
}

.mascot-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.welcome-text {
    background: white;
    padding: 20px;
    border-radius: 0.5rem;
    color: var(--jw-green);
    position: relative;
    font-family: 'Arial';
    font-weight: bold;
}

.welcome-text span {
    font-size: inherit;
    animation: blink 1s infinite alternate ease-in-out;
    font-family: inherit;
}

.welcome-text::before {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 10px solid white;
    border-bottom: 10px solid transparent;
    border-left: 10px solid transparent;
    border-top: 10px solid transparent;
    box-sizing: border-box;
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.btn.white {
    width: 100%;
    background: var(--jw-snow);
    padding: 10px 20px;
    border-radius: 0.5rem;
    font-size: 28px;
    color: var(--jw-dark-red);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    border: 1px solid var(--jw-snow-dark);
    transition: 0.2s ease;
    cursor: pointer;
    position: relative;
}

.btn.white:hover {
    border: 1px solid var(--jw-red);
    box-shadow: 0 6px 6px var(--jw-shadow);
    transition: 0.2s ease;
}

/* ======================
    Verification Page Styles
====================== */
.verification-page {
    height: calc(100svh - 60px);
    width: 100%;
    top: 60px;
    padding: 20px 20% 20px 20%;
    background: var(--jw-snow);
    box-sizing: border-box;
    overflow-y: auto;
    position: fixed;
}

.veification-h {
    color: var(--jw-red);
    font-size: 40px;
    width: 100%;
    text-align: center;
}

.who-you-h {
    font-family: 'Arial';
    color: var(--jw-green);
    width: 100%;
    text-align: center;
}

.who-you-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 20px;
    align-items: center;
}

img.who-you-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 360px;
}

.who-you-card {
    background: white;
    border-radius: 0.8rem;
    border: 1px solid var(--jw-snow-dark);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    cursor: pointer;
    transition: 0.2s ease;
    max-width: 400px;
    min-width: 400px;
}

.who-you-card:hover {
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--jw-red);
}

.reeny-standing {
    height: 100px;
    position: absolute;
    right: 0;
    top: 0;
    transform: scaleX(-1);
    width: fit-content;
}

/* PIN */
/* Overlay */
.pin-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Box */
.pin-container {
    width: 90%;
    max-width: 360px;
    background: var(--snow-gray-100, #FAFAFA);
    border-radius: 22px;
    padding: 25px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: pop 0.25s ease;
}

@keyframes pop {
    from { transform: scale(0.92); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* User Info */
.pin-user-info {
    text-align: center;
    margin-bottom: 10px;
}

.pin-user-info img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
}

.pin-username {
    margin-top: 6px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Message */
.pin-message {
    margin: 10px 0 15px;
    text-align: center;
    font-size: 0.95rem;
}

/* Slots */
.pin-slots {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.pin-slot {
    width: 42px;
    height: 54px;
    border-radius: 12px;
    background: var(--jw-snow-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--jw-forest);
}

/* Numpad */
.pin-numpad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.pin-numpad button {
    background: var(--jw-snow);
    border: none;
    border-radius: 16px;
    padding: 18px 0;
    font-size: 1.3rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.07);
    transition: transform 0.1s;
}

.pin-numpad button:active {
    transform: scale(0.92);
}

.delete {
    font-size: 1.6rem;
}

.pin-close {
    margin-top: 18px;
    background: none;
    border: none;
    color: var(--jw-red);
    font-size: 0.95rem;
    cursor: pointer;
}

div#pinMessage {
    font-family: 'Arial';
    font-size: 14px;
    color: var(--jw-red);
}

/* ======================
    Dashboard Styles
====================== */
.dashboard-wrapper {
    height: calc(100svh - 140px);
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: var(--jw-snow);
    position: fixed;
    top: 60px;
    overflow-y: auto;
    left: 0;
}

.db-title {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    font-size: 32px;
    color: var(--jw-red);
    margin-bottom: 20px;
}

.wish-btn {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jw-red);
    color: white;
    border: none;
    border-radius: 360px;
    box-shadow: 0 6px 6px var(--jw-red-shadow);
    font-size: 24px;
    cursor: pointer;
    transition: 0.2s ease;
}

.wish-btn:hover {
    transform: scale(1.1);
    transition: 0.2s ease;
    background: var(--jw-red-hover);
}

.wish-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.wish-card {
    width: 100%;
    background: white;
    border: 1px solid var(--jw-snow-dark);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    border-radius: 0.8rem;
    position: relative;
}

.wish-card.deleted {
    border: 2px solid var(--jw-red);
}

.wish-card.my-gift {
    border: 2px solid var(--jw-light-green);
}

.wish-was-deleted-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    background: var(--jw-red-shadow);
    backdrop-filter: blur(5px);
    border-radius: 0.8rem;
    color: var(--jw-red);
}

.wish-was-deleted-wrapper .reserved-by {
    color: black;
    text-align: center;
}

.wish-card.deleted .wish-info,
.wish-card.deleted .wish-img-wrapper {
    filter: grayscale(1) opacity(0.5);
}

.wish-img-wrapper {
    width: 100%;
    position: relative;
}

img.wish-img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 0.8rem 0.8rem 0 0;
    box-sizing: border-box;
    border-bottom: 1px solid var(--jw-snow-dark);
}

img.wish-avatar-badge {
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-right: 4px solid var(--jw-snow);
    border-bottom: 4px solid var(--jw-snow);
    border-radius: 0.8rem 0 1.5rem 0;
    box-shadow: 2px 2px 12px var(--jw-shadow);
}

.wish-info {
    width: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

h3.wish-title {
    font-family: 'Arial';
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.wish-option {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 360px;
    color: var(--jw-grey);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    transition: 0.1s ease;
    cursor: pointer;
    z-index: 999;
}

.wish-option:hover {
    background: var(--jw-snow);
    color: var(--jw-forest);
    transition: 0.1s ease;
}

.wish-notes {
    background: var(--jw-gold-tp);
    padding: 0.5rem;
    font-size: 12px;
    font-family: 'Arial';
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--jw-light-gold);
    color: var(--jw-dark-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}

.wish-notes::before {
    content: "chat_bubble";
    font-family: 'Material Symbols Rounded';
    color: var(--jw-dark-gold);
}

.wish-price-link {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--jw-snow-dark);
    align-items: center;
    margin-bottom: 1rem;
}

.wish-price {
    padding: 0.5rem;
    background: var(--jw-snow);
    border-radius: 0.5rem;
    font-family: 'Arial';
    font-weight: bold;
    font-size: 16px;
}

.wish-url {
    text-decoration: none;
    color: var(--jw-snow-dark);
    padding: 0.5rem;
    border-radius: 360px;
    transition: 0.1s ease;
    cursor: pointer;
}

.wish-url:hover {
    background: var(--jw-red-shadow);
    color: var(--jw-red);
    transition: 0.1s ease;
}

.own-wish {
    font-family: 'Arial';
    font-size: 12px;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem;
    background: var(--jw-snow);
    border-radius: 0.5rem;
    color: var(--jw-grey);
}

.no-wishes {
    width: 100%;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Arial';
    color: var(--jw-grey);
    font-weight: bold;
    gap: 1rem;
    flex-direction: column;
    text-align: center;
    position: relative;
}

.no-wishes img {
    max-height: 200px;
    animation: drive-in 2s ease forwards;
}

.dashboard-canvas {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    object-fit: cover;
}

.wish-options-menu {
    position: absolute;
    z-index: 9999;
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    width: 180px;
    backdrop-filter: blur(5px);
    top: 34px;
    right: 0;
    color: var(--jw-forest);
    overflow: hidden;
}

hr.menu-divider {
    margin: 0 auto;
    width: calc(100% - 2rem);
    border-top: 1px solid var(--jw-snow);
}

.wish-option-item {
    padding: 10px 1rem;
    display: flex;
    gap: 6px;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Arial';
    font-weight: bold;
}

.wish-option-item .material-symbols-rounded {
    font-size: 20px;
}

.wish-option-item:hover {
    background: var(--jw-red-shadow);
    color: var(--jw-dark-red);
}

/* MODAL */
.modal-bg,
.preview-modal {
    position: fixed;
    z-index: 9999999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.modal-bg.open,
.preview-modal.open {
    display: flex;
}

.modal,
.modal-content {
    background: white;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    min-width: 50%;
    overflow: hidden;
    max-height: 100%;
}

.modal-header {
    width: 100%;
    background: var(--jw-snow);
    border-bottom: 1px solid var(--jw-snow-dark);
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.modal-title {
    display: flex;
    gap: 6px;
    align-items: center;
}

.modal-close {
    color: var(--jw-grey);
    width: 30px;
    height: 30px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 360px;
    cursor: pointer;
    transition: 0.1s ease;
}

.modal-close:hover {
    background: var(--jw-snow-dark);
    color: var(--jw-forest);
    transition: 0.1s ease;
}

.add-wish-container {
    margin: 1rem;
    background: var(--jw-gold-tp);
    padding: 1rem;
    box-sizing: border-box;
    border-radius: 0.8rem;
    border: 1px solid var(--jw-light-gold);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.add-container-title {
    font-family: 'Arial';
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: var(--jw-dark-gold);
}

.modal-input {
    font-family: 'Arial';
    font-size: 16px;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--jw-gold);
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.modal-input:focus {
    outline: 2px solid var(--jw-gold);
    border-color: transparent;
}

.input-description {
    font-family: 'Arial';
    font-size: 12px;
    color: var(--jw-dark-gold);
}

.add-container-input {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.magic-search {
    background: var(--jw-dark-gold);
    color: white;
    border: 0;
    border-radius: 0.5rem;
    width: 100%;
    cursor: pointer;
    transition: 0.1s ease;
    display: flex !important;
    align-items: center !important;
    gap: 6px;
    justify-content: center !important;
    max-width: 100px;
}

.magic-search::after {
    content: "Suchen";
    font-family: 'Arial';
    font-size: 14px;
}

.magic-search:hover {
    background: var(--jw-gold);
    transition: 0.1s ease;
}

.or-divider {
    width: calc(100% - 2rem);
    border-top: 1px solid var(--jw-snow-dark);
    margin: 1rem 1rem 2rem 1rem;
    position: relative;
}

.or-divider::before {
    content: "ODER";
    font-family: 'Arial';
    font-size: 12px;
    padding: 0.5rem;
    background: white;
    top: -50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--jw-snow-dark);
}

.manual-input {
    margin: 0 1rem 1rem 1rem;
    padding: 1rem;
    box-sizing: border-box;
    border: 2px dashed var(--jw-snow-dark);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Arial';
    font-weight: bold;
    font-size: 14px;
    color: var(--jw-grey);
    transition: 0.1s ease;
}

.manual-input:hover {
    border-color: var(--jw-grey);
    background: var(--jw-snow);
    color: var(--jw-forest);
    cursor: pointer;
    transition: 0.1s ease;
}

.modal-footer {
    height: 30px;
    background: var(--jw-snow);
    border-top: 1px solid var(--jw-snow-dark);
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* LOADING MODAL */
.loading-bar-wrapper {
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.loading-bar-bg {
    height: 10px;
    width: 100%;
    background: var(--jw-snow-dark);
    border-radius: 360px;
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    background: linear-gradient(45deg, var(--jw-dark-gold), var(--jw-gold), var(--jw-light-gold));
    border-radius: 360px;
}

.loading-text {
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem 1rem;
    font-family: 'Arial';
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--jw-dark-gold);
}

.loading-bar-glow {
    animation: glow 2s infinite alternate;
    background: linear-gradient(45deg, transparent 20%, rgba(255, 255, 255, 0.4), transparent 80%);
    height: 100%;
}

.reeny-looking {
    height: 140px;
    margin-bottom: -20px;
}

/* PRODUCT PREVIEW MODAL */
.wish-save-container {
    overflow-y: auto;
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-label {
    font-family: 'Arial';
    font-size: 14px;
    font-weight: bold;
}

.modal-input-two {
    padding: 0.5rem;
    font-size: 16px;
    font-family: 'Arial';
    border-radius: 0.5rem;
    border: 1px solid var(--jw-snow-dark);
    background: var(--jw-snow);
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.modal-input-two:focus {
    border: 1px solid transparent;
    outline: 2px solid var(--jw-red);
}

span.label-description {
    font-family: inherit;
    font-weight: normal;
    font-size: 10px;
    color: var(--jw-grey);
}

.preview-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jw-snow);
    border-radius: 0.5rem;
}

img.preview-wish-img {
    max-height: 200px;
}

.modal-inner {
    padding: 1rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

label[for="moreOptions"] {
    font-family: 'Arial';
    font-size: 12px;
    font-weight: bold;
    color: var(--jw-snow-dark);
    display: flex;
    margin-top: 1rem;
    padding-bottom: 1rem;
    align-self: center;
    border-top: 1px solid var(--jw-snow-dark);
    width: 100%;
    cursor: pointer;
}

input#moreOptions {
    display: none;
}

label[for="moreOptions"]:hover .extension-divider {
    border-top: 1px solid var(--jw-red);
    transition: 0.1s ease;
}

label[for="moreOptions"]:hover .extension-divider::before {
    color: var(--jw-red);
    transition: 0.1s ease;
}

.extension-divider {
    width: 100%;
    border-top: 1px solid var(--jw-snow-dark);
    position: relative;
    transition: 0.1s ease;
}

.extension-divider::before {
    content: "ERWEITERTE OPTIONEN";
    font-family: 'Arial';
    font-size: 12px;
    padding: 0.5rem;
    background: white;
    top: -50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--jw-snow-dark);
    transition: 0.1s ease;
}

.preview-more-options {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
}

input#moreOptions:checked+.preview-more-options {
    display: flex;
}

label[for="moreOptions"]:has(+ input#moreOptions:checked) .extension-divider {
    border-top: 1px solid var(--jw-red);
    transition: 0.1s ease;
}

label[for="moreOptions"]:has(+ input#moreOptions:checked) .extension-divider::before {
    color: var(--jw-red);
    transition: 0.1s ease;
}

.modal-footer.with-btn {
    height: fit-content;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.wish-save-btn {
    padding: 0.5rem;
    flex-shrink: 0;
    color: white;
    background: var(--jw-red);
    width: 100%;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 6px 6px var(--jw-red-shadow);
    font-family: 'Arial';
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: 0.1s ease;
}

.wish-save-btn:hover {
    background-color: var(--jw-red-hover);
    transition: 0.1s ease;
}

.warning-box {
    padding: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0.5rem;
    font-family: 'Arial';
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.warning-box.success {
    background: var(--jw-green-tp);
    color: var(--jw-green);
}

.warning-box.success::before {
    content: "wand_stars";
    font-family: 'Material Symbols Rounded';
    font-size: 18px;
}

.warning-box.hint {
    background: var(--jw-gold-tp);
    color: var(--jw-dark-gold);
}

.warning-box.hint::before {
    content: "warning";
    font-family: 'Material Symbols Rounded';
    font-size: 18px;
}

.warning-box.error {
    background: var(--jw-red-shadow);
    color: var(--jw-red);
}

.warning-box.error::before {
    content: "error";
    font-family: 'Material Symbols Rounded';
    font-size: 18px;
}

/* Delete Modal */
.schon-eingepackt {
    font-size: 16px;
    font-family: 'Arial';
    text-align: center;
    color: var(--jw-grey);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.reeny-paper {
    height: 200px;
}

/* ======================
    Family Dashboard
====================== */

.give-btn,
.cancel-give-btn {
    background: var(--jw-red);
    color: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-family: 'Arial';
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.1s ease;
    box-shadow: 0 6px 6px var(--jw-red-shadow);
}

.give-btn:hover {
    background: var(--jw-red-hover);
}

.cancel-give-btn {
    color: var(--jw-grey);
    background: white;
    border: 1px solid var(--jw-snow-dark);
    box-shadow: unset;
    transition: 0.1s ease;
}

.cancel-give-btn:hover {
    color: var(--jw-red);
    transition: 0.1s ease;
}

.hidden {
    display: none !important;
}

.already-given {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 99;
    border-radius: 0.8rem;
    background: rgb(226 226 226 / 70%);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: 'Arial';
}

.already-given.shown {
    display: flex;
}

.reserved-icon {
    width: 50px;
    height: 50px;
    color: var(--jw-red);
    font-size: 32px !important;
    background: var(--jw-snow);
    border-radius: 360px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 6px var(--jw-shadow);
    margin-bottom: 1rem;
}

.reserved-by {
    font-family: 'Arial';
    font-size: 12px;
    margin-top: 0.2rem;
    color: var(--jw-grey);
}

.already-given-user-info {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--jw-snow);
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Arial';
    font-size: 14px;
    font-weight: bold;
}

.already-given-user-info img {
    width: 30px;
    border-radius: 360px;
    height: 30px;
    object-fit: cover;
}

.wish-for {
    font-family: 'Arial';
    font-size: 12px;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--jw-snow);
    padding: 4px 0.5rem;
    border-radius: 0.3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wish-for-avatar {
    height: 30px;
    width: 30px;
    object-fit: cover;
    border-radius: 360px;
}

.my-present {
    width: 100%;
    position: absolute;
    top: 0;
    background: var(--jw-light-green);
    color: white;
    font-size: 12px;
    font-family: 'Arial';
    padding: 4px 0.5rem;
    box-sizing: border-box;
    border-radius: 0.6rem 0.6rem 0 0;
    text-align: center;
}

/* ======================
    Gift Dashboard
====================== */
.gift-table {
    width: 100%;
    border-radius: 0.8rem;
    box-shadow: 0 0 12px var(--jw-shadow);
    border-collapse: collapse;
    overflow: hidden;
}

.gift-table thead tr th {
    font-family: 'Arial';
    font-size: 16px;
    font-weight: bold;
    background: var(--jw-snow);
    padding: 1rem;
    text-align: left;
}

th.table-price,
td.gift-price {
    text-align: right !important;
}

.gift-table tbody tr td {
    padding: 1rem;
    font-family: 'Arial';
    font-size: 14px;
}

.gift-table tbody tr {
    position: relative;
}

tr.deleted::after {
    content: "Dieser Wunsch wurde gelöscht.";
    font-family: 'Arial';
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--jw-red);
    padding: 0.5rem;
    border-radius: 0.5rem;
    transform: translate(-50%, -50%);
    color: white;
    box-shadow: 0 0 6px var(--jw-shadow);
}

tr.deleted {
    background: var(--jw-red-shadow);
}

.gift-table tbody {
    background: white;
}

.gift-table tfoot tr td {
    font-family: 'Arial';
    font-size: 16px;
    font-weight: bold;
    background: var(--jw-snow);
    padding: 1rem;
}

td.gift-price.total-price {
    color: var(--jw-red);
    text-align: right !important;
    white-space: nowrap;
}

td.gift-price {
    white-space: nowrap;
}

td.gift-article a {
    font-family: 'Arial';
    font-size: 12px;
    padding: 0.2rem 0.5rem;
    border-radius: 0.3rem;
    display: flex;
    width: fit-content;
    margin-top: 0.3rem;
    color: var(--jw-dark-gold);
    text-decoration: none;
    cursor: pointer;
    transition: 0.1s ease;
    border: 1px solid var(--jw-light-gold);
    white-space: nowrap;
}

td.gift-article a:hover {
    background: var(--jw-gold-tp);
    transition: 0.1s ease;
}

.cancel-gift-btn {
    font-family: 'Arial';
    font-size: 12px;
    padding: 0.5rem;
    border-radius: 0.3rem;
    display: flex;
    width: fit-content;
    margin-top: 0.3rem;
    color: var(--jw-red);
    text-decoration: none;
    background: transparent;
    cursor: pointer;
    transition: 0.1s ease;
    border: none;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.cancel-gift-btn:hover {
    background: var(--jw-red-shadow);
    transition: 0.1s ease;
}

.gift-person {
    display: flex;
    align-items: center;
    font-family: 'Arial';
    font-size: 14px;
    gap: 6px;
    font-weight: bold;
}

img.gift-avatar {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 360px;
}

/* ======================
    Header Styles
====================== */
.header {
    height: 60px;
    background: white;
    border-bottom: 2px solid var(--jw-snow-dark);
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
}

img.head-logo {
    height: 40px;
}

img.head-font {
    height: 40px;
}

/* ======================
    Header Dashboard Styles
====================== */
.db-avatar {
    height: 40px;
    width: 40px;
    border-radius: 360px;
    flex-shrink: 0;
    object-fit: cover;
}

.db-first {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.db-second {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
}

.logout-btn {
    height: 40px;
    width: 40px;
    border-radius: 360px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none;
    color: var(--jw-grey);
    font-size: 24px !important;
}

.logout-btn:hover {
    background: var(--jw-snow-dark);
    color: var(--jw-forest);
}

/* ======================
    Appbar Styles
====================== */
.appbar {
    height: 80px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid var(--jw-snow-dark);
    box-shadow: 6px 0 12px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
}

.appbar-item {
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    gap: 4px;
    text-decoration: none;
    color: var(--jw-grey);
    transition: 0.1s ease;
    cursor: pointer;
}

.appbar-item.active {
    color: var(--jw-red);
    transition: 0.1s ease;
}

.appbar-item .material-symbols-rounded {
    font-size: 28px;
}

.appbar-item:hover {
    color: var(--jw-red);
    transition: 0.1s ease;
}

.appbar-item.primary {
    height: 60px;
    width: 60px;
    background: white;
    border-radius: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--jw-grey);
    border: 4px solid var(--jw-snow);
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.4);
    transition: 0.1s ease;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.appbar-item.primary.active {
    color: white;
    box-shadow: 0 12px 20px -8px rgba(195, 65, 65, 0.8);
    background: var(--jw-red);
    transition: 0.1s ease;
}

.appbar-item.primary:hover {
    transition: 0.1s ease;
    box-shadow: 0 12px 20px -4px rgba(195, 65, 65, 1);
    background: var(--jw-red);
    color: white;
}

.page-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    color: var(--jw-red);
}

.page-loader.show {
    opacity: 1;
}


/* ======================
    Media Queries
====================== */
@media only screen and (max-width: 900px) {
    .welcome-bottom {
        padding: 20px;
    }

    .reeny-waving {
        margin-left: -30px;
        margin-right: -30px;
    }

    .welcome-text {
        margin-right: 20px;
        text-align: center;
    }

    .verification-page {
        padding: 20px;
    }

    .who-you-card {
        min-width: unset;
        width: 100%;
    }

    .magic-search::after {
        content: "";
    }

    .magic-search {
        gap: unset;
        max-width: 40px;
    }

    .wish-container {
        grid-template-columns: 1fr;
    }

    .modal {
        width: 100%;
    }

    .gift-table-wrapper {
        width: calc(100% - 20px);
        padding: 20px;
        overflow-x: auto;
        margin-left: -20px;
    }
}

/* ======================
    Animations
====================== */
@keyframes blink {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1;
    }
}

@keyframes glow {
    0% {
        opacity: 0;
        width: 0%;
    }

    100% {
        opacity: 1;
        width: 100%;
    }
}

@keyframes drive-in {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}