/**
 * STRYKE WP — Page-Specific Admin Accents
 *
 * Accent color overrides ONLY for individual WordPress admin pages.
 * NO dark backgrounds — content stays in WP default light theme.
 */

/* ==========================================================================
   1. DASHBOARD (index.php) — Accent links
   ========================================================================== */

body.stryke-shell.index-php #dashboard_right_now li a {
    color: var(--stryke-primary);
}

body.stryke-shell.index-php #dashboard_activity .subsubsub a:hover {
    color: var(--stryke-primary);
}

/* ==========================================================================
   2. USER PROFILE — Password strength accent
   ========================================================================== */

body.stryke-shell #pass-strength-result.strong {
    border-color: var(--stryke-success);
    color: var(--stryke-success);
}

body.stryke-shell #pass-strength-result.short {
    border-color: var(--stryke-error);
    color: var(--stryke-error);
}

body.stryke-shell #destroy-sessions {
    color: var(--stryke-error);
    border-color: var(--stryke-error);
}

body.stryke-shell #destroy-sessions:hover {
    background: var(--stryke-error);
    color: #fff;
}

/* ==========================================================================
   3. MEDIA LIBRARY — Selection accent
   ========================================================================== */

body.stryke-shell.upload-php .attachment:hover {
    border-color: var(--stryke-primary);
}

body.stryke-shell.upload-php .attachment.selected {
    border-color: var(--stryke-primary);
    box-shadow: 0 0 0 2px var(--stryke-primary-alpha);
}

body.stryke-shell .upload-ui .browser {
    background: var(--stryke-primary);
    border-color: var(--stryke-primary);
    color: #fff;
}

body.stryke-shell .upload-ui .browser:hover {
    background: var(--stryke-primary-hover);
}

body.stryke-shell .media-toolbar-secondary .media-button-select {
    background: var(--stryke-primary);
    border-color: var(--stryke-primary);
    color: #fff;
}

/* ==========================================================================
   4. COMMENTS — Status accent
   ========================================================================== */

body.stryke-shell.edit-comments-php .comment-count-approved a {
    color: var(--stryke-primary);
}

body.stryke-shell .wp-list-table .unapproved .row-actions .approve a {
    color: var(--stryke-success);
}

body.stryke-shell #replysubmit .button-primary {
    background: var(--stryke-primary) !important;
    border-color: var(--stryke-primary) !important;
    color: #fff !important;
    text-shadow: none !important;
}

body.stryke-shell #replysubmit .cancel:hover {
    color: var(--stryke-error);
}

/* ==========================================================================
   5. SETTINGS — Permalink structure tags accent
   ========================================================================== */

body.stryke-shell.options-permalink-php .available-structure-tags code {
    cursor: pointer;
    transition: background 0.15s;
}

body.stryke-shell.options-permalink-php .available-structure-tags code:hover {
    background: var(--stryke-primary-alpha);
    color: var(--stryke-primary);
}

body.stryke-shell .form-table input[type="radio"] {
    accent-color: var(--stryke-primary);
}

/* ==========================================================================
   6. UPDATE CORE — Accent links
   ========================================================================== */

body.stryke-shell.update-core-php .update-link {
    color: var(--stryke-primary);
}

/* ==========================================================================
   7. PLUGIN INSTALL — Card accents
   ========================================================================== */

body.stryke-shell.plugin-install-php .plugin-card:hover {
    border-color: var(--stryke-primary);
}

body.stryke-shell.plugin-install-php .plugin-card .install-now,
body.stryke-shell.plugin-install-php .plugin-card .update-now,
body.stryke-shell.plugin-install-php .plugin-card .activate-now {
    background: var(--stryke-primary) !important;
    border-color: var(--stryke-primary) !important;
    color: #fff !important;
    text-shadow: none !important;
}

body.stryke-shell.plugin-install-php .plugin-card .install-now:hover,
body.stryke-shell.plugin-install-php .plugin-card .update-now:hover,
body.stryke-shell.plugin-install-php .plugin-card .activate-now:hover {
    background: var(--stryke-primary-hover) !important;
    border-color: var(--stryke-primary-hover) !important;
}

body.stryke-shell.plugin-install-php .wp-filter .filter-links .current {
    color: var(--stryke-primary);
    border-bottom-color: var(--stryke-primary);
}

body.stryke-shell.plugin-install-php .wp-filter .filter-links a:hover {
    color: var(--stryke-primary);
}

/* ==========================================================================
   8. THEMES — Active theme accent
   ========================================================================== */

body.stryke-shell.themes-php .theme-browser .theme:hover {
    border-color: var(--stryke-primary);
}

body.stryke-shell.themes-php .theme-browser .theme.active .theme-name {
    background: var(--stryke-primary);
    color: #fff;
}

body.stryke-shell.themes-php .theme-browser .theme .theme-actions .button {
    background: var(--stryke-primary) !important;
    border-color: var(--stryke-primary) !important;
    color: #fff !important;
    text-shadow: none !important;
}

/* WP Filter (theme/plugin shared) */
body.stryke-shell .wp-filter .filter-links .current {
    color: var(--stryke-primary);
    border-bottom: 2px solid var(--stryke-primary);
}

body.stryke-shell .wp-filter .filter-links a:hover {
    color: var(--stryke-primary);
}

/* Theme overlay accent */
body.stryke-shell .theme-overlay .close:hover {
    color: var(--stryke-error);
}

/* ==========================================================================
   9. SITE HEALTH — Status icons
   ========================================================================== */

body.stryke-shell .health-check-status-good .dashicons {
    color: var(--stryke-success);
}

body.stryke-shell .health-check-status-recommended .dashicons {
    color: var(--stryke-warning);
}

body.stryke-shell .health-check-status-critical .dashicons {
    color: var(--stryke-error);
}

body.stryke-shell.site-health-php .site-health-progress svg circle {
    stroke: var(--stryke-primary);
}

/* ==========================================================================
   10. USERS — Accent links
   ========================================================================== */

body.stryke-shell.users-php .column-name strong a {
    color: var(--stryke-primary);
    font-weight: 600;
}

body.stryke-shell.users-php .column-email a {
    color: var(--stryke-primary);
}

body.stryke-shell.users-php .num-posts a {
    color: var(--stryke-primary);
}

/* ==========================================================================
   11. PLUGINS LIST — Update message accent
   ========================================================================== */

body.stryke-shell.plugins-php .plugins tr.active + tr.plugin-update-tr .update-message {
    background: var(--stryke-primary-alpha);
    border-left: 4px solid var(--stryke-primary);
}

body.stryke-shell.plugins-php .plugins .update-message p::before {
    color: var(--stryke-primary);
}

body.stryke-shell.plugins-php .plugin-update-tr .update-message a {
    color: var(--stryke-primary);
}

/* ==========================================================================
   12. POST EDIT — TinyMCE toolbar accent
   ========================================================================== */

body.stryke-shell .mce-toolbar .mce-btn:hover {
    border-color: var(--stryke-primary);
}

body.stryke-shell .mce-toolbar .mce-btn.mce-active {
    background: var(--stryke-primary-alpha);
    border-color: var(--stryke-primary);
}

body.stryke-shell .quicktags-toolbar .ed_button:hover {
    color: var(--stryke-primary);
}
