/* 
 * Neon Glass Rofi Theme
 * Glassmorphic, transparent, blurred background with glowing accents.
 */

* {
    /* Using standard theme palette via env variables injected by home-manager,
       or fallback if testing independently. The whole-swap still gets the 
       colors injected into the RASI by the module! */
    background-color: transparent;
    text-color: var(text, #E0E6F0);
    font: "Inter 13";
}

window {
    width: 600px;
    /* transparent base with slight tint */
    background-color: rgba(11, 14, 20, 0.45);
    border: 1px;
    border-color: rgba(0, 240, 255, 0.3);
    border-radius: 24px;
    padding: 24px;
    /* Blur would be applied via hyprland layerrule for rofi */
}

mainbox {
    spacing: 16px;
}

inputbar {
    background-color: rgba(21, 26, 34, 0.5);
    border: 1px;
    border-color: rgba(0, 240, 255, 0.5);
    border-radius: 12px;
    padding: 12px 16px;
    spacing: 12px;
    children: [ prompt, entry ];
}

prompt {
    text-color: var(accent, #00F0FF);
}

entry {
    placeholder: "Search...";
    placeholder-color: var(subtext, #8F9BB3);
}

listview {
    lines: 7;
    spacing: 8px;
    scrollbar: true;
    border: 0px;
}

element {
    padding: 10px 16px;
    border-radius: 12px;
    spacing: 12px;
}

element normal.normal, element alternate.normal {
    background-color: transparent;
}

element selected.normal {
    background-color: rgba(0, 240, 255, 0.15);
    border: 1px;
    border-color: rgba(0, 240, 255, 0.4);
    text-color: var(accent, #00F0FF);
}

element-icon {
    size: 24px;
    background-color: transparent;
}

element-text {
    background-color: transparent;
    vertical-align: 0.5;
}

element-text selected {
    text-color: var(accent, #00F0FF);
}

scrollbar {
    width: 4px;
    handle-width: 4px;
    handle-color: rgba(0, 240, 255, 0.8);
    background-color: rgba(21, 26, 34, 0.5);
    border: 0px;
}
