/* Recipient pages: /l/{code}, its notices, the e-mail code form. The tiles and the brand bar are scoped to their
   components (RecipientPageView, RecipientBar); this file holds the layout and the cards. */
.public-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--ink);
}

.public-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.public-footer {
    padding: 16px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.public-footer p {
    margin: 0;
}

.public-footer a {
    color: var(--accent);
}

/* A centred card under the brand bar: the notices and the e-mail code form */
.public-card {
    width: min(100% - 32px, 440px);
    margin: 48px auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.notice {
    text-align: center;
    padding: 40px 28px;
}

.notice-icon {
    color: var(--muted);
    margin-bottom: 12px;
}

.notice h1 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.3;
    color: var(--ink);
}

.notice p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 480px) {
    .public-card {
        margin: 24px auto;
    }

    .notice {
        padding: 28px 18px;
    }
}
