/* General Styles - bestehend */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    overflow-y: scroll;
}

.page-container {
    width: 100%;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-container {
    flex-grow: 1;
    margin-top: 8rem;
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
}
.rechnung-seite .content-container {
    margin-top: 2rem !important; /* Ausnahme für Rechnungsseite */
}


.header-container {
    width: 100%;
    display: flex;
    align-items: center;
    position: fixed;
    background: #FFFFFF;
    z-index: 1000;
    top:0;
    border-bottom: 0.1rem solid #E0E0E0;
    box-shadow: 0rem 0.2rem 0.4rem rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    justify-content: space-between;
}

/* SecureNet Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    background: #000000;
    color: #FFFFFF;
    margin-left: 2rem;
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    gap: 1rem;
    width: 12rem;
}

/* SecureNet Logo */
.securenet-logo {
    width: 3rem;
    height: auto;
}

/* SecureNet Text */
.logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #57a42d;
}

.navigation-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
    flex-wrap: wrap;
}

.nav-element {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #262626;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    background: #FFFFFF;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-element:hover {
    background-color: #F0F0F0;
    transform: scale(1.05);
    cursor: pointer;
}

.nav-icon {
    width: 1.2rem;
    height: 1.2rem;
}

/* Logout Button neu integriert */
.logout-button {
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #8da7b8, #b9d9df);
    color: #333;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-left: -10px; /* Bewegt den Button etwas nach links */
    margin-right: 80px;
}

.logout-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.logout-icon {
    width: 15px;
    height: auto;
    margin-right: 5px;
}

.navigation-bar form.logout {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;

}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .logo-container {
        width: 10rem;
        padding: 0.5rem 0.8rem;
    }

    .securenet-logo {
        width: 2.5rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .navigation-bar {
        gap: 0.5rem;
    }

    .nav-element {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }

    .logout-button {
        padding: 4px 8px;
        font-size: 11px;
    }

    .logout-icon {
        width: 13px;
    }
}

.logout-form {
    display: inline; /* Setzt das Form auf eine Linie mit den Links */
    margin: 0;
    padding: 0;
}

.logout-button {
    cursor: pointer;
    text-decoration: none;
}

.logout-button:hover {
    text-decoration: underline;
}
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    padding: 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 150px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.dropdown-content a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: black;
}

.dropdown-content a:hover {
    background-color: #f0f0f0;
}

/* Zeigt das Dropdown an, wenn die Maus darüber ist */
.nav-dropdown:hover .dropdown-content {
    display: block;
}
.language-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font-size: 0.85rem;
}

.language-form label {
    font-weight: bold;
    color: #333;
}

.language-form select {
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    border: 1px solid #ccc;
    font-size: 0.85rem;
}

.language-submit-button {
    padding: 0.3rem 0.6rem;
    background-color: #57a42d;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.language-submit-button:hover {
    background-color: #3d7d1f;
}

.mail-badge {
    position: absolute;
    top: -8px;
    right: -5px;
    background-color: orange;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    line-height: 1;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}
.language-button {
    font-size: 1.5em;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.2em;
    transition: transform 0.2s ease;
}

.language-button:hover {
    transform: scale(1.2);
}