@font-face {
  font-family: 'unicons';
  src: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/unicons.eot');
  src: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/unicons.eot') format('embedded-opentype'),
       url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/unicons.woff2') format('woff2'),
       url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/unicons.woff') format('woff'),

  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.noprint{
       display:none;
}


:root {
	font-size: 20px;
	--red: #da2c4d;
	--yellow: #f8ab37;
	--green: #2ecc71;
	--white: #ffffff;
	--grey-light: #f2f7f9;
	--grey: #ecedf3;
	--black: #080808;
	--black-blue: #1f2029;
	--black-blue-light: #353746;
	--black-blue-light-2: #404255;
	--black-blue-light-3: #4b4d64;
	--black-light: #424455;
}

/* #Progress
================================================== */

.progress-wrap {
	position: fixed;
	right: 50px;
	bottom: 50px;
	height: 46px;
	width: 46px;
	cursor: pointer;
	display: block;
	border-radius: 50px;
	box-shadow: inset  0 0 0 2px rgba(255,255,255,0.2);
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(15px);
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap.active-progress {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.progress-wrap::after {
	position: absolute;
	font-family: 'unicons';
	content: '\e84b';
	text-align: center;
	line-height: 46px;
	font-size: 24px;
	color: var(--black-light);
	left: 0;
	top: 0;
	height: 46px;
	width: 46px;
	cursor: pointer;
	display: block;
	z-index: 1;
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap:hover::after {
	opacity: 1;
}

.progress-wrap:hover::before {
	opacity: 1;
}
.progress-wrap svg path { 
	fill: none; 
}
.progress-wrap svg.progress-circle path {
	stroke: var(--red);
	stroke-width: 4;
	box-sizing:border-box;
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.circle {
	cursor: pointer;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: -5px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--black-blue-light-3);
	box-shadow: 0 4px 4px rgba(26,53,71,0.25), 0 0 0 1px rgba(26,53,71,0.07);
	animation: border-transform 10s linear infinite alternate forwards;
}
.circle:hover {
	box-shadow: 0 8px 8px rgba(26,53,71,0.25), 0 0 0 1px rgba(26,53,71,0.07);
}

.circle:after {
	position: absolute;
	font-family: 'unicons';
	content: '\eb8f';
	top: 0;
	left: 0;
	z-index: 2;
	font-size: 20px;
	line-height: 40px;
	text-align: center;
	width: 100%;
	height: 40px;
	color: var(--yellow);
	opacity: 0;
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear; 
}
.switched {
}
.switched .circle {
	left: 45px;
	box-shadow: 0 4px 4px rgba(26,53,71,0.25), 0 0 0 1px rgba(26,53,71,0.07);
	background: var(--black-blue);
}
.switched .circle:hover {
	box-shadow: 0 8px 8px rgba(26,53,71,0.25), 0 0 0 1px rgba(26,53,71,0.07);
}
.switched .circle:before {
	opacity: 0;
}
.switched .circle:after {
	opacity: 1;
}

#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(73, 122, 255, .8);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgb(73, 122, 255);
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}
.search-highlight {
    animation: highlightPulse 2s ease-out;
    background-color: #fff3cd !important;
    transition: background-color 0.5s;
}

@keyframes highlightPulse {
    0% { background-color: #ffeaa7; }
    100% { background-color: #fff3cd; }
}
@media print {
    .copy-buttons, .copy-btn, .no-print, .navbar, .sidebar, .progress-wrap,
    #searchBox, #printPdfBtn, #searchInput, #searchResults, #searchCount {
        display: none !important;
    }
    .method-anchor {
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
        padding: 15px !important;
        box-shadow: none !important;
    }
}
/* --- Dugmad za kopiranje --- */
.method-anchor {
    position: relative;
    padding: 20px 60px 20px 20px; /* Dodat padding desno za dugmad */
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 2rem;
    background: #ffffff;
    transition: all 0.3s ease;
    min-height: 80px; /* Sprečava kolaps ako nema sadržaja */
}

.method-anchor:hover {
    border-color: #D24000;
    box-shadow: 0 4px 12px rgba(210, 64, 0, 0.1);
}

/* Grupa dugmadi – desno gore, ne preklapa tekst */
.copy-buttons {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.method-anchor:hover .copy-buttons {
    opacity: 1;
}

/* Pojedinačno dugme */
.copy-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.copy-btn:hover {
    background: #D24000;
    color: white;
    border-color: #D24000;
    transform: translateY(-1px);
}

.copy-btn.copied {
    background: #28a745 !important;
    color: white !important;
    border-color: #28a745 !important;
}

.copy-btn i {
    margin-right: 4px;
    font-size: 11px;
}
.copy-buttons {
    flex-direction: row;
    gap: 8px;
}

/* Responsive – na mobilnom dugmad idu jedno ispod drugog */
@media (max-width: 768px) {
    .method-anchor {
        padding: 16px 50px 16px 16px;
    }
    .copy-buttons {
        top: 8px;
        right: 8px;
        gap: 4px;
    }
    .copy-btn {
        font-size: 11px;
        padding: 4px 6px;
    }
}

/* FOOTER – HOVER EFEKTI I RESPONSIVE */
footer a {
    transition: color 0.2s ease;
}
footer a:hover {
    color: #D24000 !important;
}
footer strong {
    color: #495057 !important;
}
@media (max-width: 576px) {
    footer .row > div {
        text-align: center !important;
    }
    footer .text-md-end {
        text-align: center !important;
    }
}
#searchInput {
    width: 260px; padding: 10px 36px 10px 14px; font-size: 14px;
    border: 1px solid #ced4da; border-radius: 8px; transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
#searchInput:focus {
    width: 320px; border-color: #D24000; outline: none;
    box-shadow: 0 0 0 3px rgba(210,64,0,0.2);
}
.search-result-item:hover {
    background: #f8f9fa !important;
}
.result-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.result-item:hover {
    background: #f0f0f0;
}
.method-anchor {
    padding: 25px !important;
    margin: 30px 0 !important;
}
h3 {
    font-size: 22px !important;
    padding-top: 0 !important;
}
table {
    font-size: 15px !important;
}