/* Purple Theme Fix - Ensure all buttons and active states use the new purple color #C466FF */

/* More specific selectors with higher specificity */
html[data-theme=purple] .sb-search-submit,
html[data-theme=darkpurple] .sb-search-submit,
body[data-theme=purple] .sb-search-submit,
body[data-theme=darkpurple] .sb-search-submit {
    background: #C466FF !important;
    border-color: #C466FF !important;
}

/* Save entry buttons - more specific */
html[data-theme=purple] .save-entry-button,
html[data-theme=darkpurple] .save-entry-button,
body[data-theme=purple] .save-entry-button,
body[data-theme=darkpurple] .save-entry-button,
html[data-theme=purple] button.save-entry-button,
html[data-theme=darkpurple] button.save-entry-button {
    background: #C466FF !important;
    border-color: #C466FF !important;
}

/* Top signin button - more specific */
html[data-theme=purple] .top-signin,
html[data-theme=darkpurple] .top-signin,
body[data-theme=purple] .top-signin,
body[data-theme=darkpurple] .top-signin,
html[data-theme=purple] button.top-signin,
html[data-theme=darkpurple] button.top-signin {
    background: #C466FF !important;
    border-color: #C466FF !important;
}

/* Search buttons - more specific */
html[data-theme=purple] .search-button,
html[data-theme=darkpurple] .search-button,
body[data-theme=purple] .search-button,
body[data-theme=darkpurple] .search-button {
    background: #C466FF !important;
    border-color: #C466FF !important;
}

/* Form buttons - more specific */
html[data-theme=purple] .form-button,
[data-theme=darkpurple] .form-button {
    background: var(--primary-color, #C466FF) !important;
    border-color: var(--primary-color, #C466FF) !important;
}

/* Left navigation active links */
[data-theme=purple] .left-nav a:hover,
[data-theme=purple] .left-nav a.active,
[data-theme=darkpurple] .left-nav a:hover,
[data-theme=darkpurple] .left-nav a.active {
    background: var(--primary-color, #C466FF) !important;
    border-color: var(--primary-color, #C466FF) !important;
    color: #fff !important;
}

/* Watch later hover states */
[data-theme=purple] .watch_later:hover,
[data-theme=darkpurple] .watch_later:hover {
    background: var(--primary-color, #C466FF) !important;
    border-color: var(--primary-color, #C466FF) !important;
}

/* Button hover states */
[data-theme=purple] .save-entry-button:hover,
[data-theme=purple] .search-button:hover,
[data-theme=purple] .form-button:hover,
[data-theme=purple] .top-signin:hover,
[data-theme=darkpurple] .save-entry-button:hover,
[data-theme=darkpurple] .search-button:hover,
[data-theme=darkpurple] .form-button:hover,
[data-theme=darkpurple] .top-signin:hover {
    background: var(--secondary-color, #A844E8) !important;
    border-color: var(--secondary-color, #A844E8) !important;
}
