/**
 * Styling for the shared "Reconnect needed" panel rendered by
 * RWSyncCheck.renderPanel(). Lives alongside the JS so pages that include
 * the script also get the matching styles.
 *
 * The /my-team/ page has its own duplicate of these rules in my-team.css
 * (the in-page reconnect panel that switches tabs rather than navigating).
 * Both kept in sync visually.
 */
.rw-session-fix {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(251,191,36,0.06);
    border: 1px solid rgba(251,191,36,0.35);
    border-radius: 10px;
    align-items: flex-start;
    margin: 12px 0;
}
.rw-session-fix-icon {
    font-size: 1.6rem;
    line-height: 1.2;
    flex-shrink: 0;
}
.rw-session-fix-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rw-session-fix-title {
    font-family: 'Barlow', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #FBBF24;
}
.rw-session-fix-why {
    margin: 0;
    color: var(--rw-text, #F9FAFB);
    font-size: 0.92rem;
    line-height: 1.5;
}
.rw-session-fix-steps {
    margin: 4px 0 0;
    padding-left: 22px;
    color: var(--rw-text, #F9FAFB);
    font-size: 0.92rem;
    line-height: 1.55;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rw-session-fix-steps li::marker {
    color: #FBBF24;
    font-weight: 700;
}
.rw-session-fix-tip {
    margin: 0;
    font-size: 0.82rem;
    color: var(--rw-text-muted, #9CA3AF);
    font-style: italic;
}
.rw-session-fix-tip-inline {
    font-size: 0.85em;
    color: var(--rw-text-muted, #9CA3AF);
    font-style: italic;
    font-weight: 400;
}

/* Inline reference to a specific UI button the user should click. Visually
   distinct from plain bold so it's clear "this is the thing to click." */
.rw-session-fix-btn-ref {
    display: inline-block;
    padding: 1px 8px;
    margin: 0 1px;
    border-radius: 4px;
    background: rgba(45,212,191,0.13);
    color: #2DD4BF;
    font-weight: 700;
    font-size: 0.95em;
    white-space: nowrap;
    border: 1px solid rgba(45,212,191,0.35);
}

/* Capsule action button styled to match the rest of the site. We define it
   inline rather than relying on .rw-btn-primary since not every page that
   includes this stylesheet also defines that class globally. */
.rw-session-fix-btn {
    align-self: flex-start;
    margin-top: 4px;
    display: inline-block;
    padding: 10px 24px;
    background: var(--rw-gradient, linear-gradient(135deg, #0D9488, #7C3AED));
    color: #fff;
    border: none;
    border-radius: 999px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
    cursor: pointer;
}
.rw-session-fix-btn:hover,
.rw-session-fix-btn:focus {
    opacity: 0.92;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}
