* { box-sizing: border-box; }

body {
    font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #1b1c1e;
    color: #f0f0f0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bereich {
    max-width: 560px;
    width: 90%;
    padding: 32px;
    background: #25262a;
    border-radius: 12px;
    text-align: center;
}

.versteckt { display: none; }

h1 { font-size: 22px; margin-bottom: 8px; }

.hinweis { color: #b8b8b8; font-size: 14px; line-height: 1.5; margin-bottom: 24px; }

input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 12px 0;
    border-radius: 8px;
    border: 1px solid #444;
    background: #1b1c1e;
    color: #fff;
    font-size: 15px;
}

button {
    cursor: pointer;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    padding: 12px 20px;
}

#login-button {
    background: #d62b3c;
    color: #fff;
    width: 100%;
}

.aufnahme-button {
    background: #d62b3c;
    color: #fff;
    width: 100%;
    padding: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.aufnahme-button.aktiv {
    background: #8c1c27;
    animation: pulsieren 1.2s infinite;
}

@keyframes pulsieren {
    0% { box-shadow: 0 0 0 0 rgba(214,43,60,0.5); }
    70% { box-shadow: 0 0 0 14px rgba(214,43,60,0); }
    100% { box-shadow: 0 0 0 0 rgba(214,43,60,0); }
}

.status { margin-top: 16px; color: #b8b8b8; font-size: 14px; min-height: 20px; }

.fehler { color: #ff6b6b; font-size: 14px; }

pre {
    text-align: left;
    white-space: pre-wrap;
    background: #1b1c1e;
    padding: 16px;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
    font-size: 13px;
}

.download-button {
    display: inline-block;
    margin-top: 12px;
    background: #2f9e44;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
}

.logout-button {
    margin-top: 24px;
    background: transparent;
    color: #888;
    border: 1px solid #444;
}
