/* 
    Created on : 16.09.2024, 09:47:10
    Author     : Magnus020 <https://htmo.de>
*/
/* Grundlegende Einstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1e1e1e;
    color: #ddd;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.site-header {
    display: flex;
    justify-content: center; /* Gesamter Inhalt zentriert */
    align-items: center; /* Vertikal ausrichten */
    padding: 20px;
    background-color: #222;
    color: #fff;
    text-align: left; /* Text im linken Bereich */
}

.logo {
    margin-right: 20px; /* Abstand zwischen Logo und Titel */
}

.logo img {
    max-width: 80px; /* Logo-Größe */
    height: auto;
}

.title {
    display: flex;
    flex-direction: column; /* Titel und Untertitel übereinander */
}

.title h1 {
    font-size: 2.5em; /* Größerer Titel */
    margin: 0;
}

.title p {
    font-size: 1.2em;
    margin-top: 5px;
    color: #aaa; /* Hellerer Untertitel */
}

.tile img, .fallback-icon {
    width: 40px; /* Einheitliche Breite */
    height: 40px; /* Einheitliche Höhe */
    object-fit: cover; /* Bild skaliert, ohne das Seitenverhältnis zu verzerren */
    margin-bottom: 10px; /* Abstand zum Text */
}

.fallback-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ddd;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
}

/* Navbar */
.site-navbar {
    background-color: #333;
    padding: 10px;
    text-align: center;
}

.navbar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Navbar-Buttons */
.nav-link,
.dropdown-link {
    background-color: #444;
    color: #ddd;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
    border: none;
    display: inline-block;
    text-align: center;
}

    .nav-link:hover,
    .dropdown-link:hover {
        background-color: #555;
        color: #fff;
    }

    #droppi {
        display: none;
    }

/* Standardmäßige Dropdown-Navigation */
.dropdown {

    position: relative;
}

.dropdown .hr {
    margin-top: 5px;
    margin-bottom: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    top: 100%;
    left: 0;
    padding: 10px;
    border-radius: 5px;
    z-index: 100;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Zeige Dropdown-Menü bei Hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.hamburger-menu {
    display: none;
}

/* Mobile Ansicht: Anpassungen für das Hamburger-Menü */
@media (max-width: 768px) {
    /* Hamburger-Icon */
    .hamburger-menu {
        display: block;
        cursor: pointer;
    }

    .dropdown {
        width: 100%;
    }

    /* Normale Navbar-Inhalte werden ausgeblendet */
    .navbar-content {
        display: none;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-top: 20px;
    }

        /* Zeige die Navbar, wenn das Hamburger-Menü aktiv ist */
        .navbar-content.active {
            display: flex;
        }

        /* Links in der mobilen Ansicht */
        .navbar-content .nav-link {
            width: 100%;
            padding: 15px;
            text-align: center;
        }

    /* Dropdown-Inhalte in der mobilen Ansicht */
    .dropdown-content {
        display: none;
        flex-direction: column;
        position: static; /* Kein absolutes Positionieren */
        width: 100%;
        background-color: #444;
    }

    /* Dropdown wird bei Klick statt bei Hover angezeigt */
    .dropdown.active .dropdown-content {
        display: flex; /* Zeige den Dropdown-Inhalt in der mobilen Ansicht */
    }

    /* Dropdown-Links im Hamburger-Menü */
    .dropdown-content a {
        width: 100%;
        padding: 10px;
        text-align: center;
        background-color: #444;
        color: #ddd;
    }

    /* Hover-Effekt für Dropdown-Links in der mobilen Ansicht */
    .dropdown-content a:hover {
        background-color: #555;
        color: #fff;
    }
}

/* Submenü */
.dropdown-submenu {
    position: relative;
}

.submenu-content {
    display: none;
    position: absolute;
    top: 0;
    left: 100%; /* Submenü wird rechts neben dem Dropdown angezeigt */
    background-color: #333;
    padding: 10px;
    border-radius: 5px;
    z-index: 100;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-submenu:hover .submenu-content {
    display: block;
}

/* Links */
.dropdown-content a,
.submenu-content a {
    color: #ddd;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
}

.dropdown-content a:hover,
.submenu-content a:hover {
    background-color: #444;
}

/* Suchbereich */
.search-wrapper form {
    display: flex;
    flex-direction: column; /* Ordne den Link über der Suchleiste an */
    align-items: center;
    gap: 10px; /* Abstand zwischen Link und Suchleiste */
}

.search-engine-link {
    margin-bottom: 13px;
    padding: 10px 20px;
    border-radius: 25px;
    background-color: #444;
    color: #ddd;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-engine-link:hover {
    background-color: #555;
    color: #fff;
}

.search-row {
    display: flex;
    align-items: center;
    width: 65%; /* Optional: Breite anpassen */
    gap: 10px; /* Abstand zwischen der Suchleiste und dem Button */
}

.search-wrapper input[type="text"] {
    flex: 1; /* Füllt den verbleibenden Platz aus */
    padding: 10px;
    border-radius: 25px;
    border: 2px solid #555;
    background-color: #333;
    color: #ddd;
    font-size: 16px;
}

.search-wrapper button {
    margin-bottom: 13px;
    padding: 10px 20px;
    border-radius: 25px;
    background-color: #444;
    color: #ddd;
    border: none;
    cursor: pointer;
}

.search-wrapper button:hover {
    background-color: #555;
}

/* Modal Styling */
.search_modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.search_modal {
    background-color: #2e2e2e;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    max-width: 80%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    position: relative;
}

.search_modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search_modal-content ul {
    list-style-type: none;
    padding: 0;
}

.search_modal-content ul li {
    margin: 10px 0;
}

.search_modal-content button {
    width: 100%;
    padding: 10px;
    border-radius: 25px;
    background-color: #444;
    color: #ddd;
    border: none;
    cursor: pointer;
}

.search_modal-content button:hover {
    background-color: #555;
}

.search_modal-content-own ul {
    list-style-type: none;
    padding: 0;
}

.search_modal-content-own ul li {
    margin: 10px 0;
}

.search_modal-content-own button {
    width: 100%;
    padding: 10px;
    border-radius: 25px;
    background-color: #4CAF50;
    color: #000;
    border: none;
    cursor: pointer;
}

.search_modal-content-own button:hover {
    background-color: #0a6a04;
}

.search_close-btn {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #fff;
}

/* Stil für die gesamte Tabelle */
.search-engines-list table {
    width: 100%;
    border-collapse: collapse;
    background-color: #333; /* Dunkler Hintergrund für die Tabelle */
    color: #ddd; /* Helle Schriftfarbe für Text */
}

/* Stil für die Tabellenüberschrift */
.search-engines-list th {
    padding: 10px;
    text-align: left;
    background-color: #444; /* Dunkler Hintergrund für die Header-Zellen */
    color: #fff; /* Helle Schriftfarbe für den Header */
    border-bottom: 2px solid #555; /* Trennungslinie */
}

/* Stil für die Tabellenzeilen */
.search-engines-list td {
    padding: 10px;
    border-bottom: 1px solid #555; /* Linien zwischen den Zeilen */
}

/* Hover-Effekt für die Zeilen */
.search-engines-list tr:hover {
    background-color: #555; /* Etwas hellerer Hintergrund beim Hover */
}

/* Stil für die Schaltfläche "Löschen" */
.search-engines-list button {
    padding: 5px 10px !important;
    background-color: #f44336 !important;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Hover-Effekt für die Löschen-Schaltfläche */
.search-engines-list button:hover {
    background-color: #e53935; /* Etwas dunkleres Rot beim Hover */
}


/* Container für die Kacheln */
.container {
    padding: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Sicherstellen, dass der Container in Zeilen umbrechen kann */
    max-width: 100%; /* Verhindert, dass die Seite breiter wird */
    width: 100%; /* Stellt sicher, dass der Container die volle Breite hat */
}

.boxing {
    width: 75%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Tile-Container */
.tile-container {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Allgemeine Kachel */
.tile {
    background-color: #333;
    color: #ddd;
    padding: 10px;
    border-radius: 10px;
    width: 150px; /* Feste Breite */
    height: 150px; /* Feste Höhe */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    margin: 5px; /* Abstand um jede Kachel herum */
}

/* Allgemeine Kachel */
.tile img {
    max-width: 80px;
    max-height: 80px;
    margin-bottom: 20px; /* Erhöhter Abstand zwischen Icon und Text */
}

.tile p {
    font-size: 16px;
    color: #ddd;
    margin: 0; /* Entfernt unnötigen Abstand um den Text */
}

/* Platzierungskachel - Ganze Kachel ist klickbar */
.placement-tile {
    text-decoration: none;
    color: #ddd;
    border: 2px solid gold; /* Goldener Rand */
    position: relative; /* Für das Icon */
}

.placement-tile:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #444;
}

/* Placement-Icon für Platzierungskacheln */
.placement-tile .placement-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: gold;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: white;
    cursor: default; /* Kein Klick, nur Dekoration */
}

/* User-Kachel mit Drei-Punkte-Menü */
.user-tile {
    position: relative;
    width: 150px;
    height: 150px;
}

/* Der Link innerhalb der User-Kachel füllt jetzt die gesamte Fläche */
.tile-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #ddd;
    background-color: #333;
    border-radius: 10px;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.tile-link:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #444;
}

/* Menü-Icon für User-Kachel */
.menu-container {
    position: absolute;
    top: 10px;
    right: 10px;
}

.menu-icon {
    width: 30px;
    height: 30px;
    background-color: #555;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.menu-icon:hover {
    background-color: #666;
}

/* Add Kachel */
.add-tile {
       background-color: #444;
    color: #1e90ff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    position: relative;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border: 2px dashed #555;
    background: linear-gradient(#444, #555) padding-box, linear-gradient(to right, #ff6347 50%, rgb(66, 133, 244) 50%) 0 / 10px 10px;
    background-repeat: repeat;
    animation: dash-border-move 60s linear infinite;
    transition: 0.5s;
}

@keyframes dash-border-move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%; /* Bewege den Hintergrund entlang des Borders */
    }
}

.add-tile:hover {
    background-color: #555;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);

}

.add-icon {
    font-size: 54px;
    color: #ddd;
    margin-bottom: 10px;
}

.add-tile p {
    font-size: 14px;
    color: #ddd;
}

.text-container {
    font-family: Arial, sans-serif;
    line-height: 1.6; /* Angenehme Zeilenhöhe */
    color: white; /* Dunkle, angenehme Schriftfarbe */
    max-width: 800px; /* Beschränkt die Breite des Textes für bessere Lesbarkeit */
    margin: 0 auto; /* Zentriert den Container auf der Seite */
    padding: 20px;
    text-align: justify;
}

.e_page {
    font-family: Arial, sans-serif;
    line-height: 1.6; /* Angenehme Zeilenhöhe */
    color: white; /* Dunkle, angenehme Schriftfarbe */
    max-width: 800px; /* Beschränkt die Breite des Textes für bessere Lesbarkeit */
    margin: 0 auto; /* Zentriert den Container auf der Seite */
    padding: 20px;
}

.e_page a {
    color: white;
}

.e_page a:hover {
    color: #87CEEB;
}

.index > h1 {
    text-align: center;
    margin-bottom: 5px;
}

.index > p {
    text-align: justify;
}

.text-container h2 {
    /*font-size: 2em;*/
    color: #fffefe;
    margin-top: 30px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc; /* Fügt eine Trennlinie unter h2 hinzu */
    padding-bottom: 10px;
}

.text-container h3 {
    /*font-size: 1.5em;*/
    color: #efefc5;
    margin-top: 20px;
    margin-bottom: 15px;
}

.text-container h4 {
    /*font-size: 1.0em;*/
    color: #efefc5;
    text-decoration: underline;
    margin-top: 10px;
    margin-bottom: 5px;
}

.text-container p {
    font-size: 1em;
    color: #dbcbcb;
    margin-bottom: 15px;
}

.text-container strong {
    font-weight: bold;
}

.text-container ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.text-container ul li {
    margin-bottom: 10px;
    font-size: 1em;
    list-style-type: disc;
    color: #dbcbcb;
}

.text-container a {
    color: #1e90ff; /* Blaue Links */
    text-decoration: none;
}

.text-container a:hover {
    text-decoration: underline;
}

/* Erfolgs- und Fehlermeldungen */
.activation-message {
    margin: 50px auto;
    padding: 20px;
    max-width: 600px;
    text-align: center;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
}

.activation-message.success {
    background-color: #4CAF50; /* Grüner Hintergrund für Erfolg */
    color: white;
}

.activation-message.error {
    background-color: #f44336; /* Roter Hintergrund für Fehler */
    color: white;
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #ddd;
    padding: 10px 15px;
    margin-top: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 2px solid #444;
}

.footer-columns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column {
    flex: 1;
    margin: 0 10px;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #bbb;
}

.footer-column ul {
    list-style: none;
    padding-left: 0;
}

.footer-column ul li {
    margin-bottom: 5px; /* Abstand zwischen den Links verkleinern */
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 12px; /* Schriftgröße der Links auf 11px */
}

.footer-column ul li a:hover {
    color: #87CEEB;
    text-decoration: underline;
}

.footer-column p {
    font-size: 12px;
    color: #aaa;
}

.footer-column .itext {
    text-align: justify;
}

/* Copyright-Bereich */
.footer-copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #444;
    width: 100%;
    color: #888;
    font-size: 12px;
}

.footer-copyright a {
    color: #888;
}

.footer-copyright a:hover {
    color: #e7ffff;
}

/* Responsive Design für den Footer */
@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        text-align: center;
        margin: 10px 0;
    }
}

/* Modal Overlay für den gläsernen Hintergrund */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

/* Modal anzeigen, wenn die Klasse "active" hinzugefügt wird */
.modal-overlay.active {
    display: flex; /* Flexbox aktivieren, wenn Modal sichtbar ist */
}

/* Modal-Box */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Restliche Styles bleiben gleich */
    background-color: #2e2e2e;
    border-radius: 15px;
    padding: 20px;
    width: 400px;
    max-width: 90%;
    color: #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Header des Modals */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.modal a {
    color: #f1f1f1;
    text-decoration: underline;
}

.modal a:hover {
    color: #00bcd4;
}

/* Modal-Header Text */
.modal-header h2 {
    margin: 0;
    font-size: 1.5em;
}

/* Schließen-Button als X oben rechts */
.close-btn {
    cursor: pointer;
    font-size: 1.5em;
    color: #aaa;
    background-color: #555;
    border: none;
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px;
    transition: background-color 0.3s ease;
}

/* Hover-Effekt: Hintergrund wird rot */
.close-btn:hover {
    background-color: red;
    color: white;
}

/* Inhalt des Modals */
.modal-content {
    margin-bottom: 20px;
}

/* Footer des Modals */
.modal-footer {
    display: flex;
    justify-content: flex-end;
}

.modal-message {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: none; /* Standardmäßig versteckt */
}

.modal-message.success {
    background-color: #4CAF50;
    color: white;
}

.modal-message.error {
    background-color: #f44336;
    color: white;
}

/* Styling für die Buttons im Delete-Modal */
.modal-content button {
    padding: 10px 20px;
    margin-top: 30px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

/* Overlay für das Lösch-Modal */
/* Entfernen Sie die Flexbox-Eigenschaften aus dem Overlay */
.delete-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

/* Sichtbares Overlay */
.delete-modal-overlay.active {
    display: block;
}

/* Modal-Box zentrieren */
.delete-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Restliche Styles bleiben gleich */
    background-color: #2e2e2e;
    border-radius: 15px;
    padding: 20px;
    width: 400px;
    max-width: 90%;
    color: #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Header des Modals */
.delete-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.delete-modal-header h2 {
    margin: 0;
}

.delete-close-btn {
    cursor: pointer;
    font-size: 1.5em;
    color: #aaa;
    background-color: transparent;
    border: none;
    padding: 0;
    line-height: 1;
}

.delete-close-btn:hover {
    color: #fff;
}

/* Inhalt des Modals */
.delete-modal-content p {
    margin: 0 0 20px;
}

.delete-modal-content button {
    padding: 10px 20px;
    margin-right: 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

/* Button "Ja, löschen" */
#confirmDeleteBtn {
    background-color: #f44336; /* Rot für Löschen */
    color: white;
}

#confirmDeleteBtn:hover {
    background-color: #d32f2f; /* Etwas dunkler bei Hover */
}

/* Button "Abbrechen" */
.delete-modal-content button:nth-child(2) {
    background-color: #4CAF50; /* Grün für Abbrechen */
    color: white;
}

.delete-modal-content button:nth-child(2):hover {
    background-color: #388E3C; /* Etwas dunkler bei Hover */
}

#confirmDeleteBtn {
    background-color: #f44336; /* Rot für Löschen */
    color: white;
    margin-right: auto; /* Button nach links */
}

#confirmDeleteBtn:hover {
    background-color: #d32f2f; /* Etwas dunkler bei Hover */
}

.save-btn {
    background-color: #238703; /* Rot für Löschen */
    color: white;
    margin-left: auto; /* Button nach links */
}

.save-btn:hover {
    background-color: #0a6a04;
}

.modal-content button:nth-child(3) {
    background-color: #4CAF50; /* Grün für Abbrechen */
    color: white;
    margin-left: auto; /* Button nach rechts */
}

.modal-content button:nth-child(3):hover {
    background-color: #388E3C; /* Etwas dunkler bei Hover */
}

/* Input-Felder */
input[type="text"], input[type="password"], input[type="email"], input[type="url"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #555;
    background-color: #333;
    color: #ddd;
    border-radius: 10px;
}

/* Checkbox Styling */
.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2); /* Vergrößert die Checkbox für bessere Sichtbarkeit */
}

.checkbox-container label {
    color: #ddd;
}

/* Button-Styling */
button {
    padding: 10px 20px;
    background-color: #444;
    color: #ddd;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #555;
}

/* Modal Fade-In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Checkbox- und Input-Feldspezifisches Styling für das Register-Formular */
#registerForm input[type="text"],
#registerForm input[type="email"],
#registerForm input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #555;
    background-color: #333;
    color: #ddd;
    border-radius: 10px;
}

#registerForm button {
    padding: 10px 20px;
    background-color: #444;
    color: #ddd;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#registerForm button:hover {
    background-color: #555;
}

/* Modal für das Icon-Auswahl-Modal */
#iconSelectionModal {
    z-index: 2000; /* Höherer z-index, damit es über dem Add-Modal angezeigt wird */
}

#iconSelectionAddModal {
    z-index: 2000; /* Höherer z-index, damit es über dem Add-Modal angezeigt wird */
}

/* Styling für die Icons im Icon-Auswahl-Modal */
.icon-selection {
    width: 50px;
    height: 50px;
    margin: 5px;
    object-fit: cover; /* Stellt sicher, dass die Icons innerhalb der Box bleiben */
    cursor: pointer;   /* Zeigt einen Zeiger bei Hover */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Weiche Übergänge für Hover-Effekte */
}

/* Icon-Container mit Scrollbar */
#icon-container {
    max-height: 300px; /* Feste Höhe des Containers */
    overflow-y: auto;  /* Ermöglicht vertikales Scrollen, wenn Inhalte den Container überschreiten */
    padding: 10px;
}

.icon-selection:hover {
    transform: scale(1.1); /* Vergrößert das Icon leicht bei Hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Füge einen Schatten hinzu */
}

.fallback-icon {
    width: 40px;
    height: 40px;
    background-color: #888; /* Farbe des Platzhalter-Icons */
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
}

.delete-btn {
    background-color: #e74c3c; /* Rote Farbe für den Löschen-Button */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.delete-btn:hover {
    background-color: #c0392b; /* Etwas dunkler bei Hover */
}

.favicon-option {
    width: 50px;
    height: 50px;
    margin: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s;
}

.favicon-option:hover {
    border: 2px solid #007bff; /* Farbe bei Hover */
}

/* Modal-Styles */
.add-modal {
    display: none; /* Versteckt das Modal standardmäßig */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dunklerer halbtransparenter Hintergrund */
    align-items: center; /* Vertikale Zentrierung */
    justify-content: center; /* Horizontale Zentrierung */
}

.add-modal.active {
    display: flex; /* Flexbox aktivieren, wenn Modal sichtbar ist */
}

.add-modal-content {
    background-color: #333;
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Breite des Modals */
    max-width: 900px; /* Maximale Breite von 900px */
    border-radius: 10px; /* Abgerundete Ecken */
    max-height: 90vh; /* Maximale Höhe von 90% der Ansichtshöhe */
    overflow-y: auto; /* Scrollen ermöglichen, wenn Inhalt zu groß ist */
    box-sizing: border-box; /* Padding und Border in die Gesamtbreite einbeziehen */
}

.add-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.add-close:hover,
.add-close:focus {
    color: black;
    text-decoration: none;
}

.add-modal h2 {
    margin-top: 0;
}

/* Styles für die Favicon-Auswahl */
/* Styles für die Favicon-Auswahl innerhalb des Modals */
#faviconContainer {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
    margin-bottom: 5px;
}

#faviconContainer img.favicon-option {
    width: 32px;
    height: 32px;
    margin: 5px 0 5px 0;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: border-color 0.2s;
}

#faviconContainer img.favicon-option:hover {
    border-color: #888;
}

#faviconContainer img.favicon-option.selected {
    border-color: #00bcd4; /* Farbe für die Markierung des ausgewählten Icons */
}

.favicon-option {
    width: 32px;
    height: 32px;
    margin: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.favicon-option:hover {
    transform: scale(1.2);
}

.add-modal button {
    margin-top: 20px;
}

/* Container für jedes Favicon */
.favicon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2px;
    margin: 5px;
    border: 1px;
    border-style: dotted;
}

/* Styles für die Favicon-Bilder */
.favicon-item img.favicon-option {
    width: 32px;
    height: 32px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: border-color 0.2s;
}

/* Hover- und ausgewählter Zustand */
.favicon-item img.favicon-option:hover {
    border-color: #888;
}

.favicon-item img.favicon-option.selected {
    border-color: #00bcd4;
}

/* Styles für die Größenangabe */
.favicon-item .favicon-size {
    margin-top: 5px;
    font-size: 12px;
    color: #555;
}

.pw-reset {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.pw-reset form {
    display: flex;
    flex-direction: column;
}

.pw-reset label {
    margin-top: 10px;
}

.pw-reset input {
    padding: 8px;
    margin-top: 5px;
}

.pw-reset button {
    margin-top: 20px;
    padding: 10px;
}

.beta {
    color: #ff6347;
    font-weight: 600;
}

.beta:hover {
    color: #efefc5;
}

/* Hauptcontainer für die Profilseite */
.profile-container {
    width: 80%;
    max-width: 900px;
    margin: 10px auto;
    padding: 20px;
    background-color: #2c2c2c;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* Überschrift der Profilseite */
.profile-container h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    color: #f1f1f1;
}

/* Einzelne Abschnitte (E-Mail, Passwort ändern, etc.) */
.profile-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #3b3b3b;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Überschriften innerhalb der Abschnitte */
.profile-section h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

/* Labels für die Formulare */
.profile-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #cccccc;
}

/* Textfelder und Passwortfelder */
.profile-section input[type="text"],
.profile-section input[type="email"],
.profile-section input[type="password"],
.profile-section input[type="url"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #444;
    color: #f1f1f1;
    font-size: 1em;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Button-Design */
.profile-section button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.profile-section button:hover {
    background-color: #0056b3;
}

/* Checkbox */
.profile-section input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

/* Liste der Suchmaschinen */
.search-engines-list {
    margin-top: 20px;
}

.search-engines-list h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #ffffff;
}

.search-engines-list ul {
    list-style-type: none;
    padding: 0;
}

.search-engines-list li {
    margin-bottom: 8px;
    font-size: 1em;
    color: #cccccc;
}

/* Fehlermeldung oder Erfolgsanzeige */
.profile-section .message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1em;
    display: none;
}

.message.success {
    background-color: #28a745;
    color: white;
}

.message.error {
    background-color: #dc3545;
    color: white;
}

/* Container für die Bestätigungsseite */
.confirmation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* Volle Höhe des Viewports */

    color: #ffffff; /* Helle Schriftfarbe */
    text-align: center;
    padding: 20px;
}

/* Stil für die Hauptüberschrift (H1) */
.confirmation-container h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #00ff88; /* Helle grüne Farbe für Erfolgsmeldungen */
}

/* Stil für den Textabsatz */
.confirmation-container p {
    font-size: 1.2rem;
    color: #dddddd; /* Etwas helleres Grau für den Text */
}


    .package {
        width: 147px;
        height: 147px;
        background-image: linear-gradient(180deg, #d32f2f 0%, #3700ff 100%);
        border-radius: 10px;
        text-align: center;
        transition: all 0.25s cubic-bezier(0, 0, 0, 1);
    }

    .package:hover {
        box-shadow: 0px 0px 30px 1px rgba(204, 0, 255, 0.3);
    }

    .package2 {
        width: 147px;
        height: 147px;
        background-color: #333;
        border-radius: 10px;
        transition: all 0.25s cubic-bezier(0, 0, 0, 1);
        padding: 15px;
        cursor: pointer;
    }

    .package2:hover {
        transform: scale(0.98);
        border-radius: 10px;
    }

    .text {
        color: white;
        font-size: 17px;
    }
