body {
    background-color: #0f172a;
    color: #e2e8f0;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background-color: #1e293b;
    padding: 2.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 450px;
    border: 1px solid #334155;
}

.terminal-header {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #10b981;
    min-height: 1.5rem;
    word-wrap: break-word;
}

.cursor {
    display: inline-block;
    width: 10px;
    font-weight: bold;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.login-form {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-form.visible {
    opacity: 1;
    transform: translateY(0);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

/* Styling für die Textarea */
textarea {
    padding: 0.75rem;
    background-color: #0f172a;
    border: 1px solid #475569;
    border-radius: 0.25rem;
    color: #10b981; /* Grüne Schrift für den "Key" */
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    outline: none;
    resize: none; /* Verhindert, dass das Feld vom User größer gezogen wird */
    transition: border-color 0.3s;
    line-height: 1.4;
    
    /* Dieser Trick maskiert den Text wie bei einem Passwort-Feld (Chrome/Safari/Edge) */
    -webkit-text-security: disc;
}

textarea::placeholder {
    color: #334155;
    -webkit-text-security: none; /* Der Platzhalter soll lesbar bleiben */
}

textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 1px #10b981;
}

button {
    background-color: #10b981;
    color: #0f172a;
    font-weight: bold;
    font-size: 1rem;
    padding: 0.75rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.3s, transform 0.1s;
    font-family: inherit;
    margin-top: 0.5rem;
}

button:hover {
    background-color: #059669;
}

button:active {
    transform: scale(0.98);
}
