body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form > div {
    margin: auto;
}

#pass {
    margin-bottom: 1rem;
}

.container a {
    margin: 1rem auto auto;
}

.center-x {
    justify-content: center;
    margin: 30px auto 0 auto;
    width: 100%;
}

.header {
    margin: auto;
}

#countdown {
    font-weight: bold;
    color: red;
}

.CSRF-Token {
    color: red;
    font-size: 18px;
    font-style: italic;
    font-family: arial;
    font-weight: 600;
}

/*.container {*/
/*    width: 100%;*/
/*    height: auto;*/
/*    padding-top: 0;*/
/*    overflow: hidden;*/
/*}*/

.Alt:hover {
    /* content: 'test'; */
    width: 8%;
    height: auto;
    position: relative;
    border: 1px solid black;
    display: block;
}

.show-password {
    cursor: pointer;
    position: relative;
    left: -30px;
    color: #000;
}

.show-password:hover {
    cursor: pointer;
    position: relative;
    left: -30px;
    color: #d78272;
}

.userPass2 {
    padding: 5px;
    position: relative;
}

.infobox {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.infobox-trigger:hover + .infobox {
    display: block;
}


@media (max-width: 400px) {
    #drop_zone {
        width: 90% !important;
    }

    #password, #user, #pass, #filename, #datumSuche {
        width: 170px !important;
    }
}

@media (max-width: 810px) {
    #drop_zone {
        width: 85% !important;
    }

    #password, #user, #pass, #filename, #datumSuche {
        width: 170px !important;
    }
}

.leer {
    margin: auto;
}

.progress_bar_container {
    margin: 5px auto;
    width: 50%;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.progress_bar {
    background-color: #d78272;
    height: 100%;
    width: 0;
    border-radius: 10px;
    transition: width 0.3s ease-in-out;
    font-size: 16px;
    color: #fff;
}

.User {
    font-style: italic;
    color: #d78272;
}

label {
    font-family: arial;
    font-size: 13px;
}

.fehler {
    font-family: arial;
    font-size: 18px;
    color: red;
}

#drop_zone {
    position: relative;
    width: 30%;
    min-height: 80px;
    margin: 10px auto;
    padding: 20px;
    box-sizing: border-box;
}

#drop_zone::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border: 2px dashed #d78272;
    transition: all 0.3s ease-in;
}

#drop_zone:hover::before {
    border-color: grey;
    animation: linearGradientMove .3s infinite linear;
}

#drop_zone.drag_over {
    background-color: #f0f0f0;
}

#file_list {
    list-style: none;
    padding: 0;
    list-style: none;
    font-size: 13px;
    font-family: arial;
    color: #147f88;
}

#file_list li {
    margin-bottom: 5px;
}

.UploadFile {
    color: #147f88;
    font-size: 16px;
    font-family: arial;
    margin: auto;
}

.UploadFileB {
    color: red;
    font-size: 18px;
    font-style: italic;
    font-family: arial;
    width: 100%;
}

.LogIn {
    font-size: 16px;

    font-family: arial;
}

.PW_lost {
    color: #147f88;
    font-size: 14px;
    font-style: italic;
    font-family: arial, serif;
}

.PW_lost:hover {
    text-decoration: underline;
}

.form-submit-button {
    background: #fff;
    color: #d78272;
    border: 1px solid #d78272;
    border-radius: 20px;
    /* box-shadow: 5px 5px 5px #eee; */
    text-shadow: none;
    width: 190px;
    height: 35px;
    font-weight: 400;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.form-submit-button_Suche {
    font-family: arial;
    background: #fff;
    color: #d78272;
    border: 1px solid #d78272;
    border-radius: 20px;
    /* box-shadow: 5px 5px 5px #eee; */
    text-shadow: none;
    width: 110px;
    height: 21px;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.form-submit-button_Suche:hover {
    font-family: arial;
    background: #d78272;
    color: #fff;
    border: 1px solid #d78272;
    border-radius: 20px;
    /* box-shadow: 5px 5px 5px #eee; */
    text-shadow: none;
    width: 110px;
    height: 21px;
    font-weight: 400;
    font-size: 16px;
}

.form-submit-button:hover {
    background: #d78272;
    color: #fff;
    border: 1px solid #d78272;
    border-radius: 20px;
    /* box-shadow: 5px 5px 5px #eee; */
    text-shadow: none;
    width: 190px;
    height: 35px;
    font-weight: 400;
}

.flex {
    display: flex;
    width: 75%;
    flex-direction: row;
    align-items: revert;
    padding-top: 0;
}

.Table {
    padding: 0;
    text-align: left;
    width: 90%;
    border-top: 1px solid #147f88;
    border-bottom: 1px solid #147f88;
}

.TableB {
    padding: 0;
    text-align: left;
    width: 30%;
    border: 0 solid black;
}

.TD {
    padding: 0;
    text-align: left;
    width: 10%;
}

.UnderLine {
    text-decoration: underline;
}

.TD10 {
    padding: 0;
    text-align: left;
    width: 50%;
}

a {
    text-decoration: none;
    color: #fff;
}

.Logout {
    color: #d78272;
    border: 1px solid #d78272;
    border-radius: 20px;
    /* box-shadow: 5px 5px 5px #eee; */
    text-shadow: none;
    width: 80px;
    height: 20px;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
    margin-left: 2%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.Logout:hover {
    color: #fff;
    background: #d78272;
    border: 1px solid #d78272;
    border-radius: 20px;
    /* box-shadow: 5px 5px 5px #eee; */
    text-shadow: none;
    width: 80px;
    height: 20px;
    font-weight: 400;
    font-size: 14px;
    display: inline-block;
    cursor: pointer;
}

.BackButton {
    color: #d78272;
    border: 1px solid #d78272;
    border-radius: 20px;
    /* box-shadow: 5px 5px 5px #eee; */
    text-shadow: none;
    width: 200px;
    height: 37px;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
    margin-left: 0%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    line-height: 35px;
}

.BackButton:hover {
    color: #fff;
    background: #d78272;
    border: 1px solid #d78272;
    border-radius: 20px;
    /* box-shadow: 5px 5px 5px #eee; */
    text-shadow: none;
    width: 200px;
    height: 37px;
    font-weight: 400;
    font-size: 14px;
    display: inline-block;
    cursor: pointer;
    line-height: 35px;
}

.form-submit-button_Login {
    color: #d78272;
    border: 1px solid #d78272;
    border-radius: 20px;
    /* box-shadow: 5px 5px 5px #eee; */
    text-shadow: none;
    width: 190px;
    height: 35px;
    font-weight: 400;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.form-submit-button_Login:hover {
    background: #d78272;
    color: #fff;
    border: 1px solid #d78272;
    border-radius: 20px;
    /* box-shadow: 5px 5px 5px #eee; */
    text-shadow: none;
    width: 190px;
    height: 35px;
    font-weight: 400;
}

.active {
    color: red;
}

#Logo {
    padding-bottom: 5px;
    width: auto;
    height: auto;
}

#user, #filename, #datumSuche {
    width: 250px;
    color: #147f88;
    border: 1px solid #d78272;
    padding: 5px;
}

#pass {
    width: 250px;
    color: #147f88;
    padding: 5px;
    border: 1px solid #d78272;
    margin-left: 20px;
}

.SucheText {
    font-family: arial;
    font-size: 16px;
    color: #d78272;
    font-weight: 1;

}

.SucheText_Link {
    font-family: arial;
    font-size: 14px;
    color: #d78272;
    font-weight: 400;
    text-decoration: underline;
    font-style: italic;
}

#file_input, label {
    color: #147f88;
}

.ZURUECK {
    margin-right: 5%;
}

.VOR {
    margin-left: 5%;
}

.SucheTable {
}

.userPass {
    padding: 5px;
}

#password, #password_confirm, #absender, #name_user, #server, #firma, #abteilung {
    width: 250px;
    color: #147f88;
    border-top-color: #d78272;
    border-bottom-color: #d78272;
    border-right-color: #d78272;
    border-left-color: #d78272;
    border: 1px solid #d78272;
    padding: 5px;
}

ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

ul li {
    display: inline;
    margin: 0 100px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table, th, td {
    border: 0px solid black;
}

table, th, td {
    border: 0px solid black;
}

.status-active {
    color: green;
    font-size: 20px;
}

.status-inactive {
    color: red;
    font-size: 20px;
}

.bgColor {
    background: #d78272;
}





h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

ul li {
    display: inline-block;
    margin: 0 10px;
}

.form-control.mr-2 {
    padding: 10px;
}

ul li a {
    text-decoration: none;
    color: #3498db;
    font-weight: 400;
}

table.UserListe {
    width: 80%;
    margin: 0 auto 50px auto;
    border-collapse: collapse;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

table.UserListe th,
table.UserListe td {
    padding: 12px 20px;
    text-align: left;
}

table.UserListe th {
    background-color: #2c3e50;
    color: #fff;
    font-weight: 600;
}

table.UserListe tr:nth-child(even) {
    background-color: #f9f9f9;
}

table.UserListe tr:hover {
    background-color: #eef3f7;
}

.status-active {
    color: #27ae60;
    margin-right: 5px;
}

.status-inactive {
    color: #c0392b;
    margin-right: 5px;
}


@media screen and (max-width: 768px) {
    table.UserListe {
        width: 95%;
    }

    ul li {
        display: block;
        margin-bottom: 10px;
    }
}


.container {
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin: 2px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 4px;
    cursor: pointer;

}

.btn:hover {
    opacity: 0.85;
}

.btn-primary {
    background-color: #d78272;
    color: #fff;
    border-color: #d78272;
}

.btn-secondary {
    background-color: #d78272;
    color: #fff;
    border-color: #d78272;
}

.btn-success {
    background-color: #28a745;
    color: #fff;
    border-color: #28a745;
}

.btn-warning {
    background-color: #d78272;
    color: #fff;
    border-color: #d78272;
}

.btn-outline-primary {
    background-color: #fff;
    color: #007bff;
    border-color: #007bff;
}

.btn-outline-success {
    background-color: #fff;
    color: #28a745;
    border-color: #28a745;
}

.btn-outline-danger {
    background-color: #fff;
    color: #dc3545;
    border-color: #dc3545;
}

form input[type="text"], form select {

    margin: 2px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 0;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
    font-size: 14px;
}

th a {
    color: inherit;
    text-decoration: none;
    color: #fff;
}

th a:hover {
    text-decoration: underline;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.status-active {
    color: green;
    font-weight: bold;
}

.status-inactive {
    color: red;
    font-weight: bold;
}

.pagination {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 10px 0;
}

.pagination li {
    margin: 0 3px;
}

.pagination a {
    display: block;
    padding: 6px 12px;
    border: 1px solid #d78272;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.pagination a:hover {
    background-color: #d78272;
    color: #fff;
}

.WhiteText a {
    color: #000000;
}

.pagination .active a {
    background-color: #d78272;
    color: #fff;
    border-color: #d78272;
}

.text-success {
    color: green;
}

.text-danger {
    color: red;
}

.pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 15px;
}

.pagination a, .pagination span {
    padding: 6px 12px;
    border: 1px solid #d78272;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    background: #d78272;
}

.pagination a:hover {
    background-color: #d78272;
    color: #fff;
}

.pagination .current {
    background-color: #d78272;
    color: #fff;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    form.form-inline {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    form.form-inline input,
    form.form-inline select,
    form.form-inline button,
    form.form-inline a {
        width: 100%;
        max-width: 300px;
        margin: 4px 0;
    }
}

.Body_Cont {
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

.Table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.Table tr:nth-child(even) {
    background-color: #f9f9f9; /* Zebra-Stripe */
}

.Table tr:hover {
    background-color: #e6f7ff; /* Hover-Farbe */
}

.Table td {
    padding: 10px 8px;
    vertical-align: middle;
    text-align: left;
}

.TD_Leer {
    width: 10px;
}


.SucheText, .SucheText_Link, .UploadFile {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
}

.SucheText_Link a, .SucheText_Link {
    color: #007bff;
    text-decoration: none;
}

.SucheText_Link a:hover, .SucheText_Link:hover {
    text-decoration: underline;
}

.TD1 {
    width: 10%;
}

/* Overlay für Hintergrund */
.pdf-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

/* Das PDF-Popup */
.pdf-preview {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid #ccc;
    z-index: 999;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.pdf-preview embed {
    width: 100%;
    height: 100%;
}

.pdf-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 1000;
}
