/*Wordpress Bar ausblenden*/
#wpadminbar {
    display: none !important;
}
html {
    margin-top: 0 !important;
}



/* -------Abo-Verwaltung------- */
/* Filter und Suchleiste */
#csm-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1rem;
}
#topFilters {
    display: flex;
    align-items: center;
}
#topFilters select, #topFilters input[type="text"], #topFilters button {
    margin-right: 10px;
}
/* Gesamtcontainer */
.filter-container {
    display: flex;
    width: 100%; /* Container nutzt die gesamte Breite */
    justify-content: space-between;
    align-items: center;
}

/* Links ausgerichteter Bereich */
.left-align {
    flex: 1; /* Füllt den linken Bereich */
    display: flex;
    align-items: center; /* Vertikal zentriert */
    justify-content: flex-start; /* Links ausgerichtet */
}

/* Rechts ausgerichteter Bereich */
.right-align {
    flex: 3; /* Größerer Bereich für die Filter */
    display: flex;
    gap: 15px; /* Abstand zwischen den Filtern */
    justify-content: flex-end; /* Rechtsbündig */
    align-items: center; /* Vertikal zentriert */
}


/* Group Dropdown Design*/
.group-dropdown {
    position: relative;
    display: inline-block;
    font-family: "Arial", sans-serif;
}

/* Dropdown Select */
.group-filter {
    width: 220px;
    padding: 4px 12px;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 29px;
    color: #333;
    border: 0px;
    border-radius: 4px;
    background-color: #fff;
    appearance: none; /* Entfernt Standardpfeil bei Browsern */
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Dropdown Hover */
.group-filter:hover {
    background-color: #fff;
}

/* Dropdown Pfeil */
.dropdown-arrow {
    position: absolute;
    top: 50%;
    right: 17px;
    width: 25px;
    height: 15px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23757575"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat center;
    transform: translateY(-50%);
    pointer-events: none; /* Kein Klick auf den Pfeil */
}

/* Entfernt den Fokus-Rahmen */
.group-filter:focus {
    outline: none;
    border: 1px solid transparent;
}


/*Site Dropdown Design*/
.site-dropdown {
    position: relative;
    display: inline-block;
    font-family: "Arial", sans-serif;
}

/* Dropdown Select */
.site-filter {
    width: 220px;
    padding: 4px 12px;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 29px;
    color: #333;
    border: 0px;
    border-radius: 4px;
    background-color: #fff;
    appearance: none; /* Entfernt Standardpfeil bei Browsern */
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Dropdown Hover */
.site-filter:hover {
    background-color: #fff;
}

/* Entfernt den Fokus-Rahmen */
.site-filter:focus {
    outline: none;
    border: 1px solid transparent;
}


/*Länder Dropdown Design*/
.country-dropdown {
    position: relative;
    display: inline-block;
    font-family: "Arial", sans-serif;
}

/* Dropdown Select */
.country-filter {
    width: 220px;
    padding: 4px 12px;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 29px;
    color: #333;
    border: 0px;
    border-radius: 4px;
    background-color: #fff;
    appearance: none; /* Entfernt Standardpfeil bei Browsern */
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Dropdown Hover */
.country-filter:hover {
    background-color: #fff;
}

/* Entfernt den Fokus-Rahmen */
.country-filter:focus {
    outline: none;
    border: 1px solid transparent;
}


/*Suche Input Design*/
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-container input[type="text"] {
  width: 220px;
  padding: 4px 12px;
  font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 29px;
  border: 0px;
  border-radius: 4px;
  background-color: #fff;
  appearance: none;
  transition: all 0.3s ease;
  padding-left: 40px;
}

.search-container input[type="text"]:focus {
    border-color: #0073aa; /* Farbe beim Fokus */
    outline: none;
}

.search-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px; /* Position der Lupe innerhalb des Eingabefelds */
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('https://office.himmele-verwaltung.com/wp-content/uploads/2024/11/search-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none; /* Keine Interaktionen mit der Lupe */
}


/*Anzahl Abos Design*/
.total-entries-container {
  text-align: left; /* Links ausgerichtet */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Links ausgerichtet */
}

.total-entriestext-container {
  margin-top: 5px;
}

/* Stil für die Zahl */
div#totalEntries {
  font-size: 35px;
  font-weight: bold;
  color: #333;
  margin-top: 6px;
}

/* Stil für den Text "Abos" */
.total-entries-text {
    font-size: 15px; /* Kleinere Schrift für den Text */
    font-weight: normal;
    color: #333; /* Hellere Farbe für Kontrast */
    margin-top: 12px;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
}





/* --Tabelle Design-- */
/* Tabelle */
#subscriptionsTable {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: none; /* Keine sichtbaren äußeren Rahmen */
}

/* Tabellenkopf */
#subscriptionsTable thead tr {
    background-color: #E7E7E7; /* Hintergrundfarbe */
    border-radius: 8px; /* Abgerundete obere Ecken */
}

#subscriptionsTable th {
    font-weight: bold;
    padding: 20px;
    text-align: left;
    border: none; /* Kein Rand im Header */
    position: relative; /* Für Pseudo-Elemente wie Pfeile */
}

#subscriptionsTable th:first-child {
    border-top-left-radius: 8px; /* Linke obere Ecke */
}

#subscriptionsTable th:last-child {
    border-top-right-radius: 8px; /* Rechte obere Ecke */
}

#subscriptionsTable th:hover {
    background-color: #ddd; /* Leichte Hover-Farbe */
}

/* Sortierpfeile */
#subscriptionsTable th.sortable::after {
    content: "⇵";
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

#subscriptionsTable th.sorted-asc::after {
    content: "↑";
    font-size: 12px;
    color: #000;
}

#subscriptionsTable th.sorted-desc::after {
    content: "↓";
    font-size: 12px;
    color: #000;
}

/* Tabellenzellen */
#subscriptionsTable tbody tr {
    background-color: #fff; /* Standard-Hintergrundfarbe */
}

#subscriptionsTable tbody tr:nth-child(odd) {
    background-color: #FEFEFE; /* Sehr leichter Hintergrund für ungerade Zeilen */
}

#subscriptionsTable td {
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Sehr leichte Trennlinien */
}

/* Keine Rahmen an äußeren Seiten */
#subscriptionsTable td:first-child, #subscriptionsTable th:first-child {
    border-left: none; /* Kein linker Rand */
}

#subscriptionsTable td:last-child, #subscriptionsTable th:last-child {
    border-right: none; /* Kein rechter Rand */
}

/* Abgerundete untere Ecken */
#subscriptionsTable tbody tr:last-child td:first-child {
    border-bottom-left-radius: 8px; /* Linke untere Ecke */
}

#subscriptionsTable tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px; /* Rechte untere Ecke */
}

/* Zeilenhover */
#subscriptionsTable tbody tr:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

/* Trennlinien fast unsichtbar */
#subscriptionsTable th + th, #subscriptionsTable td + td {
    border-left: 1px solid rgba(0, 0, 0, 0.05); /* Dünne Trennlinien */
}








/* ---Zeilen Anzahl & Seite vor und Zurück Design--- */
#paginationControls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

/* Links: Zeilen anzeigen */
#paginationControls span:first-child {
    flex: 1; /* Bleibt linksbündig */
    display: flex;
    align-items: center;
}

.dropdown-container {
    position: relative;
    display: flex; /* Horizontale Ausrichtung */
    align-items: center; /* Vertikale Zentrierung */
    gap: 5px; /* Abstand zwischen "Zeilen:" und dem Dropdown */
}

/*breite Zeilenanzahl Dropdown*/
#paginationControls select {
    margin-left: 5px;
    padding: 4px 40px 4px 12px;
    width: 70px;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 29px;
    color: #333;
    border: 0px;
    text-align: center;
    border-radius: 4px;
    background-color: #fff;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-label-rows {
    font-size: 15px;
    font-weight: normal;
    color: #333;
    margin-top: 17px;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
}

#paginationControls select:focus {
    border-color: #0073aa; /* Farbe beim Fokus */
    outline: none; /* Entfernt den Standardrahmen */
}

/* Mitte: Seitenanzahl */
#paginationNumbers {
    flex: 1; /* Zentriert in der Mitte */
    text-align: center;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
}

/* Rechts: Navigation und Seiteninput */
#paginationControls span:last-child,
#paginationControls .pagination-button,
#pageInput {
    flex: 0;
}

span.label-page-navigation {
  font-size: 15px;
  font-weight: normal;
  color: #333;
  margin-top: 17px;
  font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
  margin-left: 10px;
}

#pageInput {
  width: 80px;
  padding: 4px 12px;
  text-align: center;
  margin-left: 5px;
  font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 29px;
  color: #333;
  border: 0px;
  border-radius: 4px;
  background-color: #fff;
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
#pageInput:focus {
  border-color: #0073aa;
  outline: none;
}

.pagination-button {
  margin-left: 5px;
  padding: 4px 12px;
  border: 0px;
  background-color: white !important;
  cursor: pointer;
  font-size: 14px;
  line-height: 29px;
  color: #0098ff !important;
  border-radius: 4px;
  appearance: none;
  transition: all 0.3s ease;
}

.pagination-button:hover {
    background-color: #0098ff !important;
    color: white !important;
}

#paginationControls span:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Rechtsbündig */
    gap: 5px; /* Abstand zwischen den Elementen */
}




/* ----Design Alle Tabs und Einstellungsseite---- */
/* Tabs-Styling */
.csm-tabs {
    width: 100%; /* Volle Breite */
}

.csm-tab-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-start; /* Links ausrichten */
    margin-bottom: 20px;
}

.csm-tab-links a {
    padding: 12px 20px;
    text-decoration: none;
    background-color: white;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    border: 0px;
    transition: background-color 0.3s, color 0.3s;
    margin-right: -7px;
    padding-left: 70px;
    padding-right: 70px;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.csm-tab-links a.active {
    background-color: #0098FF;
    color: #fff;
    z-index: 1;
    position: relative;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.csm-tab {
    display: none; /* Standardmäßig versteckt */
    margin-top: 40px;
}



/* -----TAB 1----- */
.connected-site h4 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    margin-block-start: 0px;
    background-color: #E7E7E7;
    margin-left: -25px;
    margin-right: -25px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    padding: 20px;
}

.connected-site {
    background-color: white;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 25px;
    margin-bottom: 30px;
    margin-top: 22px;
    border-radius: 7px;
}

#add-site-btn {
    background-color: #0098FF;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#add-site-btn:hover, #add-site-btn:focus {
    background-color: #007acc;
    color: white;
}

label.consumer-key-label, label.consumer-secret-label {
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    font-size: 14px;
}

label.consumer-secret-label {
    margin-top: 15px;
    margin-bottom: 4px;
}

.consumer-secret + button {
    position: absolute;
    margin-left: -51px;
    border: 0px
}

.consumer-secret + button:hover, .consumer-secret + button:focus {
    background-color: transparent;
}

input.consumer-key, input.consumer-secret {
    background-color: #F6F6F6;
    border: 0px !important;
    border-radius: 4px !important;
    color: #333;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
}

input.consumer-key:focus, input.consumer-secret:focus {
    border: 1px solid #E7E7E7 !important;
    outline: none !important;
}

button.update-config-btn {
    background-color: #F1F1F1;
    color: #333;
    border: none;
    margin-top: 22px;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    border-radius: 4px;
    font-size: 14px;
    padding-left: 25px;
    padding-right: 25px;
}

button.update-config-btn:hover, button.update-config-btn:focus {
    color: #0098FF;
    border: none;
    background-color: #F1F1F1;
}

button.delete-config-btn {
    background-color: #F1F1F1;
    color: #333;
    border: none;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    border-radius: 4px;
    font-size: 14px;
    padding-left: 25px;
    padding-right: 25px;
}

button.delete-config-btn:hover, button.delete-config-btn:focus {
    background-color: #F44336;
    color: white;
    border: none;
}

/*Popup seite löschen*/
div#delete-confirmation-popup {
    position: absolute;
    top: 50%;
    background-color: white;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.5);
    z-index: 10;
    left: 18%;
    padding: 25px;
    border-radius: 5px;
}

div#delete-confirmation-popup p {
    color: #333;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
}

button#confirm-delete-btn {
    background-color: #F1F1F1;
    color: #333;
    border: none;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    border-radius: 4px;
    font-size: 14px;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
}

button#confirm-delete-btn:hover, button#confirm-delete-btn:focus {
    background-color: #F44336;
    color: white;
    border: none;
}

button#cancel-delete-btn {
    background-color: #F1F1F1;
    color: #333;
    border: none;
    margin-top: 22px;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    border-radius: 4px;
    font-size: 14px;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
}

button#cancel-delete-btn:hover, button#cancel-delete-btn:focus {
    color: #0098FF;
    border: none;
    background-color: #F1F1F1;
}

/*Neue Seite hinzufügen*/
div#add-site-form {
    background-color: white;
    margin-bottom: 30px;
    margin-top: 22px;
    border-radius: 7px;
    padding: 25px;
}

input#new-site-url {
    background-color: #F6F6F6;
    border: 0px;
    border-radius: 4px;
    color: #333;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
}

input#new-site-url:focus {
    border: 1px solid #E7E7E7 !important;
    outline: none !important;
}

input#new-consumer-key {
    background-color: #F6F6F6;
    border: 0px;
    border-radius: 4px;
    color: #333;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    margin-top: 15px;
}

input#new-consumer-key:focus {
    border: 1px solid #E7E7E7 !important;
    outline: none !important;
}

input#new-consumer-secret {
    background-color: #F6F6F6;
    border: 0px;
    border-radius: 4px;
    color: #333;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    margin-top: 15px;
}

input#new-consumer-secret:focus {
    border: 1px solid #E7E7E7 !important;
    outline: none !important;
}

button#connect-site-btn {
    background-color: #0098FF;
    color: white;
    border: none;
    margin-top: 22px;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    border-radius: 4px;
    font-size: 14px;
    padding-left: 25px;
    padding-right: 25px;
}

button#connect-site-btn:hover, button#connect-site-btn:focus {
    background-color: #007acc;
    color: white;
}



/* -----TAB 2----- */
button#add-group-btn {
    background-color: #0098FF;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button#add-group-btn:hover {
    background-color: #007acc;
    color: white;
}

/*Button Gruppe hinzufügen*/
button#add-group-btn {
    background-color: #0098FF;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button#add-group-btn:hover, button#add-group-btn:focus {
    background-color: #007acc;
    color: white;
}

/*Gruppen Design*/
.group-item {
    background-color: white;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 25px;
    margin-bottom: 30px;
    margin-top: 22px;
    border-radius: 7px;
}

.group-item h4 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    margin-block-start: 0px;
    background-color: #E7E7E7;
    margin-left: -25px;
    margin-right: -25px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    padding: 20px;
}

.group-item p {
    color: #333;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    margin-top: 30px;
}

button.edit-group-btn {
    background-color: #F1F1F1;
    color: #333;
    border: none;
    margin-top: 15px;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    border-radius: 4px;
    font-size: 14px;
    padding-left: 25px;
    padding-right: 25px;
}

button.edit-group-btn:hover, button.edit-group-btn:focus {
    color: #0098FF;
    border: none;
    background-color: #F1F1F1;
}

div#group-form {
    background-color: white;
    margin-bottom: 30px;
    margin-top: 22px;
    border-radius: 7px;
    padding: 25px;
}

div#group-form label {
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    font-size: 14px;
}

input#group-name {
    background-color: #F6F6F6;
    border: 0px !important;
    border-radius: 4px !important;
    color: #333;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
}

input#group-name:focus {
    border: 1px solid #E7E7E7 !important;
    outline: none !important;
}

select.site-dropdown {
    background-color: #F6F6F6;
    border: 0px !important;
    border-radius: 4px !important;
    color: #333;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    margin-top: 15px;
}

select.site-dropdown:hover, select.site-dropdown:focus {
    border: 1px solid #E7E7E7 !important;
    outline: none !important;
}

button.add-site {
    background-color: #F1F1F1;
    color: #333;
    border: none;
    margin-top: 13px;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    border-radius: 4px;
    font-size: 14px;
}

button.add-site:hover, button.add-site:focus {
    color: #0098FF;
    border: none;
    background-color: #F1F1F1;
}

button.remove-site {
    background-color: #F1F1F1;
    color: #333;
    border: none;
    margin-top: 13px;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    border-radius: 4px;
    font-size: 14px;
}

button.remove-site:hover, button.remove-site:focus {
    color: #F44336;
    border: none;
    background-color: #F1F1F1;
}

button#save-group-btn {
    background-color: #F1F1F1;
    color: #333;
    border: none;
    margin-top: 22px;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    border-radius: 4px;
    font-size: 14px;
    padding-left: 25px;
    padding-right: 25px;
}

button#save-group-btn:hover, button#save-group-btn:focus {
    color: #0098FF;
    border: none;
    background-color: #F1F1F1;
}

button#delete-group-btn {
    background-color: #F1F1F1;
    color: #333;
    border: none;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    border-radius: 4px;
    font-size: 14px;
    padding-left: 25px;
    padding-right: 25px;
}

button#delete-group-btn:hover, button#delete-group-btn:focus {
    background-color: #F44336;
    color: white;
    border: none;
}




/* -----TAB 3----- */
.switch-container {
    margin-bottom: 10px;
}

.switch {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
}

.switch input {
    display: none;
}

.switch .slider {
    width: 50px;
    height: 25px;
    background-color: #ccc;
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.switch .slider::before {
    content: "Nein";
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 14px;
    color: #fff;
    transition: 0.3s;
}

.switch input:checked + .slider {
    background-color: #4caf50;
}

.switch input:checked + .slider::before {
    content: "Ja";
    left: 25px;
}

.switch .slider:hover {
    background-color: #ddd;
}

.switch input:checked + .slider:hover {
    background-color: #45a049;
}

.update-status {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    min-height: 20px; /* Platz reservieren */
    display: block; /* Sicherstellen, dass es sichtbar ist */
}

.database-update-item {
    background-color: white;
    padding-left: 25px;
    padding-right: 25px;
    margin-bottom: 30px;
    margin-top: 22px;
    border-radius: 7px;
}

.database-update-item h4 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    margin-block-start: 0px;
    background-color: #E7E7E7;
    margin-left: -25px;
    margin-right: -25px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    padding: 20px;
}

.switch-container {
    display: grid;
    margin-top: 30px;
}

label.switch {
    margin-bottom: 8px;
}

button.update-database-btn {
    background-color: #F1F1F1;
    color: #333;
    border: none;
    margin-top: 15px;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    border-radius: 4px;
    font-size: 14px;
    padding-left: 25px;
    padding-right: 25px;
}

button.update-database-btn:hover, button.update-database-btn:focus {
    color: #0098FF;
    border: none;
    background-color: #F1F1F1;
}

label.switch {
    border-radius: 4px !important;
    color: #333;
    font-family: "Suisse Int'l", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
}

span.slider {
    margin-right: 15px;
}







/* -------TOOLS------- */
/* -----Abo Cronjob----- */
.status-indicator {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}

.status-indicator.active {
    background-color: green;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-indicator.active::after {
    content: "✔";
    color: white;
    font-size: 14px;
}

.status-indicator.inactive {
    background-color: gray;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-indicator.inactive::after {
    content: "✖";
    color: white;
    font-size: 14px;
}
