/* Aproco branding — BookStack theme (themes/aproco). Kolory z ~/.claude/skills/aproco-docs. */

:root {
  --color-primary: #1F3864;       /* navy */
  --color-primary-light: #2E5BA0; /* blue */
  --color-primary-dark: #17284A;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3, h4, h5,
.page-content h1, .page-content h2, .page-content h3,
.logo,
.book-tree .list-item-name {
  font-family: 'Play', 'Inter', sans-serif;
}

/* Header */
#header {
  background-color: #1F3864 !important;
  border-bottom: 3px solid #4472C4;
}
#header a, #header .text-link, #header .logo, #header .header-links a {
  color: #FFFFFF !important;
}
#header .dropdown-menu a,
#header .dropdown-menu .text-link {
  color: #4A4A4A !important;
}
#header .dropdown-menu a:hover,
#header .dropdown-menu .text-link:hover {
  color: #FFFFFF !important;
}
#header input.search-box {
  background-color: rgba(255, 255, 255, 0.08);
}

/* Sidebar */
.sidebar-links a.selected,
.sidebar-links a:hover {
  color: #2E5BA0;
}

/* Links & primary actions */
a { color: #2E5BA0; }
a:hover { color: #1F3864; }

.button.primary,
.button-link.primary,
input[type=submit].button {
  background-color: #1F3864 !important;
  border-color: #1F3864 !important;
}
.button.primary:hover {
  background-color: #2E5BA0 !important;
}

/* Book/shelf grid covers — flat, no "archive" gradients */
.grid-card, .entity-list-item {
  border-radius: 6px;
}
.shelf-book-grid .grid-card .content-wrap,
.book-content .grid-card .content-wrap {
  border-top: 3px solid #4472C4;
}

/* Tables in page content, matches doc template look */
.page-content table th {
  background-color: #EBF3FB;
  color: #1F3864;
}

/* Callouts */
.callout.info { background-color: #EBF3FB; border-color: #2E5BA0; }
.callout.success { background-color: #E8F5E9; border-color: #1E7E34; }
.callout.warning { background-color: #FEF3E7; border-color: #E67E22; }

footer, .text-muted { color: #7F8C8D; }
