/* Passwortgeschützte Seite – an Kabarettpreis-Theme angepasst */
.post-password-form {
    max-width: 560px;
    margin: 40px auto;
    padding: 40px;
    background: #090422;
    border: 1px solid rgba(248, 234, 222, .25);
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
}

/* Hinweistext */
.post-password-form > p:first-of-type {
    margin: 0 0 25px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
}

/* Zeile mit Feld + Button */
.post-password-form > p:last-of-type {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin: 0;
}

/* Label "Passwort:" über dem Feld */
.post-password-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 240px;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f8eade;
}

.post-password-form input[type="password"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 43px;
    padding: 0 15px;
    border: 1px solid rgba(248, 234, 222, .35);
    border-radius: 0;
    background: #0d0630;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    box-sizing: border-box;
    transition: border-color .2s linear;
}

.post-password-form input[type="password"]:focus {
    outline: none;
    border-color: #f8eade;
}

/* Passwort-Punkte sichtbar halten: gegen Theme-Regeln und Browser-Autofill durchsetzen */
.post-password-form input[type="password"],
.post-password-form input[type="password"]:focus {
    background-color: #0d0630 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #f8eade;
    opacity: 1 !important;
}

.post-password-form input[type="password"]:-webkit-autofill,
.post-password-form input[type="password"]:-webkit-autofill:hover,
.post-password-form input[type="password"]:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px #0d0630 inset !important;
    box-shadow: 0 0 0 1000px #0d0630 inset !important;
    caret-color: #f8eade;
    transition: background-color 9999s ease-out 0s;
}

/* Button wie .uk-button-primary */
.post-password-form input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    height: 43px;
    padding: 0 25px;
    border: 0;
    border-radius: 0;
    background: #f8eade;
    color: #110642;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background .1s ease;
}

.post-password-form input[type="submit"]:hover,
.post-password-form input[type="submit"]:focus-visible {
    background: #c69a76;
    color: #110642;
    outline: none;
}

.post-password-form input[type="submit"]:active {
    background: #b57c4f;
}

/* Meldung bei falschem Passwort */
.post-password-form-invalid-password {
    margin: 0 0 20px;
    padding: 12px 15px;
    background: #cc586e;
    color: #ffffff;
    font-size: 14px;
}

.post-password-form-invalid-password p {
    margin: 0;
}

.post-password-form.password-form-error input[type="password"] {
    border-color: #cc586e;
}

/* Mobil: Button in voller Breite */
@media (max-width: 480px) {
    .post-password-form {
        padding: 25px 20px;
    }

    .post-password-form input[type="submit"] {
        flex: 1 1 100%;
    }
}
