body {
    font-family: Arial, sans-serif;
    background: linear-gradient(110deg, #1192dc, #53ba33);
    background-position: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: -5px;
    padding: 0;
}

h1 {
    color: white;
    padding: 10px;
    text-align: center;
    margin: 0;
}

h2 {
    color: white;
    font-size: 16px;
    padding: 0 5px 0 0;
    background: linear-gradient(110deg, #1192dc, #53ba33);
    margin: 0;
}

form {
    margin-bottom: 20px;
}

label {
    font-size: 12px;
    color: #fff;
    margin-bottom: 5px;
}

input, select {
    display: block;
    margin-bottom: 10px;
    padding: 10px;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
}
button {
    display: block;
    padding: 10px;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
}

input {
    height: 25px !important;
    width: 100%;
    border: 1px solid grey;
    margin-bottom: 5px !important;
    box-sizing: border-box;
}

select {
    height: 25px !important;
    width: 100%;
    border: 1px solid grey;
    margin-bottom: 5px !important;
    box-sizing: border-box;
    background-color: white; /* Ensure selected option is visible */
    color: black; /* Ensure selected option text is visible */
}

/* Ensure dropdown options are visible */
select option {
    background-color: white;
    color: black;
}

/* Ensure dropdown options are visible when hovered */
select:hover option {
    background-color: white;
    color: black;
}

form > div {
    display: flex;
    flex-direction: column;
}

button {
    height: 43px;
    margin-left: 10px;
    background-color: #53ba56;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0a6fa1;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
    border-radius: 5px;
}

.sticky-container {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    padding-bottom: 60px;
    margin-left: -8px;
    margin-right: -8px;
    background: linear-gradient(110deg, #1192dc, #53ba33) !important;
    border: none;
}

nav {
    padding: 10px;
}

nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav li a {
    padding: 10px;
    color: #000;
    margin-right: 10px;
    border-radius: 5px;
    text-decoration: none;
}

.elefant-nav .logo img {
    width: 70px;
    height: 70px;
}

#logout-button {
    float: right;
    width: 40px;
    height: 40px;
    font-size: 20px;
    margin-top: 10px;
    margin-right: 10px;
    padding: 0px;
    background-color: red;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}

#login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 9999;
    background: linear-gradient(110deg, #1192dc, #53ba33);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

#login-form img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

#login-form input {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
}

#login-form button {
    padding: 10px 20px;
    background-color: #53ba33;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#login-form input {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
}

#login-form button {
    padding: 10px 20px;
    background-color: #000000 !important;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 0;
}

.search-container {
    padding: 10px;
    float: left; 
    margin-top: -10px;
    margin-left: -10px; 
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#search-input {
    height: 40px !important;
    margin-top: 5px;
}

#export-button {
    width: 40px;
    height: 40px;
    font-size: 25px;
    margin: 0;
    padding: 0px;
    background-color: #222;
    color: white;
    border: none;
    border-radius: 5px;
}

#notfallkontakt-form {
    display: grid; 
    grid-template-columns: repeat(6, 1fr); 
    gap: 5px; 
    box-sizing: border-box; 
    width: 100%; 
    margin: 0 !important; 
    padding: 5px;
    border-radius: 5px; 
}

#content-container {
    display: none; 
    width: 100%; 
    overflow-x: auto;
}

.collapsible {
    cursor: pointer;
    user-select: none;
}

.collapsible::after {
    content: '\002B'; /* Unicode character for "plus" sign (+) */
    color: white;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.collapsible.active::after {
    content: "\2212"; /* Unicode character for "minus" sign (−) */
}

.content {
    padding: 0;
    display: none; /* Ensure all sections are collapsed by default */
    overflow: hidden;
    background-color: #000;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    align-items: center;
}

.page-button {
    margin: 0 5px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    background-color: #f1f1f1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-button {
    background-color: #000000 !important;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

thead {
    background: linear-gradient(110deg, #1192dc, #53ba33);
    color: #fff;
}

thead th {
    padding: 10px;
    text-align: left;
    font-weight: normal;
}

tbody tr {
    border-bottom: 1px solid #ddd;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

tbody td {
    padding: 2px;
    text-align: left;
}

tbody tr:hover {
    background-color: #f1f1f1;
}

.searchandexcel {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-container {
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: center;
}

.search-container > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.searchandexcel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.edit-button, .delete-button {
    font-size: 15px;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.edit-button {
    background-color: #53ba33;
    color: white;
}

.edit-button:hover {
    background-color: #45a029;
}

.delete-button {
    background-color: red;
    color: white;
}

.delete-button:hover {
    background-color: darkred;
}

.delete-button {
    font-size: 15px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 2px;
    padding: 2px 6px;
    width: 30px;
    height: 30px;
}

.delete-button:hover {
    background-color: darkred;
}

.edit-button {
    font-size: 15px;
    background-color: #53ba33;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 2px 6px;
    width: 30px;
    height: 30px;
    margin-left: 0;
    margin-bottom: 0 !important;
}

.edit-button:hover {
    background-color: #53ba33;
}

#cancel-button {
    width: 40px;
    height: 40px;
    margin: 0;
    margin-bottom: 0 !important;
    padding: 5px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#cancel-button:hover {
    background-color: darkred;
}
