/**
 * NSI form pages + access notice on system (page-app) pages.
 * Space Foundation tokens from swft-platform/assets/swft-theme.css (dependency
 * `swft-theme`). Loaded on every page-app page; everything here is class-scoped.
 */

/* Intern registration page (3613): the page shell is the platform's .swft-page +
   .swft-card (data/intern-registration-content.html); only the privacy notice
   HTML block inside the form needs rules here (scrolling box). */
.gfield_html .privacy-notice-box {
    border: 1px solid var(--swft-border);
    border-radius: var(--swft-radius-card);
    padding: var(--swft-space-4);
    background-color: var(--swft-surface-alt);
    max-height: 200px;
    overflow-y: auto;
    font-size: .875rem;
    line-height: 1.5;
}
.privacy-notice-box h2 {
    color: var(--swft-primary-dark);
    font-size: 1.1rem;
    margin: 0 0 var(--swft-space-2);
    text-align: center;
    font-weight: 600;
}
.privacy-notice-box h3 {
    color: var(--swft-primary-dark);
    font-size: 1rem;
    margin: var(--swft-space-2) 0;
    font-weight: 600;
}
.privacy-notice-box ul {
    margin: var(--swft-space-2) 0;
    padding-left: 20px;
}
.privacy-notice-box li {
    margin-bottom: 4px;
}
.privacy-notice-box a {
    color: var(--swft-link);
    text-decoration: underline;
}
.privacy-notice-box a:hover {
    color: var(--swft-primary-hover);
}

/* Access-denied card (swft_nsi_access_denied_notice): dashboards visited without
   the right account. Card + button come from the platform components. */
.swft-access-denied {
    display: flex;
    justify-content: center;
    padding: 3rem 1rem;
}
.swft-access-denied__card {
    max-width: 26rem;
    width: 100%;
    text-align: center;
    padding: 2.5rem 2rem;
}
.swft-access-denied__icon {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--swft-surface-strong);
    color: var(--swft-primary-dark);
}
.swft-access-denied__card h2 {
    margin: 0 0 .5rem;
    font-size: 1.35rem;
}
.swft-access-denied__card p {
    margin: 0 0 1.5rem;
    color: var(--swft-text-muted);
}
