/* MOSCAP Core asset — FluentSnippets "ARTIST ACTION BUTTONS (CSS)" (121-artist-action-buttons-css.php, run_at=wp_head)
   снипетээс 2026-11-22-нд нүүлгэсэн; includes/assets.php ачаална. Энэ толгойноос
   бусад код өөрчлөгдөөгүй.
*/

/* =============================================
   MOSCAP — Shared "action bar" buttons
   (.moscap-artist-btn / --excel / --list / --register)

   2026-08-29: this is a genuinely cross-page component (Excel-import /
   list / register-new buttons at the top of register-artist, work-
   register, artists-list, works-catalogue, performers-list, etc.) whose
   only styling used to live inside works-catalogue's and artists-list's
   own "page-specific" CSS snippets. Because every @type:css FluentSnippet
   actually loads site-wide (there's no is_page() gating available for
   CSS-type snippets), those two files were silently supplying this
   styling to EVERY page that used the buttons, not just their own —
   moving their content into each page's own Custom HTML block (per the
   2026-08-28 CSS-consolidation pass) broke the buttons on every OTHER
   page that had never had its own copy. Restoring it here as an actual
   shared snippet, since that's what it always structurally was.
============================================= */
.moscap-artist-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    font-family: 'Inter', sans-serif;
}
.moscap-artist-btn svg { width: 15px; height: 15px; }
.moscap-artist-btn--excel {
    background: #1D9E75;
    color: #fff !important;
    border: 2px solid #1D9E75;
}
.moscap-artist-btn--excel:hover {
    background: transparent;
    color: #1D9E75 !important;
    text-decoration: none;
}
.moscap-artist-btn--list {
    background: #0a1a2f;
    color: #fff !important;
    border: 2px solid #0a1a2f;
}
.moscap-artist-btn--list:hover {
    background: transparent;
    /* Was a literal dark navy (#0a1a2f) -- invisible once the page itself
       went dark in dark mode, since this hover state relies on contrast
       against whatever's behind the (now-transparent) button. Theme-aware
       tokens instead, so it stays readable (text AND the border it
       otherwise inherits from the base rule) in both modes. */
    color: var(--madm-text, #0a1a2f) !important;
    border-color: var(--madm-text, #0a1a2f) !important;
    text-decoration: none;
}
.moscap-artist-btn--register {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.3px;
    background: #006EB4;
    color: #fff !important;
    border: 2px solid #006EB4;
    transition: all 0.3s ease;
}
.moscap-artist-btn--register:hover {
    background: transparent;
    color: #006EB4 !important;
}
.moscap-artist-btn--register svg { width: 15px; height: 15px; }
