

/*
 * Owlry - Apex Aeon 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-aeon" in config
 */

:root {
    /* Core surfaces */
    --owlry-bg: #f1f3f7;
    --owlry-bg-secondary: #e7eaf0;
    --owlry-border: #c2c8d4;
    --owlry-text: #16181d;
    --owlry-text-secondary: #5c6270;

    /* Attention - primary accent (caret, selection, focus) is violet */
    --owlry-accent: #7c2fd6;
    --owlry-accent-bright: #8c3dd0;

    /* Provider badges - mapped to Apex v2 semantics */
    --owlry-badge-app: #0080a6;        /* Cyan: apps are informational */
    --owlry-badge-bookmark: #a86b00;   /* Amber: bookmarks need attention */
    --owlry-badge-calc: #8a5800;       /* Bright amber: calculator results */
    --owlry-badge-clip: #6a1fb8;       /* Purple: clipboard is special */
    --owlry-badge-cmd: #6a1fb8;        /* Purple: commands are elevated */
    --owlry-badge-dmenu: #00875a;      /* Green: dmenu is success/pipe */
    --owlry-badge-emoji: #6a1fb8;      /* Bright purple: emoji is special */
    --owlry-badge-file: #0e6e92;       /* Bright cyan: file search is active info */
    --owlry-badge-script: #006e49;     /* Bright green: scripts execute successfully */
    --owlry-badge-ssh: #0080a6;        /* Cyan: SSH is technical/info */
    --owlry-badge-sys: #c8003a;        /* Red: system actions are critical/danger */
    --owlry-badge-uuctl: #a86b00;      /* Amber: uuctl requires attention */
    --owlry-badge-web: #0080a6;        /* Cyan: web is informational */

    /* Widget badges */
    --owlry-badge-media: #6a1fb8;      /* Bright purple: media is special */
    --owlry-badge-weather: #0e6e92;    /* Bright cyan: weather is active info */
    --owlry-badge-pomo: #9e0030;       /* Alert red: pomodoro alarm */
}

.owlry-main {
    background-color: rgba(241, 243, 247, 0.98);
    border: 1px solid rgba(194, 200, 212, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8),
                0 0 0 1px rgba(124, 47, 214, 0.1);
}

.owlry-search {
    background-color: rgba(231, 234, 240, 0.9);
    border: 2px solid rgba(194, 200, 212, 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(124, 47, 214, 0.3);
}

.owlry-result-row:hover {
    background-color: rgba(231, 234, 240, 0.8);
}

.owlry-result-row:selected {
    background-color: rgba(124, 47, 214, 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, 128, 166, 0.15);
    color: var(--owlry-badge-app);
}

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

.owlry-badge-calc {
    background-color: rgba(138, 88, 0, 0.15);
    color: var(--owlry-badge-calc);
}

.owlry-badge-clip {
    background-color: rgba(106, 31, 184, 0.15);
    color: var(--owlry-badge-clip);
}

.owlry-badge-cmd {
    background-color: rgba(106, 31, 184, 0.15);
    color: var(--owlry-badge-cmd);
}

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

.owlry-badge-emoji {
    background-color: rgba(106, 31, 184, 0.15);
    color: var(--owlry-badge-emoji);
}

.owlry-badge-file {
    background-color: rgba(14, 110, 146, 0.15);
    color: var(--owlry-badge-file);
}

.owlry-badge-script {
    background-color: rgba(0, 110, 73, 0.15);
    color: var(--owlry-badge-script);
}

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

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

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

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

/* Widget badges */
.owlry-badge-media {
    background-color: rgba(106, 31, 184, 0.15);
    color: var(--owlry-badge-media);
}

.owlry-badge-weather {
    background-color: rgba(14, 110, 146, 0.15);
    color: var(--owlry-badge-weather);
}

.owlry-badge-pomo {
    background-color: rgba(158, 0, 48, 0.15);
    color: var(--owlry-badge-pomo);
}

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