/* Grundlegendes Styling */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #e0e0e0;
    margin: 0;
    padding: 20px;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

h1 {
    text-align: center;
    color: #ffc107;
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ffc107, 0 0 20px #ffc107;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 10px #ffc107, 0 0 20px #ffc107;
    }

    100% {
        text-shadow: 0 0 20px #ffc107, 0 0 40px;
    }
}

/* Container-Styling */
.container {
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Formular-Styling */
form {
    width: 90%;
    max-width: 400px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #e0e0e0;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea {
    width: calc(100% - 12px);
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ffc107;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

input[type="submit"] {
    background-color: #ffc107;
    color: #24243e;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #ff9800;
}

.error {
    color: #f44336;
    margin-bottom: 10px;
}

.success {
    color: #4CAF50;
    margin-bottom: 10px;
}

/* Links */
a {
    color: #ffc107;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff9800;
}

/* Navigationsleiste (falls verwendet) */
.nav {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.nav a {
    background-color: #ffc107;
    color: #24243e;
    padding: 12px 20px;
    text-decoration: none;
    margin: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.nav a:hover {
    background-color: #ff9800;
}

/* Button-Grid (für willkommen.php) */
.button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.button-grid a {
    display: block;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    background-color: #ffc107;
    color: #24243e;
    transition: background-color 0.3s ease;
}

.button-grid a:hover {
    background-color: #ff9800;
}

/* Logout-Button */
.logout-button {
    background-color: #f44336;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}

.logout-button:hover {
    background-color: #d32f2f;
}

/* Willkommen-Text */
.welcome-text {
    margin-bottom: 20px;
    font-size: 2em;
    color: #e0e0e0;
}

/* Logo-Container */
.logo-container {
    margin-bottom: 20px;
    text-align: center;
}

.logo {
    max-width: 150px;
    height: auto;
}

/* Überschrift für Login-Seite */
.login-heading {
    text-align: center;
    color: #ffc107;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 0 0 10px #ffc107, 0 0 20px #ffc107;
    animation: glow 2s infinite alternate;
}

/* Tabelle */
table {
    width: 80%;
    max-width: 800px;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f0f0f0;
    color: #333;
}

/* Ergebnis-Container */
.result {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    text-align: center;
    margin-bottom: 20px;
}