/* SimplyPWPage - frontend.css */

.simplypwpage-frontend {
    margin: 1em 0;
    padding: 0.75em 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95em;
    background-color: #fafafa;
}

.simplypwpage-status {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

/* "Gesperrt" / "Eingeloggt" Zeilen */

.simplypwpage-status-locked .simplypwpage-text {
    margin: 0 0 0.5em 0;
}

.simplypwpage-status-logged-in {
    align-items: flex-start;
}

.simplypwpage-label {
    font-weight: bold;
}

/* Formulare */

.simplypwpage-form {
    margin: 0;
}

.simplypwpage-form-login,
.simplypwpage-form-logout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em;
}

.simplypwpage-row {
    margin: 0.25em 0;
}

.simplypwpage-input-password {
    padding: 0.35em 0.5em;
    border: 1px solid #ccc;
    border-radius: 3px;
    min-width: 200px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Buttons */

.simplypwpage-button {
    display: inline-block;
    padding: 0.35em 0.75em;
    border-radius: 3px;
    border: 1px solid #888;
    background-color: #eee;
    cursor: pointer;
    font-size: 0.95em;
}

.simplypwpage-button:hover,
.simplypwpage-button:focus {
    background-color: #e0e0e0;
}

.simplypwpage-button-login {
    /* könnte bei Bedarf etwas hervorgehoben werden */
}

.simplypwpage-button-logout {
    opacity: 0.85;
}

/* Meldungen */

.simplypwpage-message {
    padding: 0.4em 0.6em;
    border-radius: 3px;
    margin: 0.25em 0;
    font-size: 0.9em;
}

.simplypwpage-error {
    background-color: #ffeaea;
    border: 1px solid #e0a0a0;
    color: #b00000;
}

.simplypwpage-success {
    background-color: #eaffea;
    border: 1px solid #a0e0a0;
    color: #006600;
}
