/* PluginsBuy Manager — Global front-end styles (loaded on every page) */

/* ── Nav CTA buttons ───────────────────────────────────────────────────────── */

/*
 * These two <li> items are injected at the end of the theme's nav menu.
 * Goals:
 *   1. Font size + family must match the rest of the nav (Home, Plugins, etc.)
 *   2. The two buttons sit side-by-side with a small gap, no extra theme spacing
 *   3. Sign In = ghost/outline style,  Register Free = solid filled style
 */

li.pbm-nav-login-item,
li.pbm-nav-register-item {
    display:        inline-block !important;
    vertical-align: middle       !important;
    /* Collapse any theme-imposed left/right margin so the pair stays tight */
    margin-left:   2px !important;
    margin-right:  2px !important;
}

/* ── Sign In (ghost) ─────────────────────────────────────────────────────── */
li.pbm-nav-login-item > a,
a.pbm-nav-login {
    display:         inline-block     !important;
    vertical-align:  middle           !important;
    /* Inherit the theme's nav font so it looks identical to Home / Plugins */
    font-family:     inherit          !important;
    font-size:       inherit          !important;
    font-weight:     600              !important;
    line-height:     inherit          !important;
    color:           #244b8e          !important;
    text-decoration: none             !important;
    padding:         6px 14px         !important;
    border-radius:   6px              !important;
    border:          1.5px solid #244b8e !important;
    background:      transparent      !important;
    white-space:     nowrap           !important;
    box-shadow:      none             !important;
    transition:      background .15s, color .15s;
}
li.pbm-nav-login-item > a:hover,
a.pbm-nav-login:hover {
    background: #244b8e !important;
    color:      #fff    !important;
}

/* ── Register Free (solid) ───────────────────────────────────────────────── */
li.pbm-nav-register-item > a,
a.pbm-nav-register-cta {
    display:         inline-block     !important;
    vertical-align:  middle           !important;
    font-family:     inherit          !important;
    font-size:       inherit          !important;
    font-weight:     700              !important;
    line-height:     inherit          !important;
    color:           #fff             !important;
    text-decoration: none             !important;
    padding:         6px 16px         !important;
    border-radius:   6px              !important;
    background:      #244b8e          !important;
    border:          1.5px solid #244b8e !important;
    white-space:     nowrap           !important;
    box-shadow:      none             !important;
    transition:      background .15s, border-color .15s;
}
li.pbm-nav-register-item > a:hover,
a.pbm-nav-register-cta:hover {
    background:   #1a3a6e !important;
    border-color: #1a3a6e !important;
    color:        #fff    !important;
}
