/* ============================================================
   SeaOwl — GTK 4 theme
   ----------------------------------------------------------------
   Minimal override-only re-skin on top of Adwaita-dark. Keeps
   GTK's layout, spacing, and widget structure 100% intact — only
   retunes the colour palette so the desktop matches the SeaOwl
   brand cyan without forking the whole theme tree.

     - Window + sidebar backgrounds  (cool dark navy)
     - Headerbars                    (elevated navy, no gradient)
     - Buttons, switches, entries    (cyan focus ring when active)
     - Selection                     (brand cyan @ 30%)

   Install: drop into ~/.config/gtk-4.0/gtk.css
   Source:  github.com/rosnovsky/seaowl
   ============================================================ */

@define-color theme_bg_color          #0b0e17;
@define-color theme_fg_color          #cce8e5;
@define-color theme_base_color        #0f1420;
@define-color theme_text_color        #cce8e5;
@define-color theme_selected_bg_color #2dd4bf;
@define-color theme_selected_fg_color #0b0e17;

@define-color window_bg_color   #0b0e17;
@define-color window_fg_color   #cce8e5;
@define-color view_bg_color     #0f1420;
@define-color view_fg_color     #cce8e5;
@define-color headerbar_bg_color #111827;
@define-color headerbar_fg_color #cce8e5;
@define-color headerbar_border_color #1e2a38;
@define-color card_bg_color     #111827;
@define-color card_fg_color     #cce8e5;
@define-color popover_bg_color  #111827;
@define-color popover_fg_color  #cce8e5;
@define-color sidebar_bg_color  #0f1420;
@define-color sidebar_fg_color  #cce8e5;

@define-color accent_bg_color    #2dd4bf;
@define-color accent_fg_color    #0b0e17;
@define-color accent_color       #2dd4bf;

@define-color success_bg_color   #4ade80;
@define-color success_fg_color   #0b0e17;
@define-color success_color      #4ade80;
@define-color warning_bg_color   #fbbf24;
@define-color warning_fg_color   #0b0e17;
@define-color warning_color      #fbbf24;
@define-color error_bg_color     #f87171;
@define-color error_fg_color     #0b0e17;
@define-color error_color        #f87171;
@define-color destructive_bg_color #f87171;
@define-color destructive_fg_color #0b0e17;
@define-color destructive_color    #f87171;

@define-color borders       #1e2a38;
@define-color unfocused_borders #1e2a38;

window,
.background {
  background-color: #0b0e17;
  color: #cce8e5;
}

headerbar,
.titlebar {
  background-color: #111827;
  color: #cce8e5;
  border-bottom: 1px solid #1e2a38;
  box-shadow: none;
}

entry,
spinbutton {
  background-color: #0f1420;
  color: #cce8e5;
  border: 1px solid #1e2a38;
  border-radius: 6px;
}

entry:focus,
spinbutton:focus {
  border-color: #2dd4bf;
  outline: 2px solid rgba(45, 212, 191, 0.35);
  outline-offset: -1px;
}

button {
  background-color: #111827;
  color: #cce8e5;
  border: 1px solid #1e2a38;
  border-radius: 6px;
}

button:hover {
  background-color: #1e2a38;
}

button:active,
button:checked {
  background-color: #1a3040;
  color: #2dd4bf;
}

button.suggested-action {
  background-color: #2dd4bf;
  color: #0b0e17;
  border-color: #2dd4bf;
}

button.destructive-action {
  background-color: #f87171;
  color: #0b0e17;
  border-color: #f87171;
}

switch {
  background-color: #1e2a38;
  border-color: #1e2a38;
}

switch:checked {
  background-color: #2dd4bf;
  border-color: #2dd4bf;
}

switch:checked slider {
  background-color: #0b0e17;
}

check:checked,
radio:checked {
  background-color: #2dd4bf;
  color: #0b0e17;
  border-color: #2dd4bf;
}

selection,
*:selected {
  background-color: rgba(45, 212, 191, 0.30);
  color: #cce8e5;
}

scrollbar slider {
  background-color: #1e2a38;
  border-radius: 4px;
}

scrollbar slider:hover {
  background-color: #2dd4bf;
}

listview > row:selected,
row.activatable:selected {
  background-color: #1a3040;
  color: #2dd4bf;
}

row.activatable:hover {
  background-color: #1e2a38;
}

/* End. */
