/* Top page status banner & permanent 3-column guide cards */
.next-step-banner {
    margin-top: 1.5rem;
    padding: 0.875rem 1rem;
    border-radius: 14px;
    border: 1px solid #b2dcde;
    background: linear-gradient(110deg, #cbeae9 0%, #cdedf1 50%, #d0f0fc 100%);
    -webkit-font-smoothing: auto;
}

.next-step-banner--limit {
    border-color: #c8d5ee;
    background: linear-gradient(110deg, #e9f0fc 0%, #ecf1fc 50%, #efeefb 100%);
}

.next-step-banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.next-step-banner-body {
    flex: 1 1 240px;
    min-width: 0;
    line-height: 1.55;
    text-align: start;
}

.next-step-banner-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
}

.next-step-banner-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.85);
    color: #2f776f;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
}

.next-step-banner--limit .next-step-banner-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #2c498d;
}

.next-step-banner-line1 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.5;
    color: #12302d;
}

.next-step-banner--limit .next-step-banner-line1 {
    color: #1a2849;
}

.next-step-banner-line2 {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.5;
    color: #1e4541;
}

.next-step-banner--limit .next-step-banner-line2 {
    color: #3b4c73;
}

.next-step-banner-actions {
    flex-shrink: 0;
}

.next-step-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    background-color: #2f776f;
    color: #ffffff !important;
    font-size: 0.84375rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    transition: background-color 0.15s ease;
}

.next-step-banner-chevron {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.next-step-banner-btn:hover,
.next-step-banner-btn:focus-visible {
    background-color: #25615a;
    color: #ffffff !important;
    text-decoration: none !important;
}

.next-step-banner--limit .next-step-banner-btn {
    background-color: #2e4f97;
}

.next-step-banner--limit .next-step-banner-btn:hover,
.next-step-banner--limit .next-step-banner-btn:focus-visible {
    background-color: #243f7a;
}

.next-step-banner-btn:focus-visible {
    outline: 2px solid #0b3d3b;
    outline-offset: 2px;
}

.next-step-banner-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    border: 1px solid #c8d5ee;
    background: rgba(255, 255, 255, 0.9);
    color: #2c498d;
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
}

.upload-guides-section {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    -webkit-font-smoothing: auto;
}

.upload-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.upload-guide-card {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #d8e6e4;
    background-color: #f8fcfb;
    text-align: start;
}

.upload-guide-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-top: 2px;
    border-radius: 9999px;
    background-color: #dff2ef;
    color: #1f645d;
}

.upload-guide-icon svg {
    width: 16px;
    height: 16px;
}

.upload-guide-content {
    min-width: 0;
}

.upload-guide-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    color: #222222;
}

.upload-guide-text {
    margin: 0.25rem 0 0;
    font-size: 0.84375rem;
    line-height: 1.6;
    color: #3f464d;
}

.upload-guide-text a {
    font-weight: 600;
    color: #1f645d;
    text-decoration: underline;
}

.upload-guide-text a:hover {
    color: #144540;
}

.upload-guide-sample {
    margin-top: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    font-size: 0.84375rem;
    color: #4b5563;
    text-align: center;
}

.upload-guide-sample-icon {
    display: inline-flex;
    color: #2f857d;
    flex-shrink: 0;
}

.upload-guide-sample a {
    font-weight: 600;
    color: #1f645d;
    text-decoration: underline;
}

.upload-guide-sample a:hover {
    color: #144540;
}

@media (max-width: 767.98px) {
    .next-step-banner {
        padding: 0.9375rem 1rem;
    }

    .next-step-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .next-step-banner-body {
        flex: 0 0 auto;
        width: 100%;
    }

    .next-step-banner-actions {
        width: 100%;
    }

    .next-step-banner-btn {
        width: 100%;
    }

    .next-step-banner-pill {
        width: auto;
    }

    .upload-guide-grid {
        grid-template-columns: 1fr;
        gap: 0.625rem;
    }

    .upload-guide-sample {
        font-size: 0.8125rem;
    }
}
