html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.lp-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px;
}

.lp-hero {
    background: linear-gradient(135deg, #003a8f, #0057c2);
    color: white;
    border-radius: 28px;
    padding: 36px;
    margin-bottom: 28px;
    box-shadow: 0 12px 30px rgba(0, 58, 143, 0.22);
}

.lp-kicker {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 8px;
}

.lp-hero h1,
.lp-form-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
}

.lp-hero p,
.lp-form-header p {
    font-size: 1.25rem;
    margin: 10px 0 0;
    opacity: 0.9;
}

.lp-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.lp-action-card {
    display: flex;
    gap: 22px;
    align-items: center;
    min-height: 180px;
    padding: 30px;
    border-radius: 28px;
    text-decoration: none;
    color: #0f172a;
    background: white;
    border: 2px solid #e5e7eb;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .lp-action-card:hover {
        color: #0f172a;
        transform: translateY(-2px);
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
    }

.lp-action-icon {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    flex: 0 0 auto;
}

.lp-lost .lp-action-icon {
    background: #ec008c;
}

.lp-found .lp-action-icon {
    background: #749f2d;
}

.lp-action-card h2 {
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0 0 8px;
}

.lp-action-card p {
    font-size: 1.1rem;
    margin: 0;
    color: #475569;
}

.lp-form-header {
    margin-bottom: 24px;
}

.lp-back-link {
    display: inline-block;
    margin-bottom: 18px;
    color: #003a8f;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
}

.lp-form {
    display: grid;
    gap: 22px;
}

.lp-section {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

    .lp-section h2 {
        margin: 0 0 22px;
        font-size: 1.55rem;
        font-weight: 800;
        color: #0f172a;
    }

.lp-label {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 18px 0 8px;
    color: #334155;
}

    .lp-label:first-of-type {
        margin-top: 0;
    }

.lp-input {
    width: 100%;
    min-height: 58px;
    border: 2px solid #cbd5e1;
    border-radius: 16px;
    padding: 12px 16px;
    font-size: 1.15rem;
    background: white;
}

    .lp-input:focus {
        border-color: #003a8f;
        outline: none;
        box-shadow: 0 0 0 4px rgba(0, 58, 143, 0.14);
    }

.lp-textarea {
    min-height: 150px;
    resize: vertical;
}

    .lp-textarea.small {
        min-height: 100px;
    }

.lp-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.lp-help {
    font-size: 1.05rem;
    color: #64748b;
    margin-top: -10px;
}

.lp-submit {
    min-height: 72px;
    border: none;
    border-radius: 22px;
    font-size: 1.45rem;
    font-weight: 900;
    color: white;
    display: grid;
    place-items: center;
    text-decoration: none;
    width: 100%;
    cursor: pointer;
}

.lp-submit-lost {
    background: #ec008c;
}

.lp-submit-found {
    background: #749f2d;
}

.lp-confirm-page {
    min-height: 70vh;
    display: grid;
    place-items: center;
}

.lp-confirm-card {
    width: min(720px, 100%);
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 32px;
    padding: 44px;
    text-align: center;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

.lp-confirm-tick {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #749f2d;
    color: white;
    display: grid;
    place-items: center;
    font-size: 4rem;
    font-weight: 900;
    margin: 0 auto 20px;
}

.lp-confirm-card h1 {
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
}

.lp-confirm-type {
    font-size: 1.25rem;
    color: #64748b;
    margin: 8px 0 20px;
}

.lp-reference {
    background: #f1f5f9;
    border: 2px dashed #94a3b8;
    border-radius: 22px;
    padding: 22px;
    font-size: 3rem;
    font-weight: 900;
    color: #003a8f;
    letter-spacing: 0.04em;
    margin-bottom: 26px;
}

.lp-confirm-details {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

    .lp-confirm-details div {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        background: #f8fafc;
        border-radius: 14px;
        padding: 14px 18px;
        font-size: 1.1rem;
    }

    .lp-confirm-details strong {
        color: #334155;
    }

    .lp-confirm-details span {
        color: #0f172a;
        font-weight: 700;
    }

.lp-confirm-button {
    background: #003a8f;
}

@media (max-width: 850px) {
    .lp-page {
        padding: 18px;
    }

    .lp-action-grid,
    .lp-two-col {
        grid-template-columns: 1fr;
    }

    .lp-hero h1,
    .lp-form-header h1,
    .lp-confirm-card h1 {
        font-size: 2.25rem;
    }

    .lp-reference {
        font-size: 2.2rem;
    }

    .lp-action-card {
        min-height: 150px;
    }
}

.lp-hero-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.lp-change-volunteer {
    border: 2px solid rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-radius: 18px;
    padding: 14px 20px;
    font-size: 1.05rem;
    font-weight: 800;
}

.lp-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.lp-select-tile {
    min-height: 92px;
    border: 2px solid #cbd5e1;
    background: white;
    border-radius: 22px;
    padding: 18px;
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    text-align: center;
}

    .lp-select-tile:active {
        transform: scale(0.98);
    }

.lp-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 18px;
    border-radius: 14px;
    background: #f1f5f9;
    border: 2px solid #cbd5e1;
    color: #003a8f;
    font-weight: 900;
    text-decoration: none;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

    .lp-back-button:hover {
        color: #003a8f;
        background: #e2e8f0;
    }

.lp-item-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
}

.lp-item-group-tile {
    min-height: 76px;
    border: 2px solid #cbd5e1;
    background: white;
    border-radius: 18px;
    padding: 14px;
    font-size: 1.05rem;
    font-weight: 900;
    color: #0f172a;
    text-align: center;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

    .lp-item-group-tile.selected {
        border-color: #003a8f;
        background: #eaf2ff;
        color: #003a8f;
        box-shadow: 0 0 0 4px rgba(0, 58, 143, 0.12);
    }

    .lp-item-group-tile:active {
        transform: scale(0.98);
    }

.lp-item-group-validation {
    display: block;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.lp-photo-validation {
    display: block;
    margin-top: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.lp-photo-input-list {
    display: grid;
    gap: 1rem;
}

.lp-photo-input-row {
    padding: 1rem;
    border: 2px solid #dbe3ed;
    border-radius: 16px;
    background: #f8fafc;
}

.lp-photo-input-label {
    display: block;
    margin-bottom: .65rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
}

/* ==========================================
   LOST PROPERTY - LOGIN PAGE
   All login-specific styles are maintained here.
   ========================================== */

/* Full-screen background */
.lp-login-page {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 32px 18px;
    overflow-y: auto;
    background: radial-gradient( circle at 15% 15%, rgba(86, 150, 235, 0.28), transparent 40% ), radial-gradient( circle at 85% 85%, rgba(45, 115, 215, 0.30), transparent 42% ), linear-gradient( 135deg, #0d2346 0%, #174582 50%, #0f2d57 100% );
}

/* Prevent the underlying site layout from scrolling behind the login screen. */
body:has(.lp-login-page) {
    margin-bottom: 0;
    overflow: hidden;
}

/* Login card */
.lp-login-card {
    width: min(460px, 100%);
    margin: auto;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid rgba(210, 225, 245, 0.9);
    border-radius: 30px;
    padding: 42px 38px 30px;
    box-shadow: 0 25px 75px rgba(0, 10, 40, 0.35);
}

/* Centred brand heading (no logo or subtitle) */
.lp-login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
    margin-bottom: 26px;
}

.lp-login-kicker {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #5f7ea8;
    margin-bottom: 10px;
}

.lp-login-brand h1 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.035em;
    color: #0b2856;
}

/* Login form */
.lp-login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lp-login-field {
    width: 100%;
}

.lp-login-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #284568;
    text-align: left;
}

.lp-login-input {
    display: block;
    width: 100%;
    min-height: 56px;
    padding: 14px 16px;
    border: 1.5px solid #d7e2f0;
    border-radius: 14px;
    background: #f8faff;
    color: #0b2856;
    font-size: 1rem;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

    .lp-login-input::placeholder {
        color: #9aaac0;
    }

    .lp-login-input:hover {
        border-color: #a9c2e3;
    }

    .lp-login-input:focus {
        outline: none;
        background: #ffffff;
        border-color: #1456b8;
        box-shadow: 0 0 0 4px rgba(20, 86, 184, 0.12);
    }

/* Optional checkbox styling retained for compatibility with other login variants. */
.lp-login-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #475569;
}

    .lp-login-check input {
        width: 18px;
        height: 18px;
    }

/* Sign-in button */
.lp-login-button {
    width: 100%;
    min-height: 58px;
    margin-top: 6px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #1456ad, #0b3676);
    color: white;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(18, 75, 157, 0.20);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

    .lp-login-button:hover {
        background: linear-gradient(135deg, #104b9b, #072b62);
        box-shadow: 0 12px 24px rgba(18, 75, 157, 0.30);
        transform: translateY(-1px);
    }

    .lp-login-button:active {
        transform: translateY(0);
    }

    .lp-login-button:focus-visible {
        outline: 3px solid #80b3f8;
        outline-offset: 3px;
    }

/* Validation summary */
.lp-login-error.validation-summary-valid {
    display: none;
}

.lp-login-error.validation-summary-errors {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #fff3f3;
    border: 1px solid #f5caca;
    border-left: 4px solid #dc3545;
    border-radius: 14px;
    color: #9f2635;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
}

    .lp-login-error.validation-summary-errors::before {
        content: "!";
        display: grid;
        place-items: center;
        flex-shrink: 0;
        width: 24px;
        height: 24px;
        background: #dc3545;
        color: white;
        font-size: 0.9rem;
        font-weight: 900;
        border-radius: 50%;
    }

.lp-login-error ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-login-error li + li {
    margin-top: 6px;
}

/* Individual field validation */
.lp-login-field-error {
    display: block;
    color: #c62838;
    font-size: 0.8rem;
    font-weight: 600;
}

    .lp-login-field-error:not(:empty) {
        margin-top: 7px;
    }

.lp-login-input.input-validation-error {
    border-color: #dc3545;
    background: #fffafa;
}

/* Footer */
.lp-login-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #e7edf6;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: #91a0b5;
}

.lp-login-footer-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #b1c0d4;
}

/* Optional help section retained for compatibility with other login variants. */
.lp-login-help {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
    color: #64748b;
    font-weight: 700;
    text-align: center;
}

/* Mobile */
@media (max-width: 480px) {
    .lp-login-card {
        padding: 32px 24px 26px;
        border-radius: 24px;
    }

    .lp-login-brand h1 {
        font-size: 1.9rem;
    }
}

/* ==========================================
   LOGIN -> DASHBOARD ANIMATION
   These styles are additive; keep them with
   the login styles at the end of site.css.
   ========================================== */

/* Sign-in is in progress; actual authentication is still handled by the server. */
.lp-login-button.lp-login-button-loading {
    cursor: progress;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(18, 75, 157, 0.38);
}

    .lp-login-button.lp-login-button-loading i {
        display: none;
    }

    .lp-login-button.lp-login-button-loading::after {
        content: "";
        display: inline-block;
        width: 17px;
        height: 17px;
        margin-left: 12px;
        border: 2px solid rgba(255, 255, 255, 0.35);
        border-top-color: white;
        border-radius: 50%;
        vertical-align: -3px;
        animation: lp-entry-spin 0.65s linear infinite;
    }

.lp-login-card.lp-login-shake {
    animation: lp-entry-shake 0.38s ease;
}

@keyframes lp-entry-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes lp-entry-shake {
    0%, 100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-7px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(2px);
    }
}

/* Hidden for normal dashboard visits. Only shown after a real login submission. */
.lp-dashboard-transition {
    display: none;
}

html.lp-dashboard-entry-playing body {
    overflow: hidden;
}

html.lp-dashboard-entry-playing .lp-admin-page {
    /* The real page begins appearing while the preview is still growing. */
    transform-origin: center 35%;
    animation: lp-entry-real-dashboard 0.80s cubic-bezier(0.22, 1, 0.36, 1) 0.71s both;
}

/* Match the real sidebar/topbar reveal to the preview-to-page crossfade. */
html.lp-dashboard-entry-playing .admin-sidebar,
html.lp-dashboard-entry-playing .admin-topbar {
    animation: lp-entry-real-chrome 0.67s ease-in-out 0.85s both;
}

@keyframes lp-entry-real-chrome {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

html.lp-dashboard-entry-playing .lp-dashboard-transition {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    overflow: hidden;
    pointer-events: all;
    isolation: isolate;
    background: radial-gradient(circle at 15% 15%, rgba(86, 150, 235, 0.28), transparent 40%), radial-gradient(circle at 85% 85%, rgba(45, 115, 215, 0.30), transparent 42%), linear-gradient(135deg, #0d2346 0%, #174582 50%, #0f2d57 100%);
    /* Longer overlap hides the switch from the preview to the real dashboard. */
    animation: lp-entry-overlay-dismiss 0.67s ease-in-out 0.85s both;
}

/* Ghost of the login card, shown briefly after the browser navigates. */
.lp-entry-login-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(460px, calc(100vw - 48px));
    padding: 42px 38px 30px;
    border: 1px solid rgba(210, 225, 245, 0.9);
    border-radius: 30px;
    background: linear-gradient(180deg, #fff, #f9fbff);
    box-shadow: 0 25px 75px rgba(0, 10, 40, 0.35);
    text-align: center;
    animation: lp-entry-login-disappear 0.30s ease-in both;
}

.lp-entry-login-kicker {
    margin-bottom: 10px;
    color: #5f7ea8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lp-entry-login-title {
    margin-bottom: 26px;
    color: #0b2856;
    font-size: 35px;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.lp-entry-login-label {
    margin-bottom: 8px;
    color: #284568;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
}

.lp-entry-login-field {
    height: 56px;
    margin-bottom: 20px;
    border: 1.5px solid #d7e2f0;
    border-radius: 14px;
    background: #f8faff;
}

.lp-entry-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 56px;
    margin-top: 21px;
    border-radius: 15px;
    background: linear-gradient(135deg, #1456ad, #0b3676);
    color: white;
    font-size: 15px;
    font-weight: 800;
}

.lp-entry-login-footer {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #e7edf6;
    color: #91a0b5;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.lp-entry-spinner {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: white;
    border-radius: 50%;
    animation: lp-entry-spin 0.65s linear infinite;
}

/* Miniature of the entire admin shell, including the navy sidebar. */
.lp-entry-window {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 760px;
    max-width: none;
    min-height: var(--lp-entry-preview-min-height, 480px);
    display: grid;
    grid-template-columns: var(--lp-entry-sidebar-width, 120px) minmax(0, 1fr);
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dce6f3;
    border-radius: 21px;
    background: #f3f6fb;
    box-shadow: 0 28px 110px rgba(0, 9, 35, 0.5);
    transform-origin: center center;
    animation: lp-entry-dashboard-zoom 1.13s cubic-bezier(0.22, 0.76, 0.25, 1) 0.19s both;
}

/* Minimal visual representation of the real 230px blue sidebar. */
.lp-entry-sidebar {
    min-width: 0;
    padding: 13px 9px;
    background: #0d2c66;
    color: #fff;
    box-sizing: border-box;
}

.lp-entry-sidebar-brand {
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
}

    .lp-entry-sidebar-brand small {
        display: block;
        margin-top: 3px;
        color: #94a3b8;
        font-size: 8px;
        font-weight: 800;
    }

.lp-entry-sidebar-divider {
    height: 1px;
    margin: 14px 0 10px;
    background: rgba(255, 255, 255, 0.14);
}

.lp-entry-sidebar-active {
    padding: 7px 9px;
    border-radius: 6px;
    background: linear-gradient(90deg, #1d4ed8, #2563eb);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
}

.lp-entry-sidebar-line {
    width: 84%;
    height: 6px;
    margin: 15px 0 0 7px;
    border-radius: 8px;
    background: rgba(219, 234, 254, 0.27);
}

    .lp-entry-sidebar-line.short {
        width: 62%;
    }

.lp-entry-main {
    min-width: 0;
    background: #f3f6fb;
}

.lp-entry-topbar {
    box-sizing: border-box;
    height: var(--lp-entry-topbar-height, 36px);
    display: flex;
    align-items: center;
    padding: 0 var(--lp-entry-content-padding, 13px);
    background: #f3f6fb;
    border-bottom: 1px solid #dbe3ef;
}

    .lp-entry-topbar span {
        display: block;
        margin-bottom: 3px;
        color: #64748b;
        font-size: 7px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .lp-entry-topbar strong {
        display: block;
        color: #0f172a;
        font-size: 11px;
        font-weight: 900;
    }

.lp-entry-main-content {
    padding: var(--lp-entry-content-padding, 13px);
}

/* At mobile widths the real sidebar is a closed off-canvas menu. */
@media (max-width: 950px) {
    .lp-entry-window {
        width: 640px;
        grid-template-columns: minmax(0, 1fr);
    }

    .lp-entry-sidebar {
        display: none;
    }
}

.lp-entry-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 108px;
    padding: 18px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d2c66, #025aa3);
    color: white;
}

    .lp-entry-hero > div {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .lp-entry-hero span {
        font-size: 8px;
        font-weight: 800;
        letter-spacing: 0.12em;
    }

    .lp-entry-hero strong {
        font-size: 26px;
        font-weight: 900;
    }

    .lp-entry-hero small {
        color: #dbeafe;
        font-size: 9px;
        font-weight: 700;
    }

    .lp-entry-hero b {
        font-size: 20px;
    }

.lp-entry-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0;
}

    .lp-entry-stats > div,
    .lp-entry-panel {
        padding: 13px;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        background: white;
    }

    .lp-entry-stats span {
        display: block;
        margin-bottom: 7px;
        color: #64748b;
        font-size: 9px;
        font-weight: 800;
    }

    .lp-entry-stats strong {
        display: block;
        color: #0f172a;
        font-size: 24px;
        font-weight: 900;
    }

.lp-entry-details {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 12px;
}

.lp-entry-panel > strong {
    display: block;
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 12px;
}

.lp-entry-skeleton {
    height: 43px;
    margin-bottom: 9px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
}

.lp-entry-preview-side {
    display: grid;
    gap: 10px;
}

.lp-entry-action {
    margin-bottom: 6px;
    padding: 9px;
    border-radius: 7px;
    background: #1456ad;
    color: white;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
}

.lp-entry-attention-preview > span {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 5px;
    color: #475569;
    font-size: 9px;
}

.lp-entry-attention-preview b {
    color: #0f172a;
}

@keyframes lp-entry-login-disappear {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.6);
        filter: blur(5px);
    }
}

@keyframes lp-entry-dashboard-zoom {
    0% {
        opacity: 0;
        border-radius: 21px;
        transform: translate(-50%, -45%) scale(0.35);
        filter: blur(5px);
    }

    22% {
        opacity: 1;
        border-radius: 21px;
        transform: translate(-50%, -50%) scale(0.70);
        filter: blur(0);
    }
    /* Ends flush to the whole admin shell: sidebar, topbar and dashboard. */
    100% {
        border-radius: 0;
        opacity: 1;
        transform: translate( calc(-50% + var(--lp-entry-final-x, 0px)), calc(-50% + var(--lp-entry-final-y, 0px)) ) scale(var(--lp-entry-final-scale, 2.4));
        filter: none;
    }
}

@keyframes lp-entry-real-dashboard {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
        filter: blur(3px);
    }

    100% {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

@keyframes lp-entry-overlay-dismiss {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-login-button.lp-login-button-loading::after {
        animation: none;
    }

    .lp-login-card.lp-login-shake {
        animation: none;
    }

    html.lp-dashboard-entry-playing .lp-admin-page,
    html.lp-dashboard-entry-playing .admin-sidebar,
    html.lp-dashboard-entry-playing .admin-topbar,
    html.lp-dashboard-entry-playing .lp-dashboard-transition,
    .lp-entry-login-card,
    .lp-entry-window {
        animation: none;
    }
}
