        body {
            font-family: Arial, sans-serif;
            /*background-color: #f4f4f4;*/
            margin: 0;
            padding: 0;
        }
        .header {
            background-color: #007bff;
            color: white;
            padding: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .header a {
            color: white;
            text-decoration: none;
            font-size: 18px;
            padding: 0 15px;
        }
        .header a:hover {
            text-decoration: underline;
        }
        .logout-link {
    position: absolute;
    top: 10px;
    right: 20px;
}

/* Account hover menu in the header (user icon -> Change Password / Logout). */
.account-menu {
    position: relative;
    margin-left: auto;
}
.account-icon {
    color: white;
    font-size: 22px;
    cursor: pointer;
    padding: 0 15px;
    user-select: none;
}
.account-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    z-index: 1000;
}
.account-menu:hover .account-dropdown {
    display: block;
}
.account-user-info {
    color: #333;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}
.account-user-info strong,
.account-user-info span {
    display: block;
}
.account-user-info span {
    color: #666;
    margin-top: 2px;
    font-size: 13px;
}
.account-user-info .account-company-info {
    color: #333;
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: bold;
}
.header .account-dropdown a {
    display: block;
    color: #333;
    padding: 10px 15px;
    font-size: 15px;
    text-decoration: none;
}
.header .account-dropdown a:hover {
    background-color: #f0f0f0;
    text-decoration: none;
}

.btn {
    width: 50px;
    height: 25px;
    background-color: lightgray;
    border: 1px solid grey;
    border-radius: 2px;
    color: black;
    padding: 2px 2px;
    cursor: pointer;
    font-size: 14px;
}

.btn-all {
    height: 25px;
    border: 1px solid grey;
    border-radius: 2px;
    color: black;
    padding: 2px 2px;
    font-family: Arial;
    font-size: 14px;
    display: table-cell;
    vertical-align: middle;
    cursor: pointer;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;
    text-transform: none;
    text-indent: 0;
    text-shadow: none;
    text-align: center;
    align-items: flex-start;
    box-sizing: border-box;
    background-color: lightgrey;
}

/* Styling für den Lade-Spinner */
#loading {
    display: none;
    width: 50px;
    height: 50px;
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* Drehautomatik */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.btn-all:hover {
    background-color: RoyalBlue;
    color: white;
}

.btn:disabled {
    color: lightgray;
    background-color: rgb(240, 240, 240);
    border: none;
}

/* no change when mouse over */
.btn:disabled:hover {
    color: lightgray;
    background-color: rgb(240, 240, 240);
}

/* Darker background on mouse-over */
.btn:hover {
    background-color: RoyalBlue;
    color: white;
}

/* for enabling a style of the "chose file" button */
input[type="file"] {
    display: none;
}

.filenames {
    border: none;
    width: 200px;
}

/* Stil für fehlerhafte Eingabe (rot) */
.error {
    border: 2px solid red;
    background-color: field;
}

.error-message {
    color: red;
    /*font-size: 14px;*/
}

select {
    width: 158px; /* 2 px more than input */
}

input {
    width: 150px;
}

.fromtoavg {
    width: 90px;
}

.frame {
    border: 2px solid black; /* 2 Pixel dicker schwarzer Rahmen */
    padding: 20px; /* Innenabstand zum Inhalt */
}

.resizable {
    width: 300px; /* Anfangsbreite */
    height: 200px; /* Anfangshöhe */
    resize: both; /* Erlaubt sowohl horizontales als auch vertikales Resizing */
    overflow: hidden; /* Verhindert das Überlaufen des Inhalts */
    border: 2px solid black;
}

.resizable img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Bild wird innerhalb des Containers skaliert */
}