/* Django admin — Vazirmatn everywhere + brand theme (dark green / amber). */
:root, html[data-theme="light"], html[data-theme="auto"] {
  --primary: #1b5e20; --secondary: #2e7d32; --accent: #ffb300; --primary-fg: #fff;
  --header-bg: #1b5e20; --header-color: #e8f5e9; --header-link-color: #fff; --breadcrumbs-bg: #2e7d32; --breadcrumbs-fg: #e8f5e9; --breadcrumbs-link-fg: #fff;
  --link-fg: #1b6b2a; --link-hover-color: #0f3d17; --link-selected-fg: #1b5e20; --object-tools-bg: #2e7d32; --object-tools-hover-bg: #1b5e20;
  --button-bg: #2e7d32; --button-hover-bg: #1b5e20; --default-button-bg: #1b5e20; --default-button-hover-bg: #0f3d17; --selected-row: #fff8e1;
  --darkened-bg: #f6faf6; --hairline-color: #e1e8e1; --border-color: #d3ddd3; --message-success-bg: #e8f5e9; --message-warning-bg: #fff8e1;
  --font-family-primary: "Vazirmatn", Tahoma, sans-serif; --font-family-monospace: "Vazirmatn", Tahoma, sans-serif;
}
/* every element, pseudo-elements and widgets (selects, date pickers, filter sidebar, inlines, help text, tooltips) */
html, body, *, *::before, *::after { font-family: "Vazirmatn", Tahoma, sans-serif !important; }
body { font-size: 14.5px; line-height: 1.8; }
#header { background: linear-gradient(100deg, #0f3d17, #1b5e20 60%, #2a7a2f); box-shadow: 0 2px 12px rgba(15, 61, 23, .3); padding: 12px 40px; }
#site-name a { color: #fff !important; font-weight: 800; font-size: 20px; display: inline-flex; align-items: center; gap: 8px; }
#site-name img { width: 30px; height: 30px; border-radius: 9px; }
div.breadcrumbs { background: #2e7d32; }
.module { border-radius: 14px; overflow: hidden; border: 1px solid #e1e8e1; box-shadow: 0 1px 3px rgba(15, 61, 23, .06); }
.module h2, .module caption, .inline-group h2 { background: linear-gradient(#2e7d32, #1b5e20); font-weight: 700; }
.button, input[type=submit], input[type=button], .submit-row input, a.button { border-radius: 10px; font-weight: 700; }
.submit-row input.default { background: #1b5e20; }
input[type=text], input[type=password], input[type=email], input[type=url], input[type=number], textarea, select, .vTextField { border-radius: 8px; border: 1.5px solid #d3ddd3; padding: 6px 10px; }
input:focus, textarea:focus, select:focus { border-color: #2e7d32 !important; box-shadow: 0 0 0 3px rgba(46, 125, 50, .2); outline: 0; }
#changelist table thead th { background: #f7faf7; }
#changelist-filter { border-radius: 14px; overflow: hidden; }
.object-tools a { border-radius: 999px; }
.seify-nav { color: #c8e6c9 !important; margin-inline-start: 16px; text-decoration: none; font-weight: 600; }
.seify-nav:hover { color: #ffca28 !important; }
.seify-banner { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.seify-banner a { display: inline-flex; align-items: center; gap: 8px; background: #e8f5e9; border: 1px solid #a5d6a7; padding: 10px 16px; border-radius: 12px; text-decoration: none; color: #1b5e20; font-weight: 700; transition: all .15s; }
.seify-banner a:hover { background: #1b5e20; color: #fff; transform: translateY(-1px); }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-bottom: 24px; }
.rev-card { background: #fff; border: 1px solid #e1e8e1; border-radius: 14px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(15, 61, 23, .06); }
.rev-card span { display: block; color: #66756a; font-size: 12px; margin-bottom: 6px; }
.rev-card b { font-size: 17px; color: #1b5e20; }
.rev-table { width: 100%; } .bar { background: #e8ede8; height: 12px; border-radius: 6px; overflow: hidden; } .bar i { display: block; height: 100%; background: linear-gradient(90deg, #43a047, #1b5e20); }
.series { display: flex; gap: 14px; align-items: flex-end; margin: 16px 0 28px; }
.series .col { flex: 1; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.series .stick { height: 140px; background: #eef2ee; border-radius: 8px; display: flex; align-items: flex-end; overflow: hidden; }
.series .stick i { display: block; width: 100%; background: linear-gradient(#43a047, #2e7d32); }
.series em { font-size: 11px; color: #777; font-style: normal; }
