

/*
 * Owlry - Apex Neon Theme
 * v2 spine: red = danger · violet = attention · cyan = info
 *
 * A high-contrast theme built for focus and clinical clarity.
 * Color exists to signal STATE, not to decorate space.
 *
 * Author: S0wlz (Owlibou)
 *
 * Usage: Set theme = "apex-neon" in config
 */

:root {
    /* Core surfaces */
    --owlry-bg: #070709;
    --owlry-bg-secondary: #101218;
    --owlry-border: #262a34;
    --owlry-text: #e6e8ec;
    --owlry-text-secondary: #8b909c;

    /* Attention - primary accent (caret, selection, focus) is violet */
    --owlry-accent: #d68fff;
    --owlry-accent-bright: #b14dff;

    /* Provider badges - mapped to Apex v2 semantics */
    --owlry-badge-app: #00eaff;        /* Cyan: apps are informational */
    --owlry-badge-bookmark: #ffb700;   /* Amber: bookmarks need attention */
    --owlry-badge-calc: #ffd24d;       /* Bright amber: calculator results */
    --owlry-badge-clip: #9d00ff;       /* Purple: clipboard is special */
    --owlry-badge-cmd: #9d00ff;        /* Purple: commands are elevated */
    --owlry-badge-dmenu: #00ff99;      /* Green: dmenu is success/pipe */
    --owlry-badge-emoji: #c84dff;      /* Bright purple: emoji is special */
    --owlry-badge-file: #5af3ff;       /* Bright cyan: file search is active info */
    --owlry-badge-script: #2bffb2;     /* Bright green: scripts execute successfully */
    --owlry-badge-ssh: #00eaff;        /* Cyan: SSH is technical/info */
    --owlry-badge-sys: #ff0044;        /* Red: system actions are critical/danger */
    --owlry-badge-uuctl: #ffb700;      /* Amber: uuctl requires attention */
    --owlry-badge-web: #00eaff;        /* Cyan: web is informational */

    /* Widget badges */
    --owlry-badge-media: #c84dff;      /* Bright purple: media is special */
    --owlry-badge-weather: #5af3ff;    /* Bright cyan: weather is active info */
    --owlry-badge-pomo: #ff3b3b;       /* Alert red: pomodoro alarm */
}

.owlry-main {
    background-color: rgba(7, 7, 9, 0.98);
    border: 1px solid rgba(38, 42, 52, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8),
                0 0 0 1px rgba(214, 143, 255, 0.1);
}

.owlry-search {
    background-color: rgba(16, 18, 24, 0.9);
    border: 2px solid rgba(38, 42, 52, 0.8);
    color: var(--owlry-text);
    caret-color: var(--owlry-accent);
}

.owlry-search:focus {
    border-color: var(--owlry-accent);
    box-shadow: 0 0 0 2px rgba(214, 143, 255, 0.3);
}

.owlry-result-row:hover {
    background-color: rgba(16, 18, 24, 0.8);
}

.owlry-result-row:selected {
    background-color: rgba(214, 143, 255, 0.15);
    border-left: 3px solid var(--owlry-accent);
}

.owlry-result-row:selected .owlry-result-name {
    color: var(--owlry-accent-bright);
}

.owlry-result-row:selected .owlry-result-icon {
    color: var(--owlry-accent);
}

/* Provider badges - styled per Apex v2 semantics */
.owlry-badge-app {
    background-color: rgba(0, 234, 255, 0.15);
    color: var(--owlry-badge-app);
}

.owlry-badge-bookmark {
    background-color: rgba(255, 183, 0, 0.15);
    color: var(--owlry-badge-bookmark);
}

.owlry-badge-calc {
    background-color: rgba(255, 210, 77, 0.15);
    color: var(--owlry-badge-calc);
}

.owlry-badge-clip {
    background-color: rgba(157, 0, 255, 0.15);
    color: var(--owlry-badge-clip);
}

.owlry-badge-cmd {
    background-color: rgba(157, 0, 255, 0.15);
    color: var(--owlry-badge-cmd);
}

.owlry-badge-dmenu {
    background-color: rgba(0, 255, 153, 0.15);
    color: var(--owlry-badge-dmenu);
}

.owlry-badge-emoji {
    background-color: rgba(200, 77, 255, 0.15);
    color: var(--owlry-badge-emoji);
}

.owlry-badge-file {
    background-color: rgba(90, 243, 255, 0.15);
    color: var(--owlry-badge-file);
}

.owlry-badge-script {
    background-color: rgba(43, 255, 178, 0.15);
    color: var(--owlry-badge-script);
}

.owlry-badge-ssh {
    background-color: rgba(0, 234, 255, 0.15);
    color: var(--owlry-badge-ssh);
}

.owlry-badge-sys {
    background-color: rgba(255, 0, 68, 0.15);
    color: var(--owlry-badge-sys);
}

.owlry-badge-uuctl {
    background-color: rgba(255, 183, 0, 0.15);
    color: var(--owlry-badge-uuctl);
}

.owlry-badge-web {
    background-color: rgba(0, 234, 255, 0.15);
    color: var(--owlry-badge-web);
}

/* Widget badges */
.owlry-badge-media {
    background-color: rgba(200, 77, 255, 0.15);
    color: var(--owlry-badge-media);
}

.owlry-badge-weather {
    background-color: rgba(90, 243, 255, 0.15);
    color: var(--owlry-badge-weather);
}

.owlry-badge-pomo {
    background-color: rgba(255, 59, 59, 0.15);
    color: var(--owlry-badge-pomo);
}

/* Filter button - default uses the violet attention accent */
.owlry-filter-button:checked {
    background-color: rgba(214, 143, 255, 0.2);
    color: var(--owlry-accent);
    border-color: rgba(214, 143, 255, 0.5);
}