* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100svh;
    display: flex; align-items: center; justify-content: center;
    padding: 24px 16px;
    font-family: 'Comfortaa', system-ui, sans-serif;
    color: #2e1a38;
    background: #f6c6d9 url('bg.jpg') center / cover fixed;
    overflow-x: hidden;
}

.locked { width: 100%; max-width: 400px; text-align: center; }

/* Bluey & Bingo dance on top of the card */
.locked-chars {
    display: block;
    width: 86%; height: auto;
    margin: 0 auto -9%;
    position: relative; z-index: 3;
    transform-origin: 50% 100%;
    animation: hop 1.8s cubic-bezier(.3, 0, .3, 1) infinite;
}
@keyframes hop {
    0%, 60%, 100% { transform: translateY(0) scale(1, 1); }
    68%  { transform: translateY(0) scale(1.04, .95); }
    80%  { transform: translateY(-4%) scale(.98, 1.03); }
    90%  { transform: translateY(0) scale(1.03, .97); }
}

.locked-card {
    position: relative; z-index: 2;
    padding: 30px 24px 28px;
    background: #fff;
    border-radius: 28px;
    box-shadow: inset 0 0 0 3px #f5b9d2, 0 18px 40px rgba(190, 80, 130, .25);
}
.locked-card h1 {
    margin: 0 0 10px;
    font-size: 1.55rem; line-height: 1.3;
    color: #f03073;
}
.locked-card p { margin: 0; font-weight: 600; color: #d7235f; }

@media (prefers-reduced-motion: reduce) {
    .locked-chars { animation: none; }
}

/* Admin login (views/login.html) */
.login-card p { margin-bottom: 20px; }
.remember {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin: 0 0 18px;
    font-weight: 700; color: #2e1a38; cursor: pointer;
}
.remember input {
    appearance: none; -webkit-appearance: none;
    width: 26px; height: 26px; margin: 0;
    border-radius: 8px;
    background: #ffeef6;
    box-shadow: inset 0 0 0 2px #f5b9d2;
    display: grid; place-items: center;
    cursor: pointer;
}
.remember input:checked { background: #ff69a0; box-shadow: none; }
.remember input:checked::after {
    content: ''; width: 7px; height: 13px; margin-top: -3px;
    border: solid #fff; border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
.remember input:focus-visible { outline: 3px solid rgba(255, 105, 160, .45); outline-offset: 2px; }
.login-btn {
    display: block; width: 100%;
    padding: 15px; border: 0; border-radius: 99px;
    background: #f03073; color: #fff;
    font: inherit; font-weight: 700; font-size: 1.05rem;
    box-shadow: 0 5px 0 #b51a4f;
    cursor: pointer;
}
.login-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #b51a4f; }
