/* Globale Einstellungen */
:root {
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.18);
    --main-color: #3f2b96; /* Lila-Blau für Akzente */
    --text-color: #ffffff;
}

body {
    background: linear-gradient(135deg, #a8c0ff, #3f2b96); /* Verlaufshintergrund */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
}

/* Glass Container (Der Haupteffekt) */
.glass-container {
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    background-color: var(--glass-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 30px;
    margin: 20px;
    transition: transform 0.3s ease;
}

.header {
    width: 90%;
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content {
    width: 90%;
    max-width: 500px;
}

/* Eingabefelder und Buttons */
input[type="text"], input[type="password"], select, button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    padding: 12px;
    color: var(--text-color);
    width: 100%;
    margin-bottom: 15px;
    outline: none;
    font-size: 16px;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

button {
    background-color: var(--main-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

button:hover {
    background-color: #5541a7;
    transform: translateY(-1px);
}

/* Sprachauswahl-Styling */
#language-switcher button {
    width: auto;
    padding: 5px 10px;
    margin: 0 2px;
    font-size: 12px;
    background-color: var(--glass-bg);
    color: var(--text-color);
}

#language-switcher button.active {
    background-color: var(--main-color);
    border-color: var(--text-color);
}

/* Links */
a {
    color: #ffd700; /* Goldgelb für gute Sichtbarkeit */
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Dashboard Elemente */
.data-entry-form label, .data-display h3 {
    margin-top: 10px;
    display: block;
    font-weight: 400;
}
