body {
    background-color: var(--background-color);
}



/* Container für alle Modale */
.modal-container {
    display: none; /* Unsichtbar, bis es aktiviert wird */
    flex-direction: column; /* Vertikale Anordnung */
    height: 100%; /* Volle Bildschirmhöhe */
    width: 100%;
    position: fixed; /* Behält die Modale im Viewport */
    top: 0;
    left: 0;
    right: 0;
    z-index: 100; /* Bootstrap-Standard für Modale */
    overflow-y: scroll; /* Vertikales Scrollen erlauben */
    scroll-snap-type: y mandatory; /* Snap-Funktion für vertikales Scrollen */
    background-color: rgba(0, 0, 0, 0.9); /* Abdunkelung des Hintergrunds */
    overflow-x: hidden;
    backdrop-filter: blur(5px); /* Weicher Unschärfe-Effekt */
}

/* Einzelnes Modal */
.modal-item {
    flex-shrink: 0;
    scroll-snap-align: start; /* Modal rasten ein */
    height: -webkit-fill-available; /* iOS-spezifisch */
    width: 100%; /* Modal nimmt die volle Breite ein */
    display: flex;
    transition: opacity 0.5s ease-in-out; /* Sanfter Übergang */
}

.modal-item.verstecken {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out; /* Sanfter Übergang */
}

.modal-item.visible {
    display: flex; /* Sichtbar machen */
    opacity: 1;
}

/* Modal-Inhalt */
.modal-content {
    position: relative;
    width: 100%; /* Volle Breite des Modals */
    height: 100%; /* Volle Höhe des Modals */
    display: flex;
    justify-content: center; /* Zentriere den Inhalt */
    align-items: center; /* Zentriere den Inhalt */
    overflow: hidden; /* Verhindert Überlauf */
    padding-bottom: calc(env(safe-area-inset-bottom) + 60px);
}

/* Bereich für das Bild/Video */
.media-container {
    display: flex;
    justify-content: center; /* Zentriere horizontal */
    width: 100%; /* Volle Breite */
    height: 95%; /* Volle Höhe des Containers */
    overflow: hidden; /* Verhindert Überlauf */
}

/* Bereich für das Bild/Video */
.fullscreen-modal {
    width: 100%; /* Volle Breite */
    height: 100%; /* Volle Höhe des Containers */
}

.media-container img,
.media-container video {
    max-width: 100%; /* Passt sich der Breite an */
    max-height: 100%; /* Passt sich der Höhe an */
    object-fit: contain; /* Verhindert Verzerrung */
}

/* Zurück-Button */
.back-button {
    position: absolute;
    top: 60px; /* Anpassung für bessere Platzierung */
    left: 20px;
    font-size: 1.2rem; /* Schriftgröße für Icons/Text */
    color: white;
    border: none; /* Keine Umrandung */
    cursor: pointer;
    z-index: 150;
    background: rgba(0, 0, 0, 0.7); /* Leicht transparent */
    border-radius: 50%; /* Perfekt rund */
    height: 50px; /* Gleiche Höhe und Breite für Kreisform */
    width: 50px;
    display: flex; /* Zentriert den Inhalt */
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); /* Leichter Schatten */
    transition: background 0.3s ease, transform 0.2s ease; /* Glatter Hover-Effekt */
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.8); /* Heller bei Hover */
    color: black; /* Textfarbe ändern */
    transform: scale(1.1); /* Leichtes Vergrößern */
}


.interaction-button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem; /* Größe der Icons */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    margin-bottom: 10px;
}

.interaction-button:hover {
    color: var(--theme-color); /* Farbe bei Hover */
}

.interaction-button span {
    margin-left: 10px;
    font-size: 1rem; /* Textgröße für zusätzliche Beschriftungen */
}

/* Details-Bereich */
.details {
    margin-top: 10px;
    text-align: center;
    font-size: 1rem;
    color: white;
}

/* Anpassung für kleinere Bildschirme */
@media (max-width: 768px) {
    .interaction-button {
        font-size: 1.8rem; /* Kleinere Icons auf mobilen Geräten */
    }

    .details {
        font-size: 0.8rem;
    }
}

.zoom-container {
    position: relative;
    width: 100%; /* Passt sich der Breite des Bildschirms an */
    max-height: 100vh; /* Begrenze die maximale Höhe */
    display: flex;
    justify-content: center; /* Zentriere das Bild horizontal */
    align-items: center; /* Zentriere das Bild vertikal */
    background-color: rgba(0, 0, 0, 0); /* Optional für besseren Kontrast */
}

.zoomable-image {
    width: auto; /* Automatische Breite */
    max-width: 100%; /* Bild passt in den Container */
    height: auto;
    transform-origin: center; /* Skalierung wird zentriert */
    transition: transform 0.1s ease; /* Für weiche Übergänge */
}

/* Plus-Kachel */
.add-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 2px dashed #f9b9b1; /* Farblich ans Design angepasst */
    background-color: rgba(255, 245, 230, 0.5);
    cursor: pointer;
    border-radius: 12px;
    transition: background 0.3s ease, transform 0.2s ease;
}

/* Hover-Effekt */
.add-photo:hover {
    background: rgba(249, 185, 177, 0.3);
}


/* Hover-Effekt */
.add-photo:hover .progress-text {
    color: #f0394d;
}

.album-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-height: 600px; /* Gesamtbereich */
    background-color: var(--header-color);
}

.album-header-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(0.5 * 100%); /* Default value for header_background_split */
    background-size: cover;
    background-position: center;
    border-radius: 5px;
}

.album-header-top-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--header-color2);
    z-index: 1;
    pointer-events: none;
    border-radius: 5px;
}

.album-header-content {
    position: relative;
    z-index: 1; /* Inhalte erscheinen über dem blauen Bereich */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
}

.album-title-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background-color: white; /* Hintergrund des Kreises */
    border: 4px solid var(--accent-color); /* Kreisrand */
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2); /* Optionaler Schatten */
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bildfüllung */
}

.placeholder-icon {
    font-size: 1rem;
    color: gray;
}

.album-title {
    font-weight: bold;
    color: black;
    margin-top: 10px;
}

.text-muted {
    color: #666;
    margin-top: 5px;
}









/* Modal-Hintergrund für Collections */
.collection-modal, .name-modal, .settings-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px); /* Weicher Unschärfe-Effekt */
    animation: fadeIn 0.3s ease-in-out;
    text-align: center;
}

/* Modal-Inhalt spezifisch für Collections */
.collection-modal-content, .name-modal-content, .settings-modal-content {
    background-color: #fff;
    margin: 5% auto;
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 8px;
    width: 85%;
    max-width: 500px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Schließen-Button für das Collection-Modal */
.close-collection-modal, .close-name-modal, .close-settings-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.close-collection-modal:hover, .close-name-modal:hover, .close-settings-modal:hover {
    color: var(--theme-color);
}

/* Rundes Album-Bild */
.name-modal-image {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.name-modal-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Modal Header */
.name-modal-header h2 {
    font-weight: var(--header-font-weight);
    color: #333;
    margin-bottom: 10px;
    font-size: var(--header-font-size);
    font-style: var(--header-font-style);
    margin-top: 10px;
    text-align: center;
    font-family: var(--header-font);
}

/* Modal Body */
.name-modal-body {
    margin-bottom: 20px;
}

.name-modal-body label {
    font-size: 1rem;
    font-weight: bold;
    color: #555;
    display: block;
    margin-bottom: 10px;
}

.name-modal-body input {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Modal Footer */
.name-modal-footer {
    margin-top: 20px;
}

.name-modal-footer .btn-primary {
    padding: 10px 20px;
    font-size: 1rem;
    color: white;
    background-color: var(--theme-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.name-modal-footer .btn-primary:hover {
    background-color: #0056b3;
}



.info-bar {
    background-color: rgba(0, 0, 0, 0);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: left;
    font-size: 0.9rem;
    bottom: calc(env(safe-area-inset-bottom) + 10px); /* Dynamisch Abstand unten */
    left: 15px;
    right: 15px;
    z-index: 200; /* Höher als andere Modal-Inhalte */
    position: absolute;
    width: 300px;
}

.info-bar p {
    margin: 5px 0; /* Abstand zwischen den Zeilen */
    line-height: 1.6; /* Bessere Lesbarkeit durch größere Zeilenhöhe */
    font-size: 0.7rem; /* Einheitliche Schriftgröße */
    color: #f1f1f1; /* Dezente, angenehme Textfarbe */
}

.info-bar strong {
    font-weight: bold; /* Wichtige Details hervorheben */
    color: var(--theme-color); /* Auffällige Akzentfarbe */
    text-transform: capitalize; /* Optional: Wörter stilvoll formatieren */
}

.comment-preview-zone {
    position: absolute;
    bottom: 15%; /* Platzierung anpassen */
    width: 100%;
    text-align: center;
    font-size: 1rem;
    color: #f1f1f1;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.comment-preview {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.sticky-menu {
    position: fixed;
    bottom: 5px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 2;
}

.sticky-menu a {
    color: white;
    font-size: 0.8rem;
    text-decoration: none;
    text-align: center;
    flex: 1;
    line-height: 1.5; /* Abstand zwischen Emoji und Text */
    display: block; /* Jede Menüoption in einer Zeile */
}

.sticky-menu a:hover {
    color: var(--theme-color);
}

.delete-media-button {
    display: none;
    background-color: var(--theme-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.delete-media-button:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
    background-color: #ff6b81;
}

.edit-title-image-button {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--theme-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.edit-title-image-button:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
    background-color: #0056b3;
}



.guestbook-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6); /* Dunkleres Overlay */
    backdrop-filter: blur(5px); /* Weicher Unschärfe-Effekt */
}

.guestbook-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
}

.close-guestbook-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    border: none;
    background: none;
    transition: color 0.3s ease;
}

.close-guestbook-modal:hover {
    color: var(--theme-color);
}

.new-entry-button {
    display: block;
    margin-bottom: 20px;
    padding: 12px 25px;
    background-color: var(--theme-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.new-entry-button:hover {
    background-color: #0056b3;
    transform: scale(1.05); /* Leichter Hover-Effekt */
}

.guestbook-entry-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Abstand zwischen den Feldern */
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Abstand zwischen Label und Input */
}

.form-group label {
    font-weight: bold;
    font-size: 1rem;
    color: #333;
}

.guestbook-entry-form input,
.guestbook-entry-form textarea {
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box; /* Verhindert Überlauf */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.guestbook-entry-form input:focus,
.guestbook-entry-form textarea:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

.guestbook-entry-form textarea {
    resize: vertical; /* Erlaubt nur vertikales Vergrößern */
    min-height: 80px;
}

.submit-entry-button {
    padding: 12px 20px;
    background-color: var(--theme-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-entry-button:hover {
    background-color: #0056b3;
    transform: scale(1.05); /* Leichter Hover-Effekt */
}

.guestbook-entries {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto; /* Scrollen bei vielen Einträgen */
    padding-right: 10px; /* Platz für die Scrollbar */
}

.guestbook-entry {
    padding: 15px;
    background-color: #fefefe;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guestbook-entry:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.guestbook-entry h3 {
    margin: 0;
    font-size: 1rem;
    color: #222;
    font-weight: bold;
}

.guestbook-entry time {
    font-size: 1rem;
    color: #888;
}

.guestbook-entry p {
    margin-top: 10px;
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
}

/* Sanfte Animation für das Modal */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    font-family: Arial, sans-serif;
}

.timeline-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 10px;
    border-radius: 10px;
    width: 95%;
    max-width: 700px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-timeline-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
}

.close-timeline-modal:hover {
    color: var(--theme-color);
}

.timeline-header {
    text-align: center;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-event {
    display: flex;
    align-items: flex-start;
    padding: 8px;
    border-left: 4px solid var(--theme-color);
    position: relative;
}

.timeline-time {
    font-size: 1rem;
    font-weight: bold;
    margin-right: 20px;
}

.timeline-details {
    flex-grow: 1;
}

.timeline-details h3 {
    margin: 0;
    font-size: 1rem;
}

.timeline-details p {
    margin: 5px 0 0;
    color: #666;
}

.timeline-marker {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 1rem;
    background-color: var(--theme-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
}

.now-marker {
    background-color: var(--theme-color);
}

.next-marker {
    background-color: #f0ad4e;
}

.timeline-footer {
    margin-top: 20px;
    text-align: center;
}

#countdown-timer {
    font-size: 1rem;
    color: #333;
}

.heart-animated {
    position: absolute;
    font-size: 40px;
    color: red;
    opacity: 0;
    animation: float 4s cubic-bezier(0.25, 1, 0.5, 1) forwards, fade-out 4s ease-in forwards;
    z-index: 1001;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) scale(1) rotate(0deg);
    }
    10% {
        transform: translateY(-50px) translateX(-5px) scale(1.02) rotate(-2deg);
    }
    20% {
        transform: translateY(-100px) translateX(10px) scale(1.05) rotate(4deg);
    }
    30% {
        transform: translateY(-150px) translateX(-15px) scale(1.03) rotate(-3deg);
    }
    40% {
        transform: translateY(-200px) translateX(10px) scale(1) rotate(2deg);
    }
    50% {
        transform: translateY(-250px) translateX(-5px) scale(0.98) rotate(-1deg);
    }
    60% {
        transform: translateY(-300px) translateX(5px) scale(0.95) rotate(1deg);
    }
    70% {
        transform: translateY(-350px) translateX(-10px) scale(0.92) rotate(0deg);
    }
    80% {
        transform: translateY(-400px) translateX(5px) scale(0.9) rotate(-1deg);
    }
    90% {
        transform: translateY(-450px) translateX(0px) scale(0.88) rotate(0deg);
    }
    100% {
        transform: translateY(-500px) translateX(0) scale(0.85) rotate(0deg);
    }
}

@keyframes fade-out {
    0% {
        opacity: 1;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
    }
}

/* Dropdown-Button Styling */
.settings-modal-dropdown-button {
    background-color: #6c757d;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 300px;
}

.settings-modal-dropdown-button:hover {
    background-color: #5a6268;
    transform: scale(1.02);
}

/* Dropdown Menü */
.settings-modal-dropdown-menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    min-width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.settings-modal-dropdown-menu.show {
    display: block;
}

.settings-modal-dropdown-menu li {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.settings-modal-dropdown-menu li a {
    text-decoration: none;
    color: #333333;
    display: block;
    width: 100%;
}

.settings-modal-dropdown-menu li:hover {
    background-color: #007bff;
    color: #ffffff;
}

/* Positionierung des Dropdown-Menüs relativ zum Button */
.settings-modal-dropdown {
    position: relative;
}

.settings-modal-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
}

/* Tabs standardmäßig ausblenden */
.settings-modal-tab-content {
    display: none;
}

/* Aktiven Tab-Inhalt anzeigen */
.settings-modal-tab-content.active {
    display: block;
}

/* Modal Hintergrund */
.settings-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0); /* Hintergrundfarbe */
    backdrop-filter: blur(5px); /* Verschwommener Hintergrund */
}

/* Vorschau-Modus */
.settings-modal.preview-mode .settings-modal-content {
    opacity: 0.01; /* Modal-Inhalt transparent */
    pointer-events: none; /* Keine Interaktion */
}

.settings-modal.preview-mode {
    backdrop-filter: blur(0px); /* Stärkerer Blur im Vorschau-Modus */
}

/* Vorschau-Button bleibt interaktiv */
.settings-modal-footer .settings-modal-preview-button {
    pointer-events: auto;
    opacity: 1;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    padding: 40px 20px;
    max-width: 700px;
    margin: 0 auto;
    border-left: 2px solid #e0e0e0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Timeline Event */
.timeline-event {
    position: relative;
    padding: 25px 25px;
    margin-left: 40px;
    opacity: 1;
    transform: translateY(30px);
    transition: all 0.5s ease-in-out;
    border-left: 2px solid transparent;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Timeline Icon */
.timeline-event .timeline-icon {
    width: 60px; /* Gleiche Höhe und Breite */
    height: 60px;
    font-size: 28px;
    text-align: center; /* Zentriert das Icon horizontal */
    position: relative;
    flex-shrink: 0;
    background: #ffffff;
    color: #d4a373;
    border: 2px solid #d4a373;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}

.timeline-event:hover .timeline-icon {
    transform: scale(1.1);
    border-color: #7a5836;
    color: #7a5836;
}

/* Timeline Content */
.timeline-event .timeline-content {
    flex: 1;
}

.timeline-event .timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #7a5836;
    margin-bottom: 10px;
}

.timeline-event .timeline-content p {
    font-size: 1rem;
    color: #6c757d;
}

.timeline-event.active {
    border-left: 4px solid #d4a373;
    background-color: #fff8e1;
    box-shadow: 0 0 15px rgba(212, 163, 115, 0.5);
}

/* Fortschrittsleiste */
.timeline-progress {
    position: absolute;
    left: -1px;
    top: 0;
    width: 10px;
    height: 0;
    background: var(--accent-color);
    border-radius: 5px;
    transition: height 3s ease-in-out;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .timeline-container {
        padding: 20px 10px;
        border-left: 2px solid #e0e0e0;
    }

    .timeline-event {
        margin-left: 20px;
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .timeline-event .timeline-icon {
        font-size: 24px;
        padding: 10px;
    }

    .timeline-event .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-event .timeline-content p {
        font-size: 0.9rem;
    }
}

/* Dezentes Container-Design */
.sort-container {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    margin-bottom: 10px;
}

/* Beschriftung */
.sort-label {
    font-weight: normal;
    color: #7a5836; /* Dezente Akzentfarbe */
}

/* Minimalistisches Dropdown */
.sort-dropdown {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #d4a373;
    background: white;
    color: #7a5836;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease-in-out;
}

.sticky-footer {
    text-align: center;
    font-size: 8px; /* Kleine Schrift */
    padding: 5px;
    background-color: #ffffff; /* Dezente Farbe passend zum Design */
    position: fixed;
    bottom: -5px;
    width: 100%;
    z-index: 2;
}

.sticky-footer a {
    font-size: 8px;
    color: #0b0000;
    text-decoration: none;
    margin: 0 8px;
}

.sticky-footer a:hover {
    text-decoration: underline;
}

.icon-scroll-container {
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.icon-selector {
    display: inline-flex;
    gap: 20px;
}

.icon-option {
    font-size: 3rem; /* Größere Icons */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    color: #555;
}

#swatchContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 6px;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.color-swatch:hover {
    border-color: #aaa;
}

.collection-title-image {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
    border-radius: 80px;
    overflow: hidden;
    cursor: pointer;
    z-index: 20;
}

.collection-title-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-selection-overlay {
    position: absolute; /* Innerhalb des Modals */
    top: 50px; /* Standardwert */
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    width: 90%;
    max-width: 400px;
    display: none;
}

.collection-selection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.close-overlay {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.collection-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}




/* Bildübersicht */
.assign-image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.assign-image-grid img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.assign-image-grid img.selected {
    border-color: var(--theme-color);
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.8);
}

/* Collection-Auswahl */
.assign-collection-select {
    margin-top: 20px;
    text-align: center;
}

#assign-collection-select {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid var(--accent-color);
}

/* Speichern-Button */
.assign-save-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--theme-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.assign-save-button:hover {
    background-color: #0056b3;
}

.settings-modal-content {
  padding: 20px;
  border-radius: 8px;
}

.nav-pills .nav-link {
  margin-right: 10px;
  border-radius: 20px;
  transition: background-color 0.3s, color 0.3s;
}

.nav-pills .nav-link.active {
  background-color: var(--theme-color, #007bff);
  color: white;
}

.tab-pane {
  padding: 20px 0;
}

.color-swatch {
  transition: transform 0.2s, box-shadow 0.2s;
}

.color-swatch:hover {
  transform: scale(1.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.color-swatch.selected {
  border: 2px solid var(--theme-color, #007bff);
  transform: scale(1.1);
}

.form-range {
  width: 100%;
}

.img-thumbnail {
  border: 1px solid #dee2e6;
  border-radius: 4px;
}

@media (max-width: 767px) {
  .nav-pills {
    flex-wrap: wrap;
  }
  .nav-item {
    flex: 1 0 50%;
    margin-bottom: 10px;
  }
}






























