/* style.css */

body {
    font-family: Arial, sans-serif;
    
}

.container {
    width: 100%;
    margin: 0 auto;
     overflow: hidden;
}

#logout-form {
    position: absolute;
    top: 10px;
    right: 10px;
}
/* Style für die Buttons */
input[type="submit"] {
    padding: 10px 15px;
    background-color: #3498db; /* Ändere die Farbe zu Blau */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px; /* Abstand nach oben */
    transition: background-color 0.3s; /* Übergangseffekt hinzugefügt */
}

input[type="submit"]:hover {
    background-color: #2c3e50; /* Ändere die Hintergrundfarbe bei Hover */
}

.edittable-form {
    display: inline; /* Fügt das Formular inline hinzu */
}

.edittable-button {
    padding: 10px 15px;
    background-color: #3498db; /* Ändere die Farbe zu Blau */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px; /* Abstand nach oben */
    transition: background-color 0.3s; /* Hinzugefügter Übergangseffekt */
}

.edittable-button:hover {
    background-color: #2c3e50; /* Ändere die Hintergrundfarbe bei Hover */
}

input[type="submit"]:hover {
    background-color: #2c3e50; /* Dunklere Blau-Farbe im Hover-Zustand */
}

/* Style für die Textboxen */
input[type="text"] {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}


input[type="password"] {
    width: 100%; /* Ändere die Breite der Passwort-Textbox auf 100% */
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

select {
    width: 10%;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="text"]:focus,
input[type="password"]:focus,
select:focus {
    border-color: #3498db;
    outline: none;
}

select {
    width: 10%; /* Ändere die Breite der Combobox */
    padding: 8px; /* Reduziere die Höhe des Padding */
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #3498db; /* Ändere die Randfarbe zu Blau */
    border-radius: 4px;
}
select[name="new_kategorie"] {
    width: 100%; /* Ändere die Breite der Combobox */
    padding: 8px; /* Reduziere die Höhe des Padding */
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #3498db; /* Ändere die Randfarbe zu Blau */
    border-radius: 4px;
}

input[type="text"]:focus,
select:focus {
    border-color: #2980b9; /* Ändere die Fokusfarbe zu Dunkelblau */
    outline: none;
}

/* Style für die Labels */
label {
    margin-top: 10px;
    display: block;
    font-weight: bold;
}

/* Style für die Tabelle */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #3498db; /* Ändere die Kopfzeilenfarbe zu Blau */
    color: white;
}

/* Style für die Suchformular-Sektion */
#search-form {
    margin-top: 20px;
}

/* Style für die Suchbox */
#search {
    width: 90%;
    padding: 8px; /* Reduziere die Höhe des Padding */
    box-sizing: border-box;
    border: 1px solid #3498db; /* Ändere die Randfarbe zu Blau */
    border-radius: 4px;
    margin-right: 10px;
}

/* Style für die Suchbutton */
#search-submit {
    padding: 10px 15px;
    background-color: #3498db; /* Ändere die Farbe zu Blau */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s; /* Übergangseffekt hinzugefügt */
}

/* style.css */

body {
    font-family: Arial, sans-serif;
}

.login_feld {
    width: 70%;
    margin: 0 auto;
    text-align: center; /* Zentriere den Inhalt */
}
.edit_feld {
    width: 70%;
    margin: 0 auto;
    text-align: center; /* Zentriere den Inhalt */
}

div[name="Überschrift_notsan"] {
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-form {
    width: 50%; /* Breite des Formulars */
    margin: 0 auto; /* Zentriere das Formular innerhalb der .container */
    padding: 20px; /* Füge etwas Abstand hinzu */
}

/* Style für die Buttons */
input[type="submit"] {
    padding: 10px 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
     transition: background-color 0.3s; /* Übergangseffekt hinzugefügt */
}
input[name="add_vokabel"] {
    width: 100%; 
    padding: 10px 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
     transition: background-color 0.3s; /* Übergangseffekt hinzugefügt */
}

.edittable-button {
	width: 100%; 
    padding: 10px 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
     transition: background-color 0.3s; /* Übergangseffekt hinzugefügt */
}

input[name="add_kategorie"] {
    width: 100%; 
    padding: 10px 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
     transition: background-color 0.3s; /* Übergangseffekt hinzugefügt */
}
input[type="submit"]:hover {
    background-color: #2c3e50;
}

/* Style für die Textboxen */
input[type="text"],
input[type="password"] {
    width: 20%;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}


input[name="neue_kategorie"] {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}
input[name="new_vokabel"]{
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}
input[name="update_category"]{
	width: 100%;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}
input[name="new_bedeutung"] {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}
input[name="verwaltung_button"] {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
     transition: background-color 0.3s; /* Übergangseffekt hinzugefügt */
}


.save-button,
.delete-button,
.your-button-class {
    padding: 10px 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
	transition: background-color 0.3s; /* Übergangseffekt hinzugefügt */
}
.save-button:hover,
.delete-button:hover,
.your-button-class:hover {
    background-color: #2c3e50; /* Dunklere Blau-Farbe im Hover-Zustand */
}

input[name="vokabel"] {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}
input[name="bedeutung"] {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #3498db;
    outline: none;
}

/* Style für die Labels */
label {
    margin-top: 10px;
    display: block;
    font-weight: bold;
}


/* Style für die Anzeige der Anzahl der Vokabeln */
.vokabel-count {
    margin-top: 10px;
    font-weight: bold;
    color: #333; /* Farbe nach Bedarf anpassen */
}
/* Kasten um Vokabel eingabe */
 .Box_vokabel{
     width: 100%;
    margin: 20px auto; /* Hier wird "auto" für die rechte und linke Seite verwendet */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Achte darauf, dass das Box-Modell korrekt behandelt wird */
        }
.box_kategorie{
            width: 25%;
            padding: 20px;
            border: 1px solid #ccc;
            border-radius: 5px;
            margin: 20px;
        }
.Vokabel_bereich{
    width: 100%;
    margin: 20px auto; /* Hier wird "auto" für die rechte und linke Seite verwendet */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Achte darauf, dass das Box-Modell korrekt behandelt wird */
        }
/* Füge diesen Code zu deiner vorhandenen CSS-Datei hinzu oder aktualisiere ihn */
.Box_bearbeiten {
    width: 50%;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 0 auto; /* Zentriere den Block horizontal */
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.Box_bearbeiten form {
    width: 100%; /* Breite des Formulars auf 100% setzen */
}
