/* Konoplja.org cookie controls, 2026-09-30. */
:root { --kocmp-bottom-space: 0px; }
body.kocmp-banner-visible { padding-bottom: var(--kocmp-bottom-space) !important; }
#kocmp, #kocmp-dialog, #kocmp-manage { box-sizing: border-box; font: 16px/1.5 Arial, Helvetica, sans-serif; color: #1d3025; text-align: left; }
#kocmp *, #kocmp-dialog * { box-sizing: border-box; }
#kocmp [hidden], #kocmp-dialog [hidden], #kocmp-manage[hidden] { display: none !important; }
#kocmp { position: fixed; z-index: 2147483645; bottom: 16px; left: 16px; right: 16px; max-width: 1220px; margin: 0 auto; padding: 20px 24px; border: 1px solid #b6c9bd; border-radius: 16px; background: #fffdf8; box-shadow: 0 8px 32px #11291f2b; display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr); gap: 24px; align-items: center; }
#kocmp[hidden] { display: none !important; }
#kocmp h2, #kocmp-dialog h2 { margin: 0 0 8px; padding: 0; border: 0; color: #174c35; font: bold 22px/1.25 Arial, Helvetica, sans-serif; text-transform: none; }
#kocmp p, #kocmp-dialog p { margin: 0 0 12px; font-size: 15px; line-height: 1.55; color: #1d3025; }
#kocmp .kocmp-actions, #kocmp-dialog .kocmp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#kocmp button, #kocmp-dialog button, #kocmp-manage { appearance: none; border: 2px solid #174c35; background: #174c35; color: #fff; border-radius: 8px; cursor: pointer; padding: 11px 14px; min-height: 46px; margin: 0; font: bold 15px/1.35 Arial, Helvetica, sans-serif; text-decoration: none; white-space: normal; height: auto; width: auto; box-shadow: none; }
#kocmp button:hover, #kocmp-dialog button:hover, #kocmp-manage:hover { background: #0e3624; border-color: #0e3624; color: #fff; }
#kocmp button:focus-visible, #kocmp-dialog button:focus-visible, #kocmp-dialog input:focus-visible, #kocmp-dialog summary:focus-visible, #kocmp-manage:focus-visible { outline: 3px solid #a96016; outline-offset: 3px; }
#kocmp button.kocmp-secondary, #kocmp-dialog button.kocmp-secondary { background: #fffdf8; color: #174c35; }
#kocmp button.kocmp-secondary:hover, #kocmp-dialog button.kocmp-secondary:hover { background: #edf4ed; }
#kocmp .kocmp-settings { grid-column: 1 / -1; }
#kocmp-dialog { z-index: 2147483647; margin: auto; padding: 0; border: 1px solid #b6c9bd; border-radius: 16px; background: #fffdf8; width: min(720px, calc(100vw - 28px)); max-width: none; max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 16px 60px #11291f4a; }
#kocmp-dialog::backdrop { background: #09231880; }
#kocmp-dialog .kocmp-dialog-inner { padding: 24px; }
#kocmp-dialog .kocmp-dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
#kocmp-dialog .kocmp-close { min-width: 76px; }
#kocmp-dialog .kocmp-category { background: #f1f5ed; border: 1px solid #cad9cb; border-radius: 10px; padding: 16px; margin: 16px 0; }
#kocmp-dialog .kocmp-category h3 { margin: 0 0 6px; font: bold 17px/1.4 Arial, Helvetica, sans-serif; color: #174c35; }
#kocmp-dialog .kocmp-category p { margin: 8px 0 0; }
#kocmp-dialog .kocmp-always { color: #365b43; font-size: 13px; }
#kocmp-dialog label { display: flex; align-items: center; gap: 12px; cursor: pointer; color: #174c35; font: bold 17px/1.4 Arial, Helvetica, sans-serif; }
#kocmp-dialog input[type=checkbox] { appearance: auto; width: 22px; height: 22px; margin: 0; accent-color: #174c35; flex: 0 0 22px; cursor: pointer; }
#kocmp-dialog details { margin: 18px 0; }
#kocmp-dialog summary { cursor: pointer; color: #174c35; font-weight: bold; padding: 10px 0; }
#kocmp-dialog .kocmp-table-wrap { overflow-x: auto; margin: 12px 0; }
#kocmp-dialog table { width: 100%; border-collapse: collapse; font-size: 13px; color: #1d3025; background: transparent; }
#kocmp-dialog th, #kocmp-dialog td { border: 1px solid #cad9cb; padding: 9px; vertical-align: top; text-align: left; color: #1d3025; background: transparent; }
#kocmp-dialog th { background: #edf4ed; font-weight: bold; }
#kocmp-dialog code { font-size: 12px; overflow-wrap: anywhere; color: #1d3025; }
#kocmp-dialog a { color: #174c35; text-decoration: underline; }
#kocmp-dialog .kocmp-save { width: 100%; margin-top: 10px; }
#kocmp-dialog .kocmp-reset { margin-top: 12px; }
#kocmp-dialog .kocmp-status { font-weight: bold; color: #365b43; }
#kocmp-dialog .kocmp-error { color: #9c2b1f; margin-top: 12px; }
#kocmp-manage { position: fixed; z-index: 2147483644; left: 12px; bottom: 12px; border-radius: 24px; padding: 9px 16px; min-height: 40px; font-size: 13px; box-shadow: 0 3px 14px #11291f24; }
@media (max-width: 900px) { #kocmp { grid-template-columns: 1fr; gap: 12px; padding: 18px; } #kocmp p { margin-bottom: 0; } }
@media (max-width: 480px) { #kocmp { left: 8px; right: 8px; bottom: 8px; padding: 15px; max-height: calc(100dvh - 24px); overflow: auto; border-radius: 12px; } #kocmp h2 { font-size: 20px; } #kocmp p { font-size: 14px; } #kocmp button { font-size: 14px; padding: 10px 8px; } #kocmp-dialog .kocmp-dialog-inner { padding: 18px; } #kocmp-dialog h2 { font-size: 21px; } }
@media print { #kocmp, #kocmp-dialog, #kocmp-manage { display: none !important; } body { padding-bottom: 0 !important; } }
