/* MODAL */
.modal { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.8); 
    z-index: 9999; 
    overflow-y: auto; 
}
.modal.active { display: block; }
.modal-content {
    background: white;
    width: 100%;
    min-height: 100vh;
    padding: 20px 15px;
    animation: slideUp 0.3s;
}
@keyframes slideUp { 
    from { transform: translateY(30px); opacity: 0; } 
    to { transform: translateY(0); opacity: 1; } 
}
.modal-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 15px; 
    padding-bottom: 10px; 
    border-bottom: 2px solid var(--border); 
}
.close-btn { 
    background: none; 
    border: none; 
    font-size: 2rem; 
    cursor: pointer; 
    color: var(--text-light);
    padding: 0 10px;
}

.modal-fixed-close {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: var(--primary-dark);
    color: white;
    border: 2px solid var(--accent);
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
}
.modal-fixed-close:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: white;
    transform: scale(1.1);
}

/* DOKAZI */
.dokaz-item {
    background: #ebf4ff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.dokaz-item h4 { color: var(--primary); margin: 0 0 5px; }
.dokaz-detaljno {
    margin-top: 10px;
    padding: 10px;
    background: #dbeafe;
    border-radius: 6px;
    font-size: 0.95rem;
}
.vise-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px 0;
    text-decoration: underline dotted;
    margin-top: 5px;
    display: inline-block;
}
.vise-btn:hover { color: var(--primary-dark); }