/*
 * Generic, deliberately UN-branded styling for the CMS password gate.
 * No project/tenant huisstijl here on purpose: the protected page's design is
 * one of the things the password hides, so this page must look neutral.
 */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body.wm-pwgate {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
    background: #f3f4f6;
    color: #1f2937;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
        sans-serif;
    line-height: 1.5;
}

.wm-pwgate__card {
    width: 100%;
    max-width: 24rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

.wm-pwgate__icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    color: #6b7280;
}

.wm-pwgate__title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.wm-pwgate__intro {
    margin: 0 0 1.5rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.wm-pwgate__label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.wm-pwgate__input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.wm-pwgate__input:focus {
    outline: 2px solid #2563eb;
    outline-offset: 1px;
    border-color: #2563eb;
}

.wm-pwgate__error {
    margin: 0 0 1rem;
    padding: 0.625rem 0.75rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    color: #b91c1c;
    font-size: 0.875rem;
}

.wm-pwgate__button {
    width: 100%;
    margin-top: 1rem;
    padding: 0.625rem 1rem;
    background: #111827;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

.wm-pwgate__button:hover {
    background: #374151;
}
