/* ==========================================================================
   PNAS MANUSCRIPT SUBMISSION - STYLESHEET
   Exact visual replica of the PNAS / eJournalPress Submission Portal
   Text sizes scaled up for optimal readability and visual presence.
   ========================================================================== */

/* --- CSS Reset & Global Variables --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --sub-bg: #eff2f6;
    --sub-card-bg: #ffffff;
    --sub-card-border: #dbe2e9;
    --sub-card-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);

    --sub-header-bg: #ffffff;
    --sub-header-border: #e1e5eb;

    --sub-footer-bg: #e8ecf1;
    --sub-footer-border: #d4dae2;
    --sub-footer-text: #505963;

    --sub-primary-blue: #1c75bc;
    --sub-blue-hover: #15629f;
    --sub-login-btn: #2b82b5;
    --sub-login-btn-hover: #226e9b;
    --sub-orcid-green: #96c134;
    --sub-orcid-green-hover: #84ad2c;

    --sub-text-dark: #2c3238;
    --sub-text-muted: #505964;
    --sub-notice-red: #d92525;
    --sub-input-border: #b2bac2;
    --sub-input-focus: #1b74ba;

    --sub-ejp-gold: #8e7f14;
    --sub-font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body.submission-portal-body {
    background-color: var(--sub-bg);
    color: var(--sub-text-dark);
    font-family: var(--sub-font-sans);
    font-size: 17px;
    line-height: 1.55;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   HEADER COMPONENT
   ========================================================================== */
.sub-site-header {
    background-color: var(--sub-header-bg);
    border-bottom: 1px solid var(--sub-header-border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.sub-header-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 30px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Left Brand */
.sub-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 16px;
}

.sub-header-logo-img {
    height: 32px;
    width: auto;
    display: block;
    object-fit: contain;
}

.sub-pnas-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.sub-pnas-text {
    font-family: var(--sub-font-sans);
    font-size: 29px;
    font-weight: 900;
    letter-spacing: -0.3px;
    color: #111111;
    line-height: 1;
}

.sub-pnas-bar {
    width: 100%;
    height: 2.5px;
    background-color: #1c75bc;
    margin-top: 3px;
}

.sub-brand-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: #1f2328;
    text-transform: uppercase;
}

/* Mobile Toggle */
.sub-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}

.sub-toggle-bar {
    width: 24px;
    height: 2px;
    background-color: #333333;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* Right Nav */
.sub-header-nav {
    display: flex;
    align-items: center;
}

.sub-nav-links {
    display: inline-flex;
    align-items: center;
}

.mainNav-item,
.sub-nav-link {
    font-family: "Open Sans", Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    height: 20px;
    color: #1C75BC;
    text-decoration: none;
    letter-spacing: normal;
    padding: 0 3px;
    display: inline-block;
    vertical-align: middle;
    transition: color 0.15s;
    cursor: pointer;
}

.mainNav-item:hover,
.sub-nav-link:hover {
    text-decoration: underline;
    color: #15629f;
}

.sub-nav-divider {
    font-family: "Open Sans", Helvetica, sans-serif;
    color: #5499cd;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    margin: 0 9px;
    display: inline-block;
    vertical-align: middle;
    user-select: none;
}

.sub-login-reg-btn {
    background-color: #1C75BC;
    color: #ffffff;
    font-family: "Open Sans", Helvetica, sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.3px;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-left: 24px;
    transition: background-color 0.18s, transform 0.15s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.sub-login-reg-btn:hover {
    background-color: #15629f;
}

.sub-login-reg-btn:active {
    transform: scale(0.98);
}

/* ==========================================================================
   MAIN CONTENT WRAPPER
   ========================================================================== */
.sub-main-wrapper {
    flex: 1 0 auto;
    padding: 28px 20px 52px 20px;
}

.sub-main-container {
    max-width: 770px;
    margin: 0 auto;
}

/* ==========================================================================
   1. UPDATES AND ANNOUNCEMENTS CARD
   ========================================================================== */
.sub-announcements-card {
    position: relative;
    background-color: var(--sub-card-bg);
    border: 1px solid var(--sub-card-border);
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    margin-bottom: 16px;
    overflow: visible;
    transition: box-shadow 0.2s, border-color 0.2s;
    z-index: 100;
}

.sub-announcements-card:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.sub-announcements-trigger {
    width: 100%;
    padding: 15px 24px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.sub-announcements-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sub-bell-wrapper {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-bell-icon {
    width: 24px;
    height: 24px;
    stroke: #667080;
}

.sub-bell-badge {
    position: absolute;
    bottom: -2px;
    left: 11px;
    min-width: 18px;
    height: 18px;
    padding: 0 3px;
    background-color: var(--sub-primary-blue);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    line-height: 1;
}

.sub-announcements-title {
    font-size: 17px;
    font-weight: 600;
    color: #555f6b;
    letter-spacing: 0.1px;
}

.sub-announcements-right {
    display: flex;
    align-items: center;
}

.sub-arrow-icon {
    width: 18px;
    height: 18px;
    stroke: #667080;
    transition: transform 0.25s ease;
}

.sub-announcements-card.open .sub-arrow-icon {
    transform: rotate(90deg);
}

/* Announcements Flyout / Side Overlay Panel (Docked to the Screen's Right Side) */
.sub-announcements-flyout {
    position: fixed;
    top: 105px;
    right: 20px;
    width: 350px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 125px);
    overflow-y: auto;
    background-color: #e0e3e5;
    border: 1px solid #ced4da;
    border-radius: 2px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
    z-index: 9999;
    padding: 22px 22px 24px 22px;
    box-sizing: border-box;
    display: none;
    text-align: left;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.sub-announcements-card.open .sub-announcements-flyout {
    display: block;
    animation: subFlyoutSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes subFlyoutSlideIn {
    from {
        opacity: 0;
        transform: translateX(18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Individual Announcement Item */
.sub-flyout-item {
    margin-bottom: 0;
}

.sub-flyout-item + .sub-flyout-item {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #c9d0d6;
}

/* Item Header with Bell Icon, Title, and Close Button */
.sub-flyout-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}

.sub-flyout-title-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
}

.sub-flyout-bell-icon {
    width: 17px;
    height: 17px;
    min-width: 17px;
    stroke: #555f6b;
    margin-top: 1px;
}

.sub-flyout-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #111111;
    line-height: 1.25;
    margin: 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.sub-flyout-close-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    line-height: 0.8;
    color: #718096;
    cursor: pointer;
    padding: 0 2px;
    margin-top: -1px;
    transition: color 0.15s;
    user-select: none;
}

.sub-flyout-close-btn:hover {
    color: #000000;
}

/* Item Paragraph Body Text */
.sub-flyout-body p {
    font-size: 12.5px;
    line-height: 1.48;
    color: #222222;
    margin: 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.sub-flyout-link {
    color: #1b74ba;
    text-decoration: none;
    font-weight: normal;
}

.sub-flyout-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .sub-announcements-flyout {
        position: fixed;
        top: 80px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 100px);
    }
}

/* ==========================================================================
   2. MAIN LOGIN CARD
   ========================================================================== */
.sub-login-card {
    background-color: var(--sub-card-bg);
    border: 1px solid var(--sub-card-border);
    border-radius: 4px;
    box-shadow: var(--sub-card-shadow);
    padding: 48px 52px 44px 52px;
    text-align: center;
}

/* Heading */
.sub-hero-heading {
    font-size: 36px;
    font-weight: 400;
    color: #2c3238;
    line-height: 1.28;
    margin-bottom: 18px;
    letter-spacing: -0.2px;
}

/* Subtitle */
.sub-hero-subtext {
    font-size: 15px;
    color: var(--sub-text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

/* Learn More */
.sub-learn-more-row {
    margin-bottom: 16px;
}

.sub-learn-more-link {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--sub-primary-blue);
    text-decoration: none;
    transition: color 0.15s;
    cursor: pointer;
}

.sub-learn-more-link:hover {
    text-decoration: underline;
    color: var(--sub-blue-hover);
}

/* Red Notice Alerts */
.sub-alert-block {
    color: var(--sub-notice-red);
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.sub-alert-block p {
    margin-bottom: 2px;
}

.sub-alert-cookie {
    margin-bottom: 26px;
}

.sub-email-link {
    color: var(--sub-primary-blue);
    text-decoration: underline;
}

.sub-email-link:hover {
    color: var(--sub-blue-hover);
}

/* ==========================================================================
   LOGIN FORM
   ========================================================================== */
.sub-login-form {
    max-width: 420px;
    margin: 0 auto;
}

.sub-form-feedback {
    padding: 9px 16px;
    margin-bottom: 16px;
    font-size: 13.5px;
    border-radius: 4px;
}

.sub-form-feedback.success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.sub-form-feedback.error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.sub-form-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.sub-form-label {
    font-size: 15px;
    color: #222222;
    margin-right: 14px;
    white-space: nowrap;
    font-weight: 500;
}

.sub-form-field {
    width: 240px;
    text-align: right;
}

.sub-input-box {
    width: 100%;
    height: 36px;
    border: 1px solid var(--sub-input-border);
    border-radius: 5px;
    padding: 5px 12px;
    font-size: 15px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
}

.sub-input-box:focus {
    border-color: var(--sub-input-focus);
    box-shadow: 0 0 0 2.5px rgba(27, 116, 186, 0.18);
}

.sub-forgot-wrap {
    margin-top: 6px;
    text-align: right;
}

.sub-forgot-link {
    font-style: italic;
    font-size: 12.5px;
    color: var(--sub-primary-blue);
    text-decoration: none;
    cursor: pointer;
}

.sub-forgot-link:hover {
    text-decoration: underline;
    color: var(--sub-blue-hover);
}

/* LOGIN Button */
.sub-btn-row {
    margin: 20px 0 16px 0;
}

.sub-btn-primary {
    background-color: var(--sub-login-btn);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 10px 52px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.18s, transform 0.12s;
    box-shadow: 0 1px 3px rgba(43, 130, 181, 0.22);
}

.sub-btn-primary:hover {
    background-color: var(--sub-login-btn-hover);
}

.sub-btn-primary:active {
    transform: scale(0.98);
}

/* New Users */
.sub-new-users-row {
    font-size: 14.5px;
    color: #333333;
    margin-bottom: 14px;
}

.sub-link-blue {
    color: var(--sub-primary-blue);
    text-decoration: none;
    cursor: pointer;
}

.sub-link-blue:hover {
    text-decoration: underline;
    color: var(--sub-blue-hover);
}

/* ORCID Button */
.sub-orcid-btn-row {
    margin: 0 auto 18px auto;
}

.sub-btn-orcid {
    background-color: var(--sub-orcid-green);
    color: #ffffff;
    font-size: 15.5px;
    font-weight: 600;
    width: 380px;
    max-width: 100%;
    padding: 11px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: background-color 0.18s, transform 0.12s;
    box-shadow: 0 1px 3px rgba(150, 193, 52, 0.28);
}

.sub-btn-orcid:hover {
    background-color: var(--sub-orcid-green-hover);
}

.sub-btn-orcid:active {
    transform: scale(0.98);
}

.sub-orcid-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ORCID Disclaimer */
.sub-orcid-disclaimer {
    max-width: 520px;
    margin: 0 auto 18px auto;
    font-size: 12.5px;
    color: #47525e;
    line-height: 1.5;
}

.sub-orcid-disclaimer a {
    text-decoration: underline;
}

/* Don't have an ORCID? */
.sub-orcid-signup-row {
    font-size: 14px;
    color: #333333;
}

/* ==========================================================================
   FOOTER COMPONENT
   ========================================================================== */
.sub-site-footer {
    background-color: var(--sub-footer-bg);
    border-top: 1px solid var(--sub-footer-border);
    width: 100%;
    margin-top: auto;
}

.sub-footer-container {
    max-width: 1260px;
    width: 100%;
    margin: 0 auto;
    padding: 16px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Left: eJournalPress */
.sub-footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sub-ejp-brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
}

.sub-ejp-icon {
    display: flex;
    align-items: center;
}

.sub-ejp-text {
    line-height: 1;
}

.sub-ejp-gold {
    color: var(--sub-ejp-gold);
    font-size: 15px;
}

.sub-footer-meta {
    font-size: 12.5px;
    color: var(--sub-footer-text);
    line-height: 1.45;
}

.sub-patent-line,
.sub-copyright-line {
    margin: 0;
}

/* Right: Links */
.sub-footer-right {
    display: flex;
    align-items: center;
}

.sub-footer-nav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 18px;
}

.sub-footer-link {
    color: var(--sub-primary-blue);
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.15s;
    cursor: pointer;
}

.sub-footer-link:hover {
    text-decoration: underline;
    color: var(--sub-blue-hover);
}

/* ==========================================================================
   MODAL DIALOGS (Interactive Academic Portals)
   ========================================================================== */
.sub-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    padding: 20px;
}

.sub-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.sub-modal-card {
    background: #ffffff;
    border-radius: 6px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    border: 1px solid #dbe2e9;
    overflow: hidden;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.22s ease;
}

.sub-modal-backdrop.active .sub-modal-card {
    transform: translateY(0) scale(1);
}

.sub-modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sub-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.sub-modal-close-btn {
    background: transparent;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.sub-modal-close-btn:hover {
    color: #0f172a;
    background: #e2e8f0;
}

.sub-modal-body {
    padding: 24px 26px;
    color: #334155;
    font-size: 14.5px;
    line-height: 1.6;
    max-height: 70vh;
    overflow-y: auto;
}

.sub-modal-body p {
    margin-bottom: 14px;
}

.sub-modal-body ul {
    margin: 0 0 16px 22px;
}

.sub-modal-body li {
    margin-bottom: 8px;
}

.sub-modal-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 14px 22px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.sub-btn-secondary {
    background: #e2e8f0;
    color: #334155;
    border: none;
    border-radius: 4px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.sub-btn-secondary:hover {
    background: #cbd5e1;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
    .sub-header-container {
        padding: 18px 20px;
    }

    .sub-header-logo-img {
        height: 25px;
        max-width: 220px;
    }

    .sub-mobile-toggle {
        display: flex;
    }

    .sub-header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid var(--sub-header-border);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 22px;
        display: none;
    }

    .sub-header-nav.active {
        display: flex;
    }

    .sub-nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 14px;
    }

    .sub-nav-divider {
        display: none;
    }

    .sub-login-reg-btn {
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
        text-align: center;
    }

    .sub-login-card {
        padding: 32px 22px 30px 22px;
    }

    .sub-hero-heading {
        font-size: 26px;
    }

    .sub-form-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .sub-form-label {
        margin-bottom: 6px;
        margin-right: 0;
    }

    .sub-form-field {
        width: 100%;
        text-align: left;
    }

    .sub-forgot-wrap {
        text-align: right;
    }

    .sub-btn-primary {
        width: 100%;
    }

    .sub-btn-orcid {
        width: 100%;
    }

    .sub-footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 20px 22px;
    }

    .sub-footer-nav {
        gap: 14px;
    }
}

@keyframes subFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   REGISTRATION CHECK PAGE STYLES (Exact Replica of eJP / PNAS Screen)
   ========================================================================== */
.reg-main-wrapper {
    flex: 1 0 auto;
    padding: 36px 20px 60px 20px;
}

.reg-main-container {
    max-width: 860px;
    margin: 0 auto;
}

.reg-card {
    background-color: #ffffff;
    border: 1px solid #d8d8d8;
    border-radius: 2px;
    box-shadow: none;
    padding: 38px 48px 60px 48px;
}

.reg-content-box {
    max-width: 720px;
    margin: 0;
    text-align: left;
}

.reg-intro-text {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 13.5px;
    color: #222222;
    line-height: 1.38;
    margin-bottom: 22px;
    max-width: 660px;
}

.reg-intro-text p {
    margin: 0;
}

.reg-form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 0;
    max-width: 440px;
}

.reg-form-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.reg-label {
    width: 80px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #000000;
    margin-right: 6px;
    white-space: nowrap;
    text-align: right;
    line-height: 1.2;
}

.reg-field {
    width: 254px;
}

.reg-input-box {
    width: 100%;
    height: 36px;
    box-sizing: border-box;
    border: 1px solid #b8b8b8;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 13.5px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #111111;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.15s ease-in-out;
}

.reg-input-box:focus {
    border-color: #555555;
    box-shadow: none;
}

.reg-actions-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 72px;
    padding-left: 0;
}

/* Classic eJournalPress Button Style */
.reg-btn-default {
    background-color: #efefef;
    border: 1px solid #767676;
    border-radius: 2px;
    padding: 1px 12px;
    height: 25px;
    box-sizing: border-box;
    font-size: 13px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #000000;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 65px;
    line-height: 1;
    transition: background-color 0.15s, border-color 0.15s;
    user-select: none;
}

.reg-btn-default:hover {
    background-color: #e4e4e4;
    border-color: #555555;
    color: #000000;
}

.reg-btn-default:active {
    background-color: #dadada;
}

.reg-step2-box {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px dashed #cbd5e1;
    animation: subFadeIn 0.3s ease;
}

@media (max-width: 768px) {
    .reg-card {
        padding: 30px 20px 35px 20px;
    }

    .reg-form-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .reg-label {
        margin-bottom: 5px;
        margin-right: 0;
        text-align: left;
    }

    .reg-field {
        width: 100%;
    }

    .reg-actions-row {
        padding-left: 0;
    }
}

/* ==========================================================================
   PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES - FULL REGISTRATION FORM
   Exact replica of the detailed multi-section eJournalPress submission screen.
   ========================================================================== */
.pnas-reg-main-wrapper {
    flex: 1 0 auto;
    padding: 30px 20px 60px 20px;
}

.pnas-reg-main-container {
    max-width: 860px;
    margin: 0 auto;
}

.pnas-reg-card {
    background-color: var(--sub-card-bg);
    border: 1px solid var(--sub-card-border);
    border-radius: 4px;
    box-shadow: var(--sub-card-shadow);
    padding: 42px 46px 50px 46px;
}

.pnas-reg-heading {
    font-size: 26px;
    font-weight: 400;
    color: #2c3238;
    text-align: center;
    line-height: 1.35;
    margin-bottom: 12px;
}

.pnas-req-note {
    text-align: center;
    color: #d92525;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.pnas-red-star {
    color: #d92525;
    font-weight: 700;
    margin-left: 2px;
}

/* Outer Bordered Frame */
.pnas-reg-frame {
    border: 1px solid #7c98ad;
    background: #ffffff;
    padding-bottom: 18px;
    margin-bottom: 22px;
}

/* Section Header (Blue badge with dividing line) */
.pnas-section-row {
    display: flex;
    align-items: center;
    margin-top: 14px;
    margin-bottom: 12px;
}

.pnas-section-badge {
    border: 1.5px solid #1c75bc;
    padding: 2.5px 10px;
    font-size: 13px;
    font-weight: 700;
    color: #000000;
    background: #ffffff;
    margin-left: 14px;
    white-space: nowrap;
}

.pnas-section-divider {
    flex: 1;
    height: 1.5px;
    background-color: #1c75bc;
    margin-right: 0;
}

.pnas-sec-body {
    padding: 0 24px;
}

/* Form Row (Two-column layout matching eJP) */
.pnas-form-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 11px;
}

.pnas-label-col {
    width: 190px;
    font-size: 13px;
    color: #111111;
    font-weight: 500;
    padding-top: 5px;
    flex-shrink: 0;
}

.pnas-field-col {
    flex: 1;
}

.pnas-text-input {
    width: 210px;
    height: 29px;
    border: 1px solid #b2bac2;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 13px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.pnas-text-input:focus {
    border-color: #1b74ba;
    box-shadow: 0 0 0 2px rgba(27, 116, 186, 0.16);
}

.pnas-text-input.wide {
    width: 330px;
}

.pnas-text-input.narrow {
    width: 75px;
}

.pnas-text-input[readonly] {
    background-color: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
}

.pnas-select {
    height: 29px;
    border: 1px solid #b2bac2;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 13px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    outline: none;
}

.pnas-select.wide {
    width: 250px;
}

.pnas-listbox {
    width: 210px;
    height: 125px;
    border: 1px solid #b2bac2;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 12px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    outline: none;
}

.pnas-pw-req-text {
    font-size: 11px;
    color: #333333;
    line-height: 1.4;
    max-width: 340px;
    margin-top: 4px;
    margin-bottom: 6px;
}

.pnas-hint-text {
    font-size: 11.5px;
    color: #475569;
    line-height: 1.35;
    margin-top: 3px;
}

.pnas-blue-link {
    color: #1c75bc;
    font-size: 12.5px;
    text-decoration: underline;
    cursor: pointer;
}

.pnas-blue-link:hover {
    color: #15629f;
}

/* Email Table */
.pnas-email-table-wrap {
    margin: 8px 0 6px 0;
}

.pnas-email-table {
    border-collapse: collapse;
    width: 270px;
    font-size: 12px;
    border: 1px solid #7c98ad;
}

.pnas-email-table th {
    background-color: #e2e8f0;
    border: 1px solid #7c98ad;
    padding: 3px 6px;
    font-weight: 700;
    color: #0f172a;
    text-align: left;
}

.pnas-email-table td {
    border: 1px solid #7c98ad;
    padding: 4px 6px;
    color: #1e293b;
}

.pnas-email-table td.center,
.pnas-email-table th.center {
    text-align: center;
}

/* Expertise Vertical Stack */
.pnas-expertise-stack {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Google reCAPTCHA Card Widget */
.pnas-recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 18px 0;
}

.pnas-recaptcha-badge {
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.08);
    width: 290px;
    height: 74px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pnas-recaptcha-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pnas-recaptcha-checkbox {
    width: 26px;
    height: 26px;
    border: 2px solid #c1c1c1;
    border-radius: 2px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s;
}

.pnas-recaptcha-checkbox:hover {
    border-color: #b2b2b2;
}

.pnas-recaptcha-checkbox.checked {
    border-color: #059669;
    background-color: #ffffff;
}

.pnas-recaptcha-check-icon {
    display: none;
    color: #059669;
    font-size: 18px;
    font-weight: bold;
}

.pnas-recaptcha-checkbox.checked .pnas-recaptcha-check-icon {
    display: block;
}

.pnas-recaptcha-label {
    font-size: 13.5px;
    color: #000000;
    font-family: Roboto, -apple-system, sans-serif;
    user-select: none;
}

.pnas-recaptcha-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pnas-recaptcha-logo-icon {
    width: 30px;
    height: 30px;
}

.pnas-recaptcha-legal {
    font-size: 9px;
    color: #555555;
    line-height: 1.2;
}

.pnas-recaptcha-legal a {
    color: #555555;
    text-decoration: none;
}

.pnas-recaptcha-legal a:hover {
    text-decoration: underline;
}

/* Bottom Actions & Notes */
.pnas-reg-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.pnas-reg-btn {
    background-color: #efefef;
    border: 1px solid #767676;
    border-radius: 2px;
    padding: 3px 16px;
    font-size: 13px;
    font-family: inherit;
    color: #000000;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s, border-color 0.15s;
}

.pnas-reg-btn:hover {
    background-color: #e2e2e2;
    border-color: #4b4b4b;
}

.pnas-bottom-note {
    text-align: center;
    color: #d92525;
    font-size: 12px;
    margin-top: 6px;
}

@media (max-width: 768px) {
    .pnas-reg-card {
        padding: 24px 16px;
    }

    .pnas-form-row {
        flex-direction: column;
    }

    .pnas-label-col {
        width: 100%;
        margin-bottom: 4px;
    }

    .pnas-text-input,
    .pnas-text-input.wide,
    .pnas-listbox {
        width: 100%;
    }
}

/* ==========================================================================
   REGISTRATION COMPLETE PAGE (Exact Replica of Final Confirmation Screen)
   ========================================================================== */
.reg-complete-card {
    background-color: var(--sub-card-bg);
    border: 1px solid var(--sub-card-border);
    border-radius: 4px;
    box-shadow: var(--sub-card-shadow);
    padding: 60px 75px 85px 75px;
    min-height: 250px;
}

.reg-complete-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: left;
}

.reg-complete-title {
    font-size: 19px;
    font-weight: 500;
    color: #2c3238;
    margin-bottom: 16px;
    letter-spacing: -0.1px;
}

.reg-complete-text {
    font-size: 14.5px;
    color: #333333;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .reg-complete-card {
        padding: 35px 22px 45px 22px;
    }

    .reg-complete-title {
        font-size: 17px;
    }
}

/* ==========================================================================
   AUTHOR HOME / DASHBOARD PAGE (Exact Replica of Post-Login Screen)
   ========================================================================== */
.author-home-card {
    background-color: var(--sub-card-bg);
    border: 1px solid var(--sub-card-border);
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 45px 72px 85px 72px;
    min-height: 380px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.author-home-content {
    max-width: 680px;
    margin: 0;
    text-align: left;
}

.author-home-heading {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.25;
    margin-bottom: 22px;
    letter-spacing: normal;
}

.author-section-block {
    margin-bottom: 40px;
}

.author-section-block:last-child {
    margin-bottom: 0;
}

.author-section-title {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #555555;
    line-height: 1.25;
    margin-bottom: 7px;
    letter-spacing: normal;
}

.author-task-list {
    list-style: none;
    padding-left: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2.5px;
}

.author-task-item {
    font-size: 13.5px;
    line-height: 1.35;
}

.author-task-link {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #1b74ba;
    font-size: 13.5px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.15s;
    cursor: pointer;
}

.author-task-link:hover {
    text-decoration: underline;
    color: #15629f;
}

.author-task-link.bold {
    font-weight: 700;
    color: #0b5894;
}

@media (max-width: 768px) {
    .author-home-card {
        padding: 35px 22px 45px 22px;
    }

    .author-home-heading {
        font-size: 19px;
    }

    .author-section-title {
        font-size: 18px;
    }

    .author-section-block {
        margin-bottom: 30px;
    }
}

/* ==========================================================================
   SUBMIT MANUSCRIPT TYPE SELECTION & GUIDELINES (Exact Replica of Screenshots)
   ========================================================================== */
.submit-ms-card {
    background-color: #ffffff;
    border: 1px solid var(--sub-card-border);
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 39px 98px 65px 98px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    box-sizing: border-box;
}

.submit-ms-top-split {
    display: flex;
    /* gap: 35px; */
    align-items: flex-start;
    margin-top: 0;
    margin-bottom: 0;
}

.submit-ms-left-col {
    width: 320px;
    flex-shrink: 0;
}

.submit-ms-prompt {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.25;
    letter-spacing: 0;
}

.submit-ms-type-title {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 19px;
    font-weight: 400;
    color: #006699;
    margin-left: 12px;
    margin-top: 0;
    margin-bottom: 6px;
    line-height: 1.15;
}

.submit-ms-radio-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-left: 12px;
    margin-bottom: 14px;
}

.submit-ms-radio-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    height: 21px;
    min-height: 21px;
    line-height: 21px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.submit-ms-radio-item input[type="radio"] {
    cursor: pointer;
    width: 13px;
    height: 13px;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    flex-shrink: 0;
    accent-color: #006699;
}

.submit-ms-radio-label {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}

#topContinueBtn,
#bottomContinueBtn {
    width: auto;
    height: 25px;
    min-width: unset;
    max-width: none;
    background: #efefef;
    background: linear-gradient(180deg, #f8f8f8 0%, #e6e6e6 100%);
    border: 1px solid #7f9db9;
    border-radius: 3px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #000000;
    padding: 0 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-left: 0;
    box-sizing: border-box;
    line-height: 23px;
}

#topContinueBtn:hover,
#bottomContinueBtn:hover {
    background: linear-gradient(180deg, #ffffff 0%, #ebebeb 100%);
    border-color: #557b9f;
}

#topContinueBtn:active,
#bottomContinueBtn:active {
    background: #d6d6d6;
}

.submit-ms-top-continue-wrap {
    margin-top: 15px;
    margin-bottom: 0;
}

.submit-ms-right-col {
    flex: 1;
    min-height: 260px;
    padding-left: 20px;
    transition: opacity 0.2s ease;
}

.submit-ms-desc-title {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #2c3238;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.25;
}

.submit-ms-desc-intro {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: italic;
    font-size: 16px;
    color: #333333;
    line-height: 1.45;
    padding: 0px 0px 5px;
    margin-bottom: 10px;
}

.submit-ms-desc-p {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: italic;
    font-size: 16px;
    color: #333333;
    line-height: 1.45;
    padding: 0px 0px 5px;
    margin-bottom: 10px;
}

.submit-ms-desc-bullets {
    list-style-type: disc;
    padding-left: 22px;
    font-style: normal;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: #333333;
    line-height: 1.45;
    margin-bottom: 14px;
}

.submit-ms-desc-bullets li {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-style: italic;
    color: #333333;
    padding: 0px 0px 5px;
    margin-bottom: 0;
    line-height: 1.45;
}

/* Lighten any bold tags inside description sections */
.submit-ms-desc-p strong,
.submit-ms-desc-intro strong,
.submit-ms-desc-bullets li strong {
    font-weight: 300;
}


.submit-ms-desc-bullets li a,
.submit-ms-desc-tool-link {
    color: #1b74ba;
    text-decoration: underline;
}

.submit-ms-desc-tool-link {
    display: block;
    text-align: center;
    font-style: italic;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    margin-top: 14px;
}

.submit-ms-desc-tool-link:hover {
    color: #15629f;
}

/* Submission Guidelines and Tools Centered Section */
.submit-ms-guidelines-heading {
    font-weight: 300;
    font-size: 30px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #00416b;
    text-align: center;
    margin-top: 82px;
    margin-bottom: 30px;
    /* increased spacing */
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.submit-ms-guidelines-heading:hover {
    text-decoration: underline;
}


.submit-ms-guide-title {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: #006699;
    margin-bottom: 16px;
    /* increased spacing */
    line-height: 1.3;
}

.submit-ms-guide-title:hover {
    text-decoration: underline;
}

.submit-ms-guide-p {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 16px;
    color: #333333;
    line-height: 1.2;
    /* tighter line spacing */
    margin-bottom: 12px;
}

.save-exit-continue {
    font-weight: bold;
    color: #333333;
    /* dark text */
}

.submit-ms-guide-p strong {
    font-weight: 300;
}


.submit-ms-guide-p a {
    color: #1b74ba;
    text-decoration: underline;
}

.submit-ms-guide-p a:hover {
    color: #15629f;
}

@media (max-width: 768px) {
    .submit-ms-card {
        padding: 30px 18px 40px 18px;
    }

    .submit-ms-top-split {
        flex-direction: column;
        gap: 20px;
    }

    .submit-ms-left-col {
        width: 100%;
    }

    .submit-ms-right-col {
        padding-left: 0;
        min-height: auto;
    }
}

/* ==========================================================================
   SUBMISSION WIZARD / STEP-BY-STEP WORKFLOW
   Exact replica of the PNAS eJournalPress Multi-Step Submission Screen
   ========================================================================== */
.wiz-outer-wrapper {
    flex: 1 0 auto;
    padding: 46px 70px 48px 70px;
    background-color: #eef2f5;
    box-sizing: border-box;
    width: 100%;
}

.wiz-outer-container {
    width: 100% !important;
    max-width: none !important;
    display: block;
    margin: 0;
    background-color: #ffffff;
    padding: 30px 34px 38px 34px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    border-radius: 2px;
    box-sizing: border-box;
}

.submit-ms-wrapper {
    padding: 48px 70px 60px 70px;
    box-sizing: border-box;
    width: 100%;
}

.submit-ms-container {
    width: 100% !important;
    max-width: none !important;
    display: block;
    margin: 0;
}

.wiz-card {
    background-color: #ffffff;
    border: 1px solid #7c98ad;
    display: flex;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    min-height: 698px;
    box-sizing: border-box;
    width: 1040px;
    max-width: 100%;
    margin: 0 auto;
}

/* --- Left Sidebar --- */
.wiz-sidebar {
    width: 210px;
    flex-shrink: 0;
    border-right: 1px solid #b8c4d0;
    background-color: #E5E5E5;
    box-shadow: inset -4px 0 6px -2px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.wiz-sidebar-top {
    padding: 0;
}

/* Submission Summary Box (No outer border, just horizontal dividers) */
.wiz-summary-box {
    border: none;
    background-color: transparent;
    margin: 10px 10px 0 10px;
}

.wiz-summary-header {
    background-color: #004b7a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 5px 6px;
    letter-spacing: 0.2px;
    line-height: 1.25;
    border: none;
}

.wiz-summary-row {
    border-bottom: 1px solid #c5d0dc;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 4px 8px;
    font-size: 12.5px;
    color: #555555;
    min-height: 23px;
    line-height: 1.3;
    word-break: break-word;
    background-color: #ffffff;
}

.wiz-tour-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    color: #0088cc;
    text-decoration: underline;
    padding: 6px 4px;
    background-color: transparent;
    cursor: pointer;
    margin: 12px 10px 52px 10px;
}

.wiz-tour-link:hover {
    color: #006699;
}

.wiz-tour-icon {
    width: 15px;
    height: 15px;
    stroke: #0088cc;
}

/* Menu Group */
.wiz-menu-group {
    margin-bottom: 18px;
}

.wiz-menu-category {
    font-size: 14.5px;
    font-weight: 700;
    color: #555555;
    margin-top: 6px;
    margin-bottom: 8px;
    line-height: 1.25;
    padding-left: 10px;
}

.wiz-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wiz-menu-item {
    font-size: 13px;
    color: #555555;
    padding: 6px 10px 6px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    transition: background-color 0.15s, color 0.15s;
    user-select: none;
    margin-bottom: 2px;
}

.wiz-menu-item span {
    color: #555555;
}

.wiz-menu-item:hover {
    background-color: #d6d6d6;
}

.wiz-menu-item.active {
    background-color: #004b7a;
    color: #ffffff;
    font-weight: 700;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 6px 10px 6px 14px;
    margin: 2px 0 6px 0;
    border-radius: 0;
    font-size: 13.5px;
}

.wiz-menu-item.active span:last-child {
    color: #ffffff !important;
    font-weight: 700;
}

/* Status Icons */
.wiz-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    font-size: 12px;
    font-weight: 900;
    flex-shrink: 0;
    line-height: 1;
}

.wiz-status-icon.cross {
    color: #d92525 !important;
}

.wiz-status-icon.tick {
    color: #16a34a !important;
}

/* Sidebar Bottom Actions */
.wiz-sidebar-bottom {
    padding: 16px 11px 16px 11px;
    border-top: none;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
}

.wiz-side-btn {
    width: 100%;
    height: 31px;
    background-color: #E5E5E5;
    border: 1px solid #b8b8b8;
    border-radius: 0;
    padding: 0 4px;
    font-size: 13px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #000000;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: background-color 0.15s, border-color 0.15s;
    user-select: none;
}

.wiz-side-btn:hover {
    background-color: #dcdcdc;
    border-color: #999999;
}

.wiz-side-btn:active {
    background-color: #d0d0d0;
}

.wiz-side-divider {
    border: none;
    border-top: 2px solid #b0bcc7;
    margin: 14px -11px;
    width: calc(100% + 22px);
    box-sizing: border-box;
}

/* --- Right Main Step Content Area --- */
.wiz-main-panel {
    flex: 1;
    min-width: 0;
    padding: 20px 24px 28px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    background-color: #ffffff;
}

.wiz-step-content {
    display: none;
    animation: subFadeIn 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.wiz-step-content.active {
    display: block;
}

.wiz-step-title,
.pnas-revdata-title,
.pnas-submitms-title {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    font-size: 25.5px !important;
    font-weight: 400 !important;
    color: #444444 !important;
    margin-top: 0 !important;
    margin-bottom: 40px !important;
    line-height: 1.2 !important;
}

.wiz-step-p,
.pnas-top-instruction,
.pnas-authors-intro-p,
.pnas-classif-intro-p,
.pnas-policy-intro-p,
.pnas-comments-desc,
.pnas-rev-intro-p,
.pnas-len-p,
.pnas-revfiles-intro-p,
.pnas-revdata-subtitle,
.pnas-submitms-desc,
.pnas-step-desc,
.pnas-classif-desc,
.pnas-keyword-desc,
.pnas-policy-desc,
.pnas-comments-subdesc,
.pnas-comments-subtext,
.pnas-email-lookup-desc,
.pnas-latex-intro,
.pnas-len-label,
.pnas-revdata-sub-desc,
.pnas-box-subtext,
.pnas-num-authors-label,
.pnas-num-authors-subtext,
.pnas-rev-subtext {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    font-style: italic !important;
    font-size: 13px !important;
    color: #333333 !important;
    line-height: 1.5 !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}

.wiz-step-p strong,
.pnas-top-instruction strong,
.pnas-authors-intro-p strong,
.pnas-classif-intro-p strong,
.pnas-policy-intro-p strong,
.pnas-comments-desc strong,
.pnas-rev-intro-p strong,
.pnas-len-p strong,
.pnas-revfiles-intro-p strong,
.pnas-revdata-subtitle strong,
.pnas-submitms-desc strong,
.pnas-step-desc strong,
.pnas-classif-desc strong,
.pnas-policy-desc strong,
.pnas-email-lookup-desc strong,
.pnas-latex-intro strong {
    font-weight: 700 !important;
    font-style: italic !important;
    color: #333333 !important;
}

.wiz-step-p a,
.pnas-top-instruction a,
.pnas-authors-intro-p a,
.pnas-classif-intro-p a,
.pnas-policy-intro-p a,
.pnas-comments-desc a,
.pnas-rev-intro-p a,
.pnas-len-p a,
.pnas-revfiles-intro-p a,
.pnas-revdata-subtitle a,
.pnas-submitms-desc a,
.pnas-link {
    color: #00558f !important;
    text-decoration: none !important;
    font-style: normal;
    cursor: pointer;
}

.wiz-step-p a:hover,
.pnas-top-instruction a:hover,
.pnas-authors-intro-p a:hover,
.pnas-classif-intro-p a:hover,
.pnas-policy-intro-p a:hover,
.pnas-comments-desc a:hover,
.pnas-rev-intro-p a:hover,
.pnas-len-p a:hover,
.pnas-revfiles-intro-p a:hover,
.pnas-revdata-subtitle a:hover,
.pnas-submitms-desc a:hover,
.pnas-link:hover {
    color: #003a66 !important;
    text-decoration: underline !important;
}

/* Dropzone & Browse */
.wiz-browse-row {
    margin: 14px 0 16px 0;
}

#browseFilesBtn,
#autoOrderBtn,
.wiz-auto-order-row button,
.reg-btn-default,
.pnas-btn-secondary,
.pnas-btn-classic,
.pnas-author-add-btn,
.pnas-board-btn,
.pnas-len-calc-btn,
.pnas-len-reset-btn {
    background: linear-gradient(180deg, #f8f8f8 0%, #e6e6e6 100%);
    border: 1px solid #7f9db9;
    border-radius: 2px;
    padding: 5px 24px;
    min-height: 29px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    color: #222222;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
    transition: background 0.15s, border-color 0.15s;
}

#browseFilesBtn:hover,
#autoOrderBtn:hover,
.wiz-auto-order-row button:hover,
.reg-btn-default:hover,
.pnas-btn-secondary:hover,
.pnas-btn-classic:hover,
.pnas-author-add-btn:hover,
.pnas-board-btn:hover,
.pnas-len-calc-btn:hover,
.pnas-len-reset-btn:hover {
    background: linear-gradient(180deg, #ffffff 0%, #ebebeb 100%);
    border-color: #557b9f;
}

#browseFilesBtn:active,
#autoOrderBtn:active,
.wiz-auto-order-row button:active,
.reg-btn-default:active,
.pnas-btn-secondary:active,
.pnas-btn-classic:active,
.pnas-author-add-btn:active,
.pnas-board-btn:active,
.pnas-len-calc-btn:active,
.pnas-len-reset-btn:active {
    background: linear-gradient(180deg, #e6e6e6 0%, #dcdcdc 100%);
    border-color: #446888;
}

.wiz-dropzone {
    border: 2px dashed #b5b5b5;
    border-radius: 8px;
    background-color: #ffffff;
    padding: 16px 14px;
    height: 86px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 14px;
}

.wiz-dropzone:hover,
.wiz-dropzone.dragover {
    border-color: #004b7a;
    background-color: #f7f9fc;
}

.wiz-drop-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 4px;
}

.wiz-drop-text {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 13px;
    color: #9c9c9c;
    font-weight: 700;
}

.wiz-auto-order-row {
    margin-bottom: 8px;
}

.wiz-warning-msg {
    color: #d92525;
    font-size: 12.5px;
    font-weight: 400;
    margin: 6px 0;
}

/* Uploaded Files Table */
.pnas-files-container {
    width: 100%;
    margin: 4px 0 16px 0;
    box-sizing: border-box;
}

.pnas-files-table-row {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid #b0bcc7;
    background-color: #ffffff;
    box-sizing: border-box;
}

.pnas-files-table-row td {
    border: 1px solid #b0bcc7;
    vertical-align: middle;
    padding: 5px 6px;
    box-sizing: border-box;
}

.pnas-td-file {
    width: 32%;
}

.pnas-file-cell-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pnas-pdf-icon-badge {
    width: 22px;
    height: 26px;
    background-color: #d92525;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 7.5px;
    font-weight: 900;
    letter-spacing: 0.5px;
    position: relative;
    flex-shrink: 0;
}

.pnas-pdf-icon-badge::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-bottom-left-radius: 2px;
}

.pnas-file-meta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pnas-file-name {
    font-size: 11.5px;
    color: #222222;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.pnas-file-size {
    font-size: 10px;
    color: #666666;
    margin-top: 1px;
}

.pnas-td-designation {
    width: 44%;
}

.pnas-file-desig-name {
    font-size: 11.5px;
    color: #222222;
    font-weight: 400;
}

.pnas-file-desig-meta {
    font-style: italic;
    font-size: 10px;
    color: #666666;
    margin-top: 2px;
}

.pnas-file-select-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

@keyframes pnasArrowBlink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1.1);
        color: #d92525;
        text-shadow: 0 0 4px rgba(217, 37, 37, 0.6);
    }

    50% {
        opacity: 0.2;
        transform: scale(1.45);
        color: #ff0000;
        text-shadow: 0 0 10px rgba(255, 0, 0, 0.9);
    }
}

.pnas-file-arrow {
    color: #d92525;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    display: inline-block;
}

.pnas-file-arrow.blink {
    animation: pnasArrowBlink 0.35s ease-in-out infinite alternate;
}

.pnas-file-type-label {
    font-size: 11.5px;
    color: #222222;
    white-space: nowrap;
}

.pnas-file-type-select {
    border: 1px solid #767676;
    border-radius: 2px;
    padding: 2px 4px;
    font-size: 11.5px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    width: 165px;
    cursor: pointer;
}

.pnas-file-type-select.invalid {
    border-color: #d92525;
    background-color: #fff2f2;
}

.pnas-td-spacer {
    width: 35px;
    background-color: #ffffff;
}

.pnas-td-actions {
    width: 140px;
    text-align: center;
}

.pnas-actions-flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.pnas-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: transparent;
    border: none;
    color: #222222;
    font-size: 9.5px;
    font-family: inherit;
    cursor: pointer;
    padding: 2px;
    transition: color 0.15s;
    user-select: none;
}

.pnas-action-btn:hover {
    color: #00416b;
}

.pnas-action-btn.delete:hover {
    color: #d92525;
}

.pnas-action-icon {
    width: 13px;
    height: 13px;
}

.wiz-step1-nav-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 36px;
    width: 100%;
}

/* Form Groups for Wizard Steps */
.wiz-form-group {
    margin-bottom: 16px;
}

.wiz-form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 5px;
}

.wiz-form-input {
    width: 100%;
    max-width: 840px;
    padding: 6px 10px;
    border: 1px solid #b2bac2;
    border-radius: 3px;
    font-size: 13px;
    font-family: inherit;
    color: #111111;
}

.wiz-form-input:focus,
.wiz-form-textarea:focus,
.wiz-form-select:focus {
    border-color: #1b74ba;
    outline: none;
    box-shadow: 0 0 0 2px rgba(27, 116, 186, 0.15);
}

.wiz-form-textarea {
    width: 100%;
    max-width: 840px;
    height: 120px;
    padding: 8px 10px;
    border: 1px solid #b2bac2;
    border-radius: 3px;
    font-size: 13px;
    font-family: inherit;
    color: #111111;
    resize: vertical;
}

.wiz-form-select {
    width: 100%;
    max-width: 550px;
    padding: 6px 10px;
    border: 1px solid #b2bac2;
    border-radius: 3px;
    font-size: 13px;
    font-family: inherit;
    color: #111111;
}

.wiz-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #222222;
    margin-bottom: 10px;
    cursor: pointer;
    line-height: 1.4;
}

.wiz-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

/* Bottom Navigation Row */
.wiz-nav-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    margin-top: 20px;
    border-top: 1px solid #e1e8ed;
}

.wiz-nav-next {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 600;
    color: #111111;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition: color 0.15s;
    background: transparent;
    border: none;
    font-family: inherit;
    padding: 6px 10px;
}

.wiz-nav-next:hover {
    color: #00416b;
}

.wiz-nav-prev {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: inherit;
}

.wiz-nav-prev:hover {
    color: #111111;
}

/* Step 2: Manuscript Title Exact Layout & Elements (Matching Screenshot) */
.pnas-top-instruction {
    font-style: italic;
    font-size: 12.5px;
    color: #333333;
    line-height: 1.45;
    margin-bottom: 20px;
}

/* Step 2: Field Sections & Red Shading */
.pnas-field-section {
    border: 1px solid transparent;
    padding: 8px 12px;
    margin-bottom: 14px;
    max-width: 780px;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.15s, border-color 0.15s;
}

.pnas-field-section.has-error {
    border: 1px solid #d92525;
    background-color: #fddddd;
    padding: 10px 12px;
}

.pnas-field-error-msg {
    display: none;
    color: #d92525;
    font-size: 12px;
    font-weight: 400;
    margin-top: 4px;
    margin-bottom: 2px;
}

.pnas-field-section.has-error .pnas-field-error-msg {
    display: block;
}

.pnas-step-label-row {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 2px;
}

.pnas-red-star {
    color: #d92525;
    font-weight: 700;
    font-size: 14px;
}

.pnas-field-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #111111;
}

.pnas-step-desc,
.pnas-classif-desc,
.pnas-keyword-desc,
.pnas-policy-desc,
.pnas-comments-subdesc,
.pnas-email-lookup-desc,
.pnas-latex-intro,
.pnas-len-label,
.pnas-revdata-sub-desc {
    font-style: italic;
    font-size: 13px !important;
    color: #333333 !important;
    line-height: 1.5 !important;
    margin-top: 3px;
    margin-bottom: 6px;
    max-width: 780px;
    width: 100%;
    box-sizing: border-box;
}

.pnas-step-textarea {
    width: 100%;
    max-width: 780px;
    border: 1px solid #767676;
    border-radius: 2px;
    padding: 6px 8px;
    font-size: 13px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    outline: none;
    resize: both;
    display: block;
    box-sizing: border-box;
}

.pnas-step-textarea:focus {
    border-color: #00416b;
}

.pnas-step-textarea.title {
    height: 82px;
}

.pnas-step-textarea.abstract {
    height: 130px;
}

.pnas-step-textarea.significance {
    height: 96px;
}

.pnas-step-textarea.invalid {
    border-color: #d92525;
    background-color: #fff2f2;
}

.pnas-counter-text {
    font-style: italic;
    font-size: 12px;
    color: #333333;
    text-align: right;
    max-width: 780px;
    width: 100%;
    margin-top: 3px;
    box-sizing: border-box;
}

.pnas-step-divider {
    border: none;
    border-top: 1px solid #c5d3de;
    margin: 20px 0 16px 0;
    max-width: 780px;
    width: 100%;
    box-sizing: border-box;
}

/* Centered Spaced Navigation Row (Previous & Next matching screenshot) */
.wiz-step2-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between !important;
    gap: 60px;
    padding: 34px 30px 10px 30px;
    margin-top: 25px;
    max-width: 780px;
    width: 100%;
    box-sizing: border-box;
}

.wiz-nav-circle-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 19px;
    font-family: inherit;
    font-weight: 500;
    color: #222222;
    padding: 6px 10px;
    transition: color 0.15s, transform 0.15s;
    user-select: none;
}

.wiz-nav-circle-btn:hover {
    color: #00416b;
    transform: scale(1.04);
}

.wiz-nav-circle-icon {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}

/* ==========================================================================
   STEP 3: AUTHORS STEP (Exact replica of PNAS eJournalPress screenshot)
   ========================================================================== */
.pnas-authors-intro-block {
    margin-bottom: 24px;
}

.pnas-authors-intro-p {
    font-style: italic;
    font-size: 13px;
    color: #333333;
    line-height: 1.5;
    margin-bottom: 8px;
}

.pnas-authors-intro-p a,
.pnas-link,
#stepContentAuthors a {
    color: #00558f !important;
    text-decoration: none !important;
    cursor: pointer;
}

.pnas-authors-intro-p a:hover,
.pnas-link:hover,
#stepContentAuthors a:hover {
    color: #003a66 !important;
    text-decoration: underline !important;
}

/* Email Lookup Section */
.pnas-email-lookup-sec {
    border-top: none;
    padding-top: 0;
    border-bottom: 1px solid #c5d3de;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.pnas-email-lookup-title {
    font-size: 12px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 2px;
}

.pnas-email-lookup-desc {
    font-style: italic;
    font-size: 13px;
    color: #333333;
    line-height: 1.5;
    margin-bottom: 6px;
}

.pnas-email-lookup-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pnas-email-lookup-input {
    width: 360px;
    max-width: calc(100% - 90px);
    height: 44px;
    border: 1px solid #767676;
    border-radius: 2px;
    padding: 4px 6px;
    font-size: 12px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    resize: both;
    box-sizing: border-box;
}

/* Change Number of Authors Row */
.pnas-num-authors-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    margin-bottom: 2px;
    font-size: 13px;
    font-style: italic;
    color: #222222;
}

.pnas-num-authors-label {
    font-style: italic;
    font-size: 13px;
    color: #222222;
}

.pnas-num-authors-input {
    width: 32px;
    padding: 2px 4px;
    border: 1px solid #767676;
    border-radius: 2px;
    text-align: center;
    font-size: 12px;
    font-family: inherit;
    background-color: #ffffff;
    color: #111111;
}

.pnas-num-authors-subtext {
    font-style: italic;
    font-size: 13px;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 12px;
}

.pnas-collapse-link-row {
    border-top: 1px solid #c5d3de;
    padding-top: 10px;
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 12px;
}

/* Author Master Table (Matching Reference Screenshot) */
.pnas-author-master-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-bottom: 14px;
    box-sizing: border-box;
}

.pnas-author-thead {
    background-color: #004a80;
    color: #ffffff;
}

.pnas-author-thead th {
    padding: 6px 8px;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    letter-spacing: 0.1px;
    color: #ffffff;
    vertical-align: middle;
    box-sizing: border-box;
}

.pnas-author-thead th:last-child {
    border-right: none;
}

/* Summary Row */
.pnas-author-summary-tr {
    background-color: #f9fbfd;
    transition: background-color 0.15s ease;
}

.pnas-author-summary-tr.has-error {
    background-color: #ffd0d0 !important;
}

.pnas-author-summary-tr td {
    padding: 6px 8px;
    border: none;
    font-size: 12px;
    color: #111111;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Move Control matching screenshot: ↕ arrow + 'move' text */
.pnas-move-control {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: move;
    user-select: none;
    line-height: 1;
    padding: 2px 4px;
}

.pnas-move-svg {
    width: 11px;
    height: 17px;
    fill: #111111;
    display: block;
}

.pnas-move-label {
    font-size: 9px;
    font-weight: 700;
    color: #111111;
    text-transform: lowercase;
    margin-top: 2px;
    line-height: 1;
}

/* Author order input: rounded white box */
.pnas-author-order-input {
    width: 26px;
    height: 28px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #ffffff;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    color: #111111;
    box-sizing: border-box;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.pnas-ca-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    cursor: pointer;
    user-select: none;
    color: #111111;
}

.pnas-ca-checkbox {
    width: 14px;
    height: 14px;
    accent-color: #0066cc;
    margin: 0;
    cursor: pointer;
}

.pnas-author-val-name {
    font-weight: normal;
    color: #111111;
}

.pnas-author-val-email,
.pnas-author-val-org {
    color: #111111;
}

/* Details Row */
.pnas-author-details-tr {
    background-color: #f9fbfd;
}

.pnas-author-details-tr.has-error {
    background-color: #ffd0d0 !important;
}

.pnas-author-details-tr td {
    padding: 2px 10px 14px 10px;
    border: none;
    border-bottom: 2px solid #ffffff;
}

.pnas-author-details-inner {
    width: 100%;
    box-sizing: border-box;
}

.pnas-author-warning-msg {
    color: #ff0000;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    margin: 6px 0 10px 4px;
}

.pnas-req-star {
    color: #ff0000;
    font-weight: 700;
    margin-right: 2px;
    font-size: 12px;
}

.pnas-orcid-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #a6ce39;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    margin-right: 3px;
    vertical-align: middle;
}

.pnas-author-error-text {
    color: #ff0000;
    font-size: 11px;
    font-style: normal;
    margin-top: 3px;
}

.pnas-name-triple-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pnas-name-input-col {
    display: flex;
    flex-direction: column;
}

.pnas-author-box-input {
    width: 100%;
    height: 28px;
    padding: 3px 6px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #ffffff;
    font-size: 12px;
    font-family: inherit;
    color: #111111;
    box-sizing: border-box;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.pnas-author-box-input:focus {
    outline: none;
    border-color: #00558f;
}

.pnas-find-person-btn {
    height: 28px;
    padding: 0 12px;
    background: #efefef;
    border: 1px solid #767676;
    border-radius: 3px;
    font-size: 12px;
    font-weight: normal;
    color: #111111;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    box-sizing: border-box;
    transition: background 0.15s;
}

.pnas-find-person-btn:hover {
    background: #e2e2e2;
}

.pnas-sublabel {
    font-style: italic;
    font-size: 10.5px;
    color: #777777;
    margin-top: 2px;
}

.pnas-author-fields-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pnas-author-field-row {
    display: flex;
    align-items: flex-start;
}

.pnas-author-field-label {
    width: 130px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #222222;
    line-height: 26px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    box-sizing: border-box;
}

.pnas-author-field-control {
    flex: 1;
    min-width: 0;
    line-height: 26px;
}

.pnas-author-input {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 12px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    box-sizing: border-box;
    height: 28px;
}

.pnas-author-input:focus {
    outline: none;
    border-color: #00558f;
}

.pnas-author-input.wide {
    width: 290px;
    max-width: 100%;
}

.pnas-author-select-list {
    border: 1px solid #ced4da;
    border-radius: 4px;
    width: 170px;
    font-size: 11px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    box-sizing: border-box;
    padding: 2px;
}

.pnas-contrib-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pnas-contrib-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #222222;
    cursor: pointer;
    user-select: none;
}

.pnas-contrib-item input[type="checkbox"] {
    margin: 0;
}

.pnas-contrib-other-textarea {
    width: 260px;
    height: 44px;
    border: 1px solid #767676;
    border-radius: 2px;
    padding: 3px 5px;
    font-size: 11px;
    font-family: inherit;
    margin-top: 3px;
    resize: both;
    display: block;
    box-sizing: border-box;
}

.pnas-author-bottom-actions {
    margin-top: 10px;
    padding-top: 6px;
    border-top: 1px solid #f2c0c0;
    font-size: 11px;
    color: #666666;
}

.pnas-add-author-row {
    margin-top: 10px;
    margin-bottom: 22px;
}

#stepContentAuthors .reg-btn-default {
    background: linear-gradient(180deg, #fefefe 0%, #e6e6e6 100%);
    border: 1px solid #767676;
    border-radius: 2px;
    padding: 1px 8px;
    font-size: 11px;
    font-family: inherit;
    color: #111111;
    cursor: pointer;
    line-height: 1.35;
    min-width: unset;
    box-shadow: inset 0 1px 0 #ffffff;
    user-select: none;
}

#stepContentAuthors .reg-btn-default:hover {
    background: linear-gradient(180deg, #f5f5f5 0%, #dadada 100%);
    border-color: #555555;
}

#stepContentAuthors .reg-btn-default:active {
    background: #d0d0d0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   STEP 4: MANUSCRIPT CLASSIFICATION STEP (Exact replica of PNAS screenshot)
   ========================================================================== */
.pnas-classif-intro-p {
    font-style: italic;
    font-size: 11.5px;
    color: #333333;
    line-height: 1.45;
    margin-bottom: 12px;
}

.pnas-classif-box-container {
    background-color: #ffd0d0;
    border: 1px solid #d92525;
    padding: 10px 14px 12px 14px;
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: background-color 0.2s, border-color 0.2s;
}

.pnas-classif-box-container.valid {
    background-color: #fafbfc;
    border-color: #c5d3de;
}

.pnas-classif-header {
    font-size: 11px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.pnas-classif-desc {
    font-style: italic;
    font-size: 13px !important;
    color: #222222;
    line-height: 1.5 !important;
    margin-bottom: 10px;
}

.pnas-major-links-row {
    font-size: 11px;
    margin-bottom: 8px;
    color: #555555;
}

.pnas-major-link {
    color: #1b74ba;
    text-decoration: underline;
    cursor: pointer;
    font-size: 11px;
}

.pnas-major-link:hover {
    color: #00416b;
}

.pnas-major-link.active {
    font-weight: 700;
    color: #00416b;
}

.pnas-dual-box-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 4px;
}

.pnas-dual-box-col {
    flex: 1;
    min-width: 0;
}

.pnas-classif-terms-box {
    width: 100%;
    height: 80px;
    border: 1px solid #b5a4a4;
    background-color: #ffd0d0;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 2px 0;
    border-radius: 1px;
}

.pnas-classif-terms-box.active-list {
    background-color: #ffffff;
    border-color: #767676;
}

.pnas-classif-box-container.valid .pnas-classif-terms-box {
    border-color: #b5c2cc;
    background-color: #ffffff;
}

.pnas-term-item {
    font-size: 11px;
    color: #111111;
    padding: 2px 8px;
    line-height: 1.35;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pnas-term-item:hover {
    background-color: #00416b;
    color: #ffffff;
}

.pnas-term-item.disabled {
    color: #888888;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

.pnas-selected-item {
    font-size: 11px;
    color: #111111;
    padding: 3px 8px;
    line-height: 1.35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #fcfcfc;
}

.pnas-selected-item-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pnas-selected-item-badge {
    font-size: 9.5px;
    font-weight: 700;
    color: #00416b;
    background-color: #e0ecf8;
    padding: 1px 4px;
    border-radius: 2px;
}

.pnas-selected-remove-btn {
    background: transparent;
    border: none;
    color: #d92525;
    font-size: 11px;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    font-weight: bold;
}

.pnas-selected-remove-btn:hover {
    color: #990000;
}

.pnas-box-subtext {
    font-style: italic;
    font-size: 13px !important;
    color: #555555;
    margin-top: 3px;
    line-height: 1.5 !important;
}

.pnas-box-subtext.right {
    text-align: right;
}

.pnas-classif-error-msg {
    color: #d92525;
    font-size: 10.5px;
    font-style: normal;
    margin-top: 6px;
}

.pnas-classif-divider {
    border-top: 1px solid #b0bcc7;
    margin: 22px 0 16px 0;
}

.pnas-keyword-sec {
    margin-bottom: 30px;
}

.pnas-keyword-title {
    font-size: 12px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 2px;
}

.pnas-keyword-desc {
    font-style: italic;
    font-size: 13px !important;
    color: #444444;
    margin-bottom: 10px;
    line-height: 1.5 !important;
}

.pnas-keyword-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pnas-keyword-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pnas-keyword-input {
    width: 140px;
    height: 26px;
    padding: 3px 8px;
    font-size: 11.5px;
    font-family: inherit;
    border: 1px solid #b5c2cc;
    border-radius: 4px;
    background-color: #ffffff;
    color: #111111;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.pnas-keyword-input:focus {
    border-color: #00416b;
    outline: none;
    box-shadow: 0 0 3px rgba(0, 65, 107, 0.3);
}

.pnas-keyword-input.invalid {
    border-color: #d92525;
    background-color: #fff8f8;
}

/* ==========================================================================
   STEP 5: EDITORIAL POLICIES STEP (Exact replica of PNAS screenshot)
   ========================================================================== */
.pnas-policy-intro-p {
    font-style: italic;
    font-size: 13px !important;
    color: #333333;
    line-height: 1.5 !important;
    margin-bottom: 14px;
}

.pnas-policy-sec {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #d5dfe7;
}

.pnas-policy-sec:last-of-type {
    border-bottom: none;
    margin-bottom: 24px;
    padding-bottom: 0;
}

.pnas-policy-header {
    font-size: 11.5px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.pnas-policy-desc {
    font-style: italic;
    font-size: 13px !important;
    color: #333333;
    line-height: 1.5 !important;
    margin-bottom: 8px;
}

.pnas-policy-q-title {
    font-size: 11px;
    font-weight: 700;
    color: #222222;
    margin-top: 6px;
    margin-bottom: 4px;
}

.pnas-policy-radio-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 6px;
}

.pnas-policy-radio-label {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 11px;
    color: #222222;
    cursor: pointer;
    user-select: none;
    line-height: 1.35;
}

.pnas-policy-radio-label input[type="radio"],
.pnas-policy-checkbox-label input[type="checkbox"] {
    margin: 1px 0 0 0;
    cursor: pointer;
    flex-shrink: 0;
}

.pnas-policy-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 11px;
    color: #222222;
    cursor: pointer;
    user-select: none;
    line-height: 1.35;
    margin-bottom: 5px;
}

.pnas-policy-reason-box {
    margin-left: 18px;
    margin-top: 5px;
    margin-bottom: 8px;
    display: none;
    box-sizing: border-box;
}

.pnas-policy-reason-box.active {
    display: block;
}

.pnas-policy-field-label {
    display: block;
    font-style: italic;
    font-size: 11px;
    color: #333333;
    margin-bottom: 3px;
}

.pnas-policy-input {
    width: 330px;
    max-width: 100%;
    height: 24px;
    border: 1px solid #7f9db9;
    border-radius: 2px;
    padding: 2px 5px;
    font-size: 11px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    box-sizing: border-box;
}

.pnas-policy-input:focus,
.pnas-policy-textarea:focus {
    border-color: #00416b;
    outline: 1px solid #00416b;
}

.pnas-policy-input.invalid,
.pnas-policy-textarea.invalid {
    border-color: #d92525 !important;
    outline: 1px solid #d92525 !important;
    background-color: #fff8f8;
}

.pnas-policy-textarea {
    width: 340px;
    max-width: 100%;
    height: 48px;
    border: 1px solid #7f9db9;
    border-radius: 2px;
    padding: 3px 5px;
    font-size: 11px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    box-sizing: border-box;
    resize: both;
}

.pnas-policy-list {
    margin: 4px 0 8px 18px;
    padding: 0;
    font-style: italic;
    font-size: 10.5px;
    color: #444444;
    line-height: 1.4;
}

.pnas-policy-list li {
    margin-bottom: 2px;
}

/* ==========================================================================
   STEP 6: AUTHOR COMMENTS STYLES (Exact Replica of Reference Screenshot)
   ========================================================================== */
.pnas-comments-sec-title {
    font-size: 11.5px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.pnas-req {
    color: #d92525;
    font-weight: 700;
}

.pnas-comments-desc {
    font-style: italic;
    font-size: 13px !important;
    color: #333333;
    line-height: 1.5 !important;
    margin-bottom: 8px;
}

.pnas-comments-subdesc {
    font-style: italic;
    font-size: 13px !important;
    color: #333333;
    margin-top: 6px;
    margin-bottom: 4px;
    line-height: 1.5 !important;
}

.pnas-field-sublabel {
    display: block;
    font-style: italic;
    font-size: 11px;
    color: #444444;
    margin-bottom: 3px;
}

.pnas-funders-table-wrap {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 8px;
    overflow-x: auto;
}

.pnas-funders-table {
    border-collapse: collapse;
    font-size: 11px;
}

.pnas-funders-table th {
    background-color: #00416b;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    text-align: left;
    padding: 5px 8px;
    border-right: 1px solid #ffffff;
    border-top: 1px solid #00416b;
    border-bottom: 1px solid #00416b;
    white-space: nowrap;
}

.pnas-funders-table th.pnas-th-empty {
    background: #ffffff !important;
    border: none !important;
}

.pnas-funders-table td {
    padding: 4px 6px;
    border: 1px solid #c5d3de;
    background-color: #ffffff;
    vertical-align: middle;
}

.pnas-funders-table td.pnas-td-actions {
    border: none !important;
    background: transparent !important;
    padding-left: 6px;
    padding-right: 0;
    vertical-align: middle;
}

.pnas-req-header {
    color: #ff4d4d;
    font-weight: 700;
    margin-left: 2px;
}

.pnas-funder-input,
.pnas-grant-input {
    width: 100%;
    height: 24px;
    border: 1px solid #7f9db9;
    border-radius: 2px;
    padding: 2px 6px;
    font-size: 11px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    box-sizing: border-box;
}

.pnas-funder-input:focus,
.pnas-grant-input:focus,
.pnas-comments-textarea:focus,
.pnas-initials-input:focus {
    border-color: #00416b;
    outline: 1px solid #00416b;
}

.pnas-funder-authors-select {
    width: 100%;
    height: 34px;
    border: 1px solid #7f9db9;
    border-radius: 0;
    padding: 1px 3px;
    font-size: 11px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    box-sizing: border-box;
}

.pnas-btn-clear {
    background: #ece9d8;
    border: 1px solid #7f9db9;
    border-radius: 2px;
    padding: 2px 8px;
    font-size: 11px;
    cursor: pointer;
    color: #000000;
    font-family: inherit;
    white-space: nowrap;
}

.pnas-btn-clear:hover {
    background: #dfdac8;
}

.pnas-btn-more-funders {
    background: #ece9d8;
    border: 1px solid #7f9db9;
    border-radius: 2px;
    padding: 2px 8px;
    font-size: 11px;
    cursor: pointer;
    color: #000000;
    font-family: inherit;
    margin-top: 8px;
    margin-bottom: 12px;
    display: inline-block;
}

.pnas-btn-more-funders:hover {
    background: #dfdac8;
}

.pnas-comments-label {
    font-size: 11px;
    font-weight: 700;
    color: #222222;
    display: block;
    margin-bottom: 4px;
}

.pnas-comments-textarea {
    width: 360px;
    max-width: 100%;
    height: 68px;
    border: 1px solid #7f9db9;
    border-radius: 2px;
    padding: 4px 6px;
    font-size: 11px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    box-sizing: border-box;
    resize: both;
    display: block;
}

.pnas-comments-subtext {
    font-style: italic;
    font-size: 13px !important;
    color: #555555;
    margin-top: 3px;
    line-height: 1.5 !important;
}

.pnas-section-divider {
    border: none;
    border-top: 1px solid #c5d3de;
    margin: 14px 0 12px 0;
}

.pnas-initials-input {
    width: 38px;
    height: 24px;
    border: 1px solid #7f9db9;
    border-radius: 2px;
    padding: 2px 4px;
    font-size: 11px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    box-sizing: border-box;
}

.pnas-sec-error {
    background-color: #fff0f0 !important;
    border: 1px solid #d92525 !important;
    padding: 10px 12px !important;
    border-radius: 2px !important;
    transition: all 0.2s ease-in-out;
}

/* ==========================================================================
   STEP 7: EDITORS AND REVIEWERS (Exact Replica of Reference Screenshot)
   ========================================================================== */
.pnas-rev-intro-p {
    font-style: italic;
    font-size: 13px !important;
    color: #333333;
    line-height: 1.5 !important;
    margin-bottom: 8px;
}

.pnas-rev-intro-p strong {
    font-weight: 700;
}

.pnas-rev-intro-p a {
    color: #00558f !important;
    text-decoration: none !important;
}

.pnas-rev-intro-p a:hover {
    color: #003a66 !important;
    text-decoration: underline !important;
}

.pnas-board-search-links {
    margin-top: 4px;
    margin-bottom: 6px;
    font-size: 11px;
    color: #333333;
}

.pnas-board-search-links a {
    color: #00558f !important;
    text-decoration: none !important;
    cursor: pointer;
}

.pnas-board-search-links a:hover {
    color: #003a66 !important;
    text-decoration: underline !important;
}

.pnas-board-dual-box-wrap {
    display: flex;
    gap: 16px;
    margin-top: 6px;
    margin-bottom: 3px;
}

.pnas-board-box-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pnas-board-select-box {
    width: 100%;
    height: 96px;
    border: 1px solid #7f9db9;
    background-color: #ffffff;
    font-size: 11px;
    font-family: inherit;
    color: #111111;
    box-sizing: border-box;
    padding: 2px;
    overflow-y: auto;
}

.pnas-board-select-box option {
    padding: 2px 4px;
    cursor: pointer;
}

.pnas-board-subtext-row {
    display: flex;
    justify-content: space-between;
    margin-top: 3px;
    font-style: italic;
    font-size: 13px !important;
    color: #555555;
    line-height: 1.5 !important;
}

.pnas-rev-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #7c98ad;
    font-size: 11px;
    margin-top: 6px;
    margin-bottom: 4px;
}

.pnas-rev-table th {
    background-color: #00416b;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    text-align: left;
    padding: 5px 8px;
    border-right: 1px solid #ffffff;
    border-top: 1px solid #00416b;
    border-bottom: 1px solid #00416b;
    white-space: nowrap;
}

.pnas-rev-table th:last-child {
    border-right: 1px solid #00416b;
}

.pnas-rev-table td {
    padding: 5px 8px;
    border: 1px solid #c5d3de;
    background-color: #ffffff;
    font-size: 11px;
    color: #111111;
    vertical-align: middle;
}

.pnas-rev-table td.empty-state {
    font-style: italic;
    color: #666666;
}

.pnas-rev-subtext {
    font-style: italic;
    font-size: 13px !important;
    color: #555555;
    margin-top: 3px;
    margin-bottom: 6px;
    line-height: 1.5 !important;
}

.pnas-btn-expert {
    background: #ece9d8;
    border: 1px solid #7f9db9;
    border-radius: 2px;
    padding: 2px 10px;
    font-size: 11px;
    cursor: pointer;
    color: #000000;
    font-family: inherit;
    display: inline-block;
    margin-top: 4px;
}

.pnas-btn-expert:hover {
    background: #dfdac8;
}

.pnas-expand-link {
    display: inline-block;
    font-size: 11px;
    color: #006699;
    text-decoration: underline;
    margin-top: 4px;
    margin-bottom: 6px;
    cursor: pointer;
}

/* ==========================================================================
   STEP 8: LENGTH ESTIMATE (Exact Replica of Reference Screenshot)
   ========================================================================== */
.pnas-len-p {
    font-style: italic;
    font-size: 11px;
    color: #333333;
    line-height: 1.45;
    margin-top: 0;
    margin-bottom: 11px;
}

.pnas-len-p strong {
    font-weight: 700;
}

.pnas-len-p a.pnas-link {
    color: #006699;
    text-decoration: underline;
    cursor: pointer;
}

.pnas-len-p a.pnas-link:hover {
    color: #00416b;
}

.pnas-len-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.2px solid #006699;
    color: #006699;
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
    cursor: pointer;
    margin-left: 3px;
    line-height: 1;
    user-select: none;
    vertical-align: middle;
}

.pnas-len-info-btn:hover {
    background-color: #e6f0fa;
}

.pnas-len-grid-wrap {
    width: 100%;
    max-width: 720px;
    margin-top: 4px;
    margin-bottom: 24px;
    box-sizing: border-box;
}

.pnas-len-col-header {
    text-align: right;
    font-weight: 700;
    font-size: 11px;
    color: #111111;
    padding-right: 6px;
    margin-bottom: 5px;
}

.pnas-len-sec-header {
    background-color: #f2f2f2;
    padding: 3.5px 8px;
    font-weight: 700;
    font-size: 11px;
    color: #222222;
    margin-top: 6px;
    margin-bottom: 2px;
    box-sizing: border-box;
}

.pnas-len-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    min-height: 32px;
    box-sizing: border-box;
}

.pnas-len-label {
    font-size: 11px;
    color: #222222;
    line-height: 1.35;
    padding-right: 15px;
    flex: 1;
}

.pnas-len-label strong {
    font-weight: 700;
}

.pnas-len-label em {
    font-style: italic;
}

.pnas-len-input-cell {
    width: 65px;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.pnas-len-input {
    width: 48px;
    height: 27px;
    border: 1px solid #c5d3de;
    border-radius: 4px;
    text-align: center;
    font-size: 11.5px;
    font-family: inherit;
    color: #111111;
    background-color: #ffffff;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.pnas-len-input:focus {
    border-color: #00416b;
    box-shadow: 0 0 0 1px #00416b;
}

.pnas-len-total-bar {
    background-color: #ffff00;
    padding: 5px 12px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 36px;
    font-weight: 700;
    font-size: 11px;
    color: #000000;
    margin-top: 10px;
    box-sizing: border-box;
}

.pnas-len-total-label {
    font-weight: 700;
}

.pnas-len-total-val {
    min-width: 40px;
    text-align: right;
    padding-right: 4px;
    font-weight: 700;
}

/* ==========================================================================
   PNAS EJOURNALPRESS SAVING OVERLAY (Exact Replica of Reference Screenshot)
   ========================================================================== */
.pnas-saving-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.28);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 152px;
    /* positioned at y=152px matching exact user screenshot */
    box-sizing: border-box;
    pointer-events: all;
}

.pnas-saving-card {
    background-color: #ffffff;
    border: 1px solid #444444;
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    width: 710px;
    max-width: 90%;
    height: 84px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
}

.pnas-saving-spinner {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    animation: pnas-spinner-rotate 1s steps(12, end) infinite;
}

@keyframes pnas-spinner-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.pnas-saving-text {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-style: italic;
    font-size: 13px;
    color: #555555;
    user-select: none;
    letter-spacing: normal;
}

/* ==========================================================================
   STEP 9: REVIEW FILES (Exact Replica of Reference Screenshot)
   ========================================================================== */
.pnas-revfiles-intro-p {
    font-style: italic;
    font-size: 11px;
    color: #333333;
    line-height: 1.45;
    margin-top: 0;
    margin-bottom: 12px;
}

.pnas-revfiles-table-wrap {
    width: 100%;
    max-width: 760px;
    margin-bottom: 24px;
}

.pnas-revfiles-table {
    width: 100%;
    border-collapse: collapse;
    background-color: transparent;
    box-sizing: border-box;
    margin-bottom: 6px;
    border: none;
}

.pnas-revfiles-table thead th {
    background-color: transparent;
    font-size: 11px;
    font-weight: 700;
    color: #333333;
    padding: 2px 6px 5px 6px;
    border: none;
}

.pnas-revfiles-table thead th.pnas-th-name {
    text-align: left;
    width: 58%;
    padding-left: 2px;
}

.pnas-revfiles-table thead th.pnas-th-files {
    text-align: center;
    width: 18%;
}

.pnas-revfiles-table thead th.pnas-th-approve {
    text-align: center;
    width: 12%;
}

.pnas-revfiles-table thead th.pnas-th-tools {
    text-align: center;
    width: 12%;
}

.pnas-revfiles-table tbody tr {
    background-color: #ffffff;
    border: 1px solid #b0bcc7;
}

.pnas-revfiles-table tbody td {
    border: 1px solid #b0bcc7;
    vertical-align: middle;
    padding: 5px 8px;
    box-sizing: border-box;
    background-color: #ffffff;
}

.pnas-rev-td-name {
    text-align: left;
}

.pnas-rev-file-title {
    font-weight: 700;
    font-size: 11.5px;
    color: #222222;
    margin-bottom: 1px;
}

.pnas-rev-file-sub {
    font-size: 10.5px;
    color: #444444;
    margin-bottom: 1px;
}

.pnas-rev-file-meta {
    font-style: italic;
    font-size: 10px;
    color: #666666;
}

.pnas-rev-td-pdf {
    text-align: center;
}

.pnas-acrobat-pdf-icon {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.12s;
}

.pnas-acrobat-pdf-icon:hover {
    transform: scale(1.08);
}

.pnas-rev-td-approve {
    text-align: center;
}

.pnas-rev-approve-chk {
    width: 14px;
    height: 14px;
    cursor: pointer;
    margin: 0;
    vertical-align: middle;
}

.pnas-rev-td-tools {
    text-align: center;
}

.pnas-btn-edit-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #e5e5e5;
    border: 1px solid #8c8c8c;
    border-radius: 2px;
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #111111;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s;
    user-select: none;
    margin-top: 6px;
}

.pnas-btn-edit-all:hover {
    background-color: #d6d6d6;
}

.pnas-latex-notice-block {
    margin-top: 36px;
    margin-bottom: 24px;
    max-width: 760px;
}

.pnas-latex-intro {
    font-style: italic;
    font-size: 13px !important;
    color: #333333;
    line-height: 1.5 !important;
    margin-bottom: 6px;
}

.pnas-latex-intro strong em {
    font-weight: 700;
    font-style: italic;
}

.pnas-latex-list {
    margin: 0 0 0 24px;
    padding: 0;
    list-style-type: disc;
    font-style: italic;
    font-size: 13px !important;
    color: #333333;
    line-height: 1.5 !important;
}

.pnas-latex-list li {
    margin-bottom: 4px;
}

/* ==========================================================================
   STEP 10: REVIEW DATA (Exact replica of PNAS eJournalPress screenshot)
   ========================================================================== */
.pnas-revdata-container {
    max-width: 680px;
    font-family: inherit;
    color: #222222;
}

.pnas-revdata-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: normal;
    color: #333333;
    margin: 0 0 4px 0;
}

.pnas-revdata-subtitle {
    font-size: 13px !important;
    font-style: italic;
    color: #333333;
    margin: 0 0 16px 0;
    line-height: 1.5 !important;
}

.pnas-revdata-divider {
    border: none;
    border-top: 1px solid #d5dfe7;
    margin: 12px 0;
    height: 1px;
}

.pnas-revdata-item {
    font-size: 11px;
    color: #333333;
    line-height: 1.45;
    margin-bottom: 10px;
}

.pnas-revdata-header {
    font-weight: 700;
    color: #222222;
    font-size: 11px;
    margin-bottom: 2px;
}

.pnas-revdata-req {
    color: #d92525;
    font-weight: 700;
    margin-right: 2px;
}

.pnas-revdata-body {
    color: #333333;
    font-size: 11px;
    line-height: 1.4;
    word-break: break-word;
}

.pnas-revdata-action {
    margin-top: 2px;
    font-size: 11px;
}

.pnas-revdata-link {
    color: #00558f !important;
    text-decoration: none !important;
    cursor: pointer;
    font-size: 11px;
    font-family: inherit;
    background: none;
    border: none;
    padding: 0;
}

.pnas-revdata-link:hover {
    color: #003a66 !important;
    text-decoration: underline !important;
}

.pnas-revdata-error-box {
    background-color: #fad4d4;
    border: 1px solid #fa9f9f;
    padding: 6px 10px 8px 10px;
    margin: 6px 0 10px 0;
    border-radius: 2px;
    font-size: 11px;
    line-height: 1.4;
}

.pnas-revdata-error-box .pnas-revdata-header {
    margin-bottom: 4px;
}

.pnas-revdata-err-msg {
    color: #d92525;
    font-size: 11px;
    line-height: 1.35;
    margin-top: 2px;
}

.pnas-revdata-author-line {
    font-size: 11px;
    color: #222222;
    line-height: 1.35;
}

.pnas-revdata-sub-q {
    margin-bottom: 8px;
    line-height: 1.35;
}

.pnas-revdata-sub-q:last-child {
    margin-bottom: 4px;
}

.pnas-revdata-sub-title {
    font-style: italic;
    font-size: 11px;
    color: #222222;
}

.pnas-revdata-sub-desc {
    font-style: italic;
    color: #444444;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 1px 0 2px 0;
}

@media (max-width: 860px) {
    .wiz-outer-container {
        padding: 20px 16px;
    }

    .wiz-card {
        flex-direction: column;
    }

    .wiz-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #7c98ad;
    }

    .wiz-main-panel {
        padding: 22px 18px;
    }
}

/* ==========================================================================
   STEP 11: SUBMIT MANUSCRIPT (Exact replica of PNAS eJournalPress screenshot)
   ========================================================================== */
.pnas-submitms-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: normal;
    color: #333333;
    margin: 0 0 14px 0;
}

.pnas-submitms-desc {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 13px;
    color: #333333;
    line-height: 1.45;
    margin: 0 0 18px 0;
    max-width: 660px;
}

.pnas-btn-classic {
    background: linear-gradient(180deg, #f8f8f8 0%, #e6e6e6 100%);
    border: 1px solid #ababab;
    border-radius: 3px;
    padding: 3px 10px;
    font-size: 11.5px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 500;
    color: #222222;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: background 0.15s, border-color 0.15s;
    user-select: none;
}

.pnas-btn-classic:hover {
    background: linear-gradient(180deg, #ffffff 0%, #dedede 100%);
    border-color: #888888;
}

.pnas-btn-classic:active {
    background: #d8d8d8;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   AUTHOR HOMEPAGE - POST SUBMISSION & LIVE MANUSCRIPTS
   ========================================================================== */
.author-home-approved-notice {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 13px;
    color: #222222;
    margin-bottom: 26px;
    line-height: 1.35;
    letter-spacing: normal;
}

.author-live-ms-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
}

.author-folder-icon {
    width: 17px;
    height: 14px;
    stroke: #006699;
    flex-shrink: 0;
}